You are trying to use an invalid course ID

More information about this error

Debug info:
Error code: invalidcourseid
Stack trace:
  • line 494 of \lib\setuplib.php: moodle_exception thrown
  • line 40 of \course\info.php: call to print_error()