Error reading from database
Debug info: Server shutdown in progress
SELECT * FROM mdl_modcontext WHERE id = ?
[array (
0 => '104',
)]
Error code: dmlreadexception
Stack trace:
- line 497 of \lib\dml\moodle_database.php: dml_read_exception thrown
- line 293 of \lib\dml\moodle_read_slave_trait.php: call to moodle_database->query_end()
- line 1364 of \lib\dml\mysqli_native_moodle_database.php: call to mysqli_native_moodle_database->query_end()
- line 1687 of \lib\dml\moodle_database.php: call to mysqli_native_moodle_database->get_records_sql()
- line 1659 of \lib\dml\moodle_database.php: call to moodle_database->get_record_sql()
- line 1638 of \lib\dml\moodle_database.php: call to moodle_database->get_record_select()
- line 482 of \lib\classes\context.php: call to moodle_database->get_record()
- line 966 of \lib\classes\context.php: call to core\context::instance_by_id()
- line 725 of \lib\classes\context.php: call to core\context->get_parent_context()
- line 726 of \lib\classes\context.php: call to core\context->is_locked()
- line 301 of \lib\classes\context.php: call to core\context->is_locked()
- line 2746 of \course\classes\category.php: call to core\context->__get()
- line 48 of \cache\classes\cached_object.php: call to core_course_category->prepare_to_cache()
- line 866 of \cache\classes\cache.php: call to core_cache\cached_object->__construct()
- line 816 of \cache\classes\cache.php: call to core_cache\cache->set_implementation()
- line 268 of \course\classes\category.php: call to core_cache\cache->set()
- line 38 of \course\index.php: call to core_course_category::get()
Error reading from database
Debug info: MySQL server has gone away
SELECT f.filter, fc.name, fc.value
FROM mdl_modfilter_active f
LEFT JOIN mdl_modfilter_config fc
ON fc.filter = f.filter
AND fc.contextid = f.contextid
WHERE f.contextid = ?
AND f.active != ?
ORDER BY f.sortorder
[array (
0 => 1,
1 => -9999,
)]
Error code: dmlreadexception
Stack trace:
- line 497 of \lib\dml\moodle_database.php: dml_read_exception thrown
- line 293 of \lib\dml\moodle_read_slave_trait.php: call to moodle_database->query_end()
- line 1303 of \lib\dml\mysqli_native_moodle_database.php: call to mysqli_native_moodle_database->query_end()
- line 321 of \lib\filterlib.php: call to mysqli_native_moodle_database->get_recordset_sql()
- line 289 of \filter\classes\filter_manager.php: call to filter_get_globally_enabled_filters_with_config()
- line 1879 of \lib\pagelib.php: call to core_filters\filter_manager->setup_page_for_globally_available_filters()
- line 108 of \lib\classes\output\bootstrap_renderer.php: call to moodle_page->initialise_theme_and_output()
- line 179 of \lib\setuplib.php: call to core\output\bootstrap_renderer->__call()
- line ? of unknownfile: call to default_exception_handler()