Info kursus
Info awakutu: Unknown column 'c.shared' in 'SELECT'
SELECT f.*, c.name AS category_name, c.description AS category_description, c.descriptionformat AS category_descriptionformat, c.component AS category_component, c.area AS category_area, c.itemid AS category_itemid, c.contextid AS category_contextid, c.sortorder AS category_sortorder, c.shared AS category_shared, c.id AS category_id, c.timecreated AS category_timecreated
FROM mdl_customfield_category c
LEFT JOIN mdl_customfield_field f ON c.id = f.categoryid AND f.type IN (?,?,?,?,?,?)
WHERE c.component = ? AND c.area = ? AND c.itemid = ?
ORDER BY c.sortorder, f.sortorder
-- line 392 of /public/customfield/classes/api.php: call to mysqli_native_moodle_database->get_recordset_sql()
-- line 528 of /public/customfield/classes/handler.php: call to core_customfield\api::get_categories_with_fields()
-- line 852 of /public/customfield/classes/handler.php: call to core_customfield\handler->get_categories_with_fields()
-- line 870 of /public/customfield/classes/handler.php: call to core_customfield\handler->get_fields()
-- line 413 of /public/customfield/classes/handler.php: call to core_customfield\handler->get_visible_fields()
-- line 210 of /public/course/classes/list_element.php: call to core_customfield\handler->get_instance_data()
-- line 221 of /public/course/classes/list_element.php: call to core_course_list_element->get_custom_fields()
-- line 592 of /public/course/renderer.php: call to core_course_list_element->has_custom_fields()
-- line 622 of /public/course/renderer.php: call to core_course_renderer->course_custom_fields()
-- line 480 of /public/course/renderer.php: call to core_course_renderer->coursecat_coursebox_content()
-- line 86 of /public/course/renderer.php: call to core_course_renderer->coursecat_coursebox()
-- line 76 of /public/course/info.php: call to core_course_renderer->course_info_box()
[array (
0 => 'checkbox',
1 => 'date',
2 => 'number',
3 => 'select',
4 => 'text',
5 => 'textarea',
6 => 'core_course',
7 => 'course',
8 => 0,
)]
Error code: dmlreadexception
SELECT f.*, c.name AS category_name, c.description AS category_description, c.descriptionformat AS category_descriptionformat, c.component AS category_component, c.area AS category_area, c.itemid AS category_itemid, c.contextid AS category_contextid, c.sortorder AS category_sortorder, c.shared AS category_shared, c.id AS category_id, c.timecreated AS category_timecreated
FROM mdl_customfield_category c
LEFT JOIN mdl_customfield_field f ON c.id = f.categoryid AND f.type IN (?,?,?,?,?,?)
WHERE c.component = ? AND c.area = ? AND c.itemid = ?
ORDER BY c.sortorder, f.sortorder
-- line 392 of /public/customfield/classes/api.php: call to mysqli_native_moodle_database->get_recordset_sql()
-- line 528 of /public/customfield/classes/handler.php: call to core_customfield\api::get_categories_with_fields()
-- line 852 of /public/customfield/classes/handler.php: call to core_customfield\handler->get_categories_with_fields()
-- line 870 of /public/customfield/classes/handler.php: call to core_customfield\handler->get_fields()
-- line 413 of /public/customfield/classes/handler.php: call to core_customfield\handler->get_visible_fields()
-- line 210 of /public/course/classes/list_element.php: call to core_customfield\handler->get_instance_data()
-- line 221 of /public/course/classes/list_element.php: call to core_course_list_element->get_custom_fields()
-- line 592 of /public/course/renderer.php: call to core_course_list_element->has_custom_fields()
-- line 622 of /public/course/renderer.php: call to core_course_renderer->course_custom_fields()
-- line 480 of /public/course/renderer.php: call to core_course_renderer->coursecat_coursebox_content()
-- line 86 of /public/course/renderer.php: call to core_course_renderer->coursecat_coursebox()
-- line 76 of /public/course/info.php: call to core_course_renderer->course_info_box()
[array (
0 => 'checkbox',
1 => 'date',
2 => 'number',
3 => 'select',
4 => 'text',
5 => 'textarea',
6 => 'core_course',
7 => 'course',
8 => 0,
)]
Error code: dmlreadexception
Jejak tumpukan:
- line 497 of /public/lib/dml/moodle_database.php: dml_read_exception thrown
- line 346 of /public/lib/dml/moodle_read_replica_trait.php: call to moodle_database->query_end()
- line 1303 of /public/lib/dml/mysqli_native_moodle_database.php: call to mysqli_native_moodle_database->query_end()
- line 392 of /public/customfield/classes/api.php: call to mysqli_native_moodle_database->get_recordset_sql()
- line 528 of /public/customfield/classes/handler.php: call to core_customfield\api::get_categories_with_fields()
- line 852 of /public/customfield/classes/handler.php: call to core_customfield\handler->get_categories_with_fields()
- line 870 of /public/customfield/classes/handler.php: call to core_customfield\handler->get_fields()
- line 413 of /public/customfield/classes/handler.php: call to core_customfield\handler->get_visible_fields()
- line 210 of /public/course/classes/list_element.php: call to core_customfield\handler->get_instance_data()
- line 221 of /public/course/classes/list_element.php: call to core_course_list_element->get_custom_fields()
- line 592 of /public/course/renderer.php: call to core_course_list_element->has_custom_fields()
- line 622 of /public/course/renderer.php: call to core_course_renderer->course_custom_fields()
- line 480 of /public/course/renderer.php: call to core_course_renderer->coursecat_coursebox_content()
- line 86 of /public/course/renderer.php: call to core_course_renderer->coursecat_coursebox()
- line 76 of /public/course/info.php: call to core_course_renderer->course_info_box()