Debug info:
Error code: cannotviewcategory
Error code: cannotviewcategory
Stack trace:
- line 263 of /course/classes/category.php: moodle_exception thrown
- line 86 of /calendar/view.php: call to core_course_category::get()