Can't find data record in database table course.

More information about this error

Debug info: SELECT * FROM {course} WHERE id = ?
[array (
0 => 1109,
)]
Error code: invalidrecord
Stack trace:
  • line 1646 of /lib/dml/moodle_database.php: dml_missing_record_exception thrown
  • line 1622 of /lib/dml/moodle_database.php: call to moodle_database->get_record_select()
  • line 33 of /course/view.php: call to moodle_database->get_record()