Debug info: SELECT id,category FROM {course} WHERE id IS NULL
[array (
)]
Error code: invalidrecord
Stack trace: - line 1562 of /lib/dml/moodle_database.php: dml_missing_record_exception thrown
- line 1538 of /lib/dml/moodle_database.php: call to moodle_database->get_record_select()
- line 6827 of /lib/accesslib.php: call to moodle_database->get_record()
- line 1324 of /local/marketplace/product_details.php: call to context_course::instance()