Debug info: MySQL server has gone away
SELECT * FROM mdl_grade_items WHERE courseid = ? AND itemtype = ? AND itemmodule = ? AND iteminstance = ? AND itemnumber = ?
[array (
0 => '232',
1 => 'mod',
2 => 'quiz',
3 => '4580',
4 => '0',
)]
Error code: dmlreadexception
SELECT * FROM mdl_grade_items WHERE courseid = ? AND itemtype = ? AND itemmodule = ? AND iteminstance = ? AND itemnumber = ?
[array (
0 => '232',
1 => 'mod',
2 => 'quiz',
3 => '4580',
4 => '0',
)]
Error code: dmlreadexception
Stack trace:
- line 494 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 1221 of /lib/dml/mysqli_native_moodle_database.php: call to mysqli_native_moodle_database->query_end()
- line 1402 of /lib/dml/moodle_database.php: call to mysqli_native_moodle_database->get_recordset_sql()
- line 220 of /lib/grade/grade_object.php: call to moodle_database->get_recordset_select()
- line 160 of /lib/grade/grade_object.php: call to grade_object::fetch_all_helper()
- line 367 of /lib/grade/grade_item.php: call to grade_object::fetch_helper()
- line 779 of /lib/completionlib.php: call to grade_item::fetch()
- line 1175 of /lib/completionlib.php: call to completion_info->get_grade_completion()
- line 1217 of /lib/completionlib.php: call to completion_info->get_core_completion_state()
- line 1073 of /lib/completionlib.php: call to completion_info->get_other_cm_completion_data()
- line 70 of /completion/classes/cm_completion_details.php: call to completion_info->get_data()
- line 286 of /completion/classes/cm_completion_details.php: call to core_completion\cm_completion_details->__construct()
- line 203 of /course/format/classes/output/local/content/cm.php: call to core_completion\cm_completion_details::get_instance()
- line 118 of /course/format/classes/output/local/content/cm.php: call to core_courseformat\output\local\content\cm->add_completion_data()
- line 107 of /course/format/classes/output/local/content/section/cmitem.php: call to core_courseformat\output\local\content\cm->export_for_template()
- line 122 of /course/format/classes/output/local/content/section/cmlist.php: call to core_courseformat\output\local\content\section\cmitem->export_for_template()
- line 225 of /course/format/classes/output/local/content/section.php: call to core_courseformat\output\local\content\section\cmlist->export_for_template()
- line 156 of /course/format/classes/output/local/content/section.php: call to core_courseformat\output\local\content\section->add_cm_data()
- line 46 of /course/format/topics/classes/output/courseformat/content/section.php: call to core_courseformat\output\local\content\section->export_for_template()
- line 161 of /course/format/classes/output/local/content.php: call to format_topics\output\courseformat\content\section->export_for_template()
- line 86 of /course/format/classes/output/local/content.php: call to core_courseformat\output\local\content->export_sections()
- line 504 of /lib/outputrenderers.php: call to core_courseformat\output\local\content->export_for_template()
- line 108 of /course/format/classes/output/section_renderer.php: call to plugin_renderer_base->render()
- line 60 of /course/format/topics/format.php: call to core_courseformat\output\section_renderer->render()
- line 284 of /course/view.php: call to require()