Debug info:
Error code: accessdenied
Error code: accessdenied
Stack trace:
- line 25 of /local/catalog/hookslib.php: moodle_exception thrown
- line 151 of /local/hook/classes/caller.php: call to local_catalog_course_index_top()
- line 62 of /local/hook/classes/caller.php: call to local_hook_caller::call_hook()
- line 71 of /course/index.php: call to local_hook_caller::call_all()