Debug info:
|
Error code: ddltablenotexist
|
Stack trace:
|
|
line 585 of /lib/dml/moodle_database.php: dml_exception thrown
|
line 1828 of /lib/dml/moodle_database.php: call to moodle_database->where_clause()
|
line 199 of /lib/adminlib.php: call to moodle_database->delete_records()
|
line 847 of /lib/classes/plugin_manager.php: call to uninstall_plugin()
|
line 99 of /admin/plugins.php: call to core_plugin_manager->uninstall_plugin()
|
|
Output buffer: <h2>block_xp</h2>
|
It seems pretty clear that the problem is due to a call to delete from scheduled_task and not task_scheduled.
adminlib.php
|
// Delete scheduled tasks.
|
$DB->delete_records('scheduled_task', array('component' => $pluginname));
|