Moodle 4.5, plugin version 1.8
On edit course topic get a error.
SELECT s.* FROM {course_sections} s JOIN {course} c ON s.course = c.id WHERE s.id = ? AND c.format = ?
[array (
0 => '85380',
1 => 'pluginname',
)]
Error code: invalidrecordunknown
line 1690 of /lib/dml/moodle_database.php: dml_missing_record_exception thrown
line 283 of /course/format/buttons/lib.php: call to moodle_database->get_record_sql()
line 7462 of /lib/moodlelib.php: call to format_buttons_inplace_editable()
line 470 of /lib/external/externallib.php: call to component_callback()
line ? of unknownfile: call to core_external::update_inplace_editable()
line 253 of /lib/external/classes/external_api.php: call to call_user_func_array()
line 83 of /lib/ajax/service.php: call to core_external\external_api::call_external_function()
Apparently the c.format field is not being replaced by correct name and variable name sent to select..
Moodle 4.5, plugin version 1.8 On edit course topic get a error. SELECT s.* FROM {course_sections} s JOIN {course} c ON s.course = c.id WHERE s.id = ? AND c.format = ? [array ( 0 => '85380', 1 => 'pluginname', )] Error code: invalidrecordunknown
Apparently the c.format field is not being replaced by correct name and variable name sent to select..