Capability "moodle/course:publish" was not found! This has to be fixed in code.
- line 452 of /lib/accesslib.php: call to debugging()
 - line 3977 of /course/lib.php: call to has_capability()
 - line 4322 of /lib/navigationlib.php: call to course_get_user_administration_options()
 - line 4052 of /lib/navigationlib.php: call to settings_navigation->load_course_settings()
 - line 759 of /lib/pagelib.php: call to settings_navigation->initialise()
 - line 820 of /lib/pagelib.php: call to moodle_page->magic_get_settingsnav()
 - line 136 of /blocks/settings/block_settings.php: call to moodle_page->__get()
 - line 321 of /blocks/moodleblock.class.php: call to block_settings->get_content()
 - line 230 of /blocks/moodleblock.class.php: call to block_base->formatted_contents()
 - line 1216 of /lib/blocklib.php: call to block_base->get_content_for_output()
 - line 1268 of /lib/blocklib.php: call to block_manager->create_block_contents()
 - line 604 of /lib/outputrenderers.php: call to block_manager->ensure_content_created()
 - line 156 of /theme/adaptable/layout/includes/header.php: call to core_renderer->standard_head_html()
 - line 30 of /theme/adaptable/layout/columns2.php: call to require_once()
 - line 1328 of /lib/outputrenderers.php: call to include()
 - line 1258 of /lib/outputrenderers.php: call to core_renderer->render_page_layout()
 - line 1893 of /lib/setuplib.php: call to core_renderer->header()
 - line 62 of /course/info.php: call to bootstrap_renderer->__call()