Can not find data record in database table course.

More information about this error

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