Debug info: Unknown column 'target_category_id' in 'where clause' SELECT COUNT(1) FROM mdl_local_coursetransfer_request csr WHERE target_category_id = ? AND direction = ? AND type = ? -- line 1687 of /lib/dml/moodle_database.php: call to mysqli_native_moodle_database->get_records_sql() -- line 226 of /lib/table/classes/sql_table.php: call to core_table\sql_table->query_db() -- line 118 of /local/coursetransfer/classes/output/origin_restore_category/origin_restore_category_page.php: call to core_table\sql_table->out() -- line 85 of /local/coursetransfer/classes/output/origin_restore_category/origin_restore_category_page.php: call to local_coursetransfer\output\origin_restore_category\origin_restore_category_page->get_restore_table() -- line 274 of /local/coursetransfer/classes/output/renderer.php: call to local_coursetransfer\output\origin_restore_category\origin_restore_category_page->export_for_template() -- line 78 of /lib/classes/output/plugin_renderer_base.php: call to local_coursetransfer\output\renderer->render_origin_restore_category_page() -- line 86 of /local/coursetransfer/origin_restore_category.php: call to core\output\plugin_renderer_base->render() [array ( 0 => '82', 1 => 0, 2 => 1, )] 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 1760 of /lib/dml/moodle_database.php: call to moodle_database->get_record_sql()
line 1985 of /lib/dml/moodle_database.php: call to moodle_database->get_field_sql()
line 164 of /lib/table/classes/sql_table.php: call to moodle_database->count_records_sql()
line 226 of /lib/table/classes/sql_table.php: call to core_table\sql_table->query_db()
line 118 of /local/coursetransfer/classes/output/origin_restore_category/origin_restore_category_page.php: call to core_table\sql_table->out()
line 85 of /local/coursetransfer/classes/output/origin_restore_category/origin_restore_category_page.php: call to local_coursetransfer\output\origin_restore_category\origin_restore_category_page->get_restore_table()
line 274 of /local/coursetransfer/classes/output/renderer.php: call to local_coursetransfer\output\origin_restore_category\origin_restore_category_page->export_for_template()
line 78 of /lib/classes/output/plugin_renderer_base.php: call to local_coursetransfer\output\renderer->render_origin_restore_category_page()
line 86 of /local/coursetransfer/origin_restore_category.php: call to core\output\plugin_renderer_base->render()