-
Bug
-
Resolution: Duplicate
-
Major
-
None
-
2.7.1
-
None
-
2.7.1 (2014051401)
-
MOODLE_27_STABLE
Trying to uninstall the side bar plugin in the manage blocks page displays an error message and the plugin is not uninstalled.
Table "course_sections_availability" does not exist
|
|
More information about this error
|
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 290 of /blocks/side_bar/block_side_bar.php: call to moodle_database->delete_records()
|
line 2048 of /lib/blocklib.php: call to block_side_bar->instance_delete()
|
line 160 of /lib/classes/plugininfo/block.php: call to blocks_delete_instance()
|
line 188 of /lib/adminlib.php: call to core\plugininfo\block->uninstall_cleanup()
|
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()
|
The plugin seems to try to delete records in tables that do not exist. Lines 290 291 in block_side_bar.php:
$DB->delete_records('course_sections_availability', array('coursesectionid' => $this->config->section_id));
|
$DB->delete_records('course_sections_avail_fields', array('coursesectionid' => $this->config->section_id));
|
- will be (partly) resolved by
-
CONTRIB-5815 Tables course_sections_availability etc no longer exist
-
- Open
-