error/That's an invalid course id

More information about this error

Debug info:
Error code: That's an invalid course id
$a contents:
Stack trace:
  • line 498 of /lib/setuplib.php: moodle_exception thrown
  • line 36 of /course/recent.php: call to print_error()