Invalid course module ID

More information about this error

Debug info: 
Error code: invalidcoursemodule
Stack trace: 
  • line 481 of /lib/setuplib.php: moodle_exception thrown
  • line 42 of /mod/page/view.php: call to print_error()