You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Stack trace observed when the deletion of 900+ courses in 60 subcategories was in progress:
Debug info: Argument 1 passed to course_in_list::__construct() must be an instance of stdClass, null given, called in [dirroot]/lib/coursecatlib.php on line 1508 and defined
Error code: codingerror
Trace:
Stack trace:
line 426 of /lib/setuplib.php: coding_exception thrown
line 2788 of /lib/coursecatlib.php: call to default_error_handler()
line 1508 of /lib/coursecatlib.php: call to course_in_list->__construct()
line 524 of /course/classes/management_renderer.php: call to coursecat->get_courses()
line 498 of /course/management.php: call to core_course_management_renderer->course_listing()
This was triggered by viewing a subcategory in the category management page. My guess is that it expected courses which no longer exist. After a few minutes the category page can be refreshed and loads without error (and no courses).
The text was updated successfully, but these errors were encountered:
Stack trace observed when the deletion of 900+ courses in 60 subcategories was in progress:
Trace:
This was triggered by viewing a subcategory in the category management page. My guess is that it expected courses which no longer exist. After a few minutes the category page can be refreshed and loads without error (and no courses).
The text was updated successfully, but these errors were encountered: