Capacitación AEL
Debug info: 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 ezsf_customfield_category c
LEFT JOIN ezsf_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
[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 ezsf_customfield_category c
LEFT JOIN ezsf_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
[array (
0 => 'checkbox',
1 => 'date',
2 => 'number',
3 => 'select',
4 => 'text',
5 => 'textarea',
6 => 'core_course',
7 => 'course',
8 => 0,
)]
Error code: dmlreadexception
Stack trace:
- 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 851 of /public/customfield/classes/handler.php: call to core_customfield\handler->get_categories_with_fields()
- line 450 of /public/customfield/classes/handler.php: call to core_customfield\handler->get_fields()
- line 1100 of /public/course/classes/category.php: call to core_customfield\handler->get_instances_data()
- line 1895 of /public/course/classes/category.php: call to core_course_category::preload_custom_fields()
- line 1374 of /public/course/renderer.php: call to core_course_category->get_courses()
- line 1651 of /public/course/renderer.php: call to core_course_renderer->frontpage_available_courses()
- line 143 of /public/index.php: call to core_course_renderer->frontpage()