Debug info: SELECT id FROM {company} WHERE id = ?
[array (
0 => -1,
)]
Error code: invalidrecord
[array (
0 => -1,
)]
Error code: invalidrecord
Stack trace:
- line 1662 of /lib/dml/moodle_database.php: dml_missing_record_exception thrown
- line 1638 of /lib/dml/moodle_database.php: call to moodle_database->get_record_select()
- line 160 of /lib/classes/context/company.php: call to moodle_database->get_record()
- line 1620 of /course/classes/category.php: call to core\context\company::instance()
- line 1225 of /course/renderer.php: call to core_course_category::search_courses()
- line 109 of /course/search.php: call to core_course_renderer->search_courses()