-
Bug
-
Resolution: Fixed
-
Minor
-
2.4.5, 2.5
-
MOODLE_24_STABLE, MOODLE_25_STABLE
-
MOODLE_24_STABLE, MOODLE_25_STABLE
-
MDL-40662_master -
-
8
-
BACKEND Sprint 3
Reproduction steps:
- Log in as admin
- Ensure debugging is enabled (Site admin > Development > Debugging)
- Visit the default setting for 'My home page' (Site admin > Appearance > Default my home page)
- Click "Customise this page"
Notice the following error:
The block course_overview does not define the standard capability block/course_overview:addinstance
|
|
line 606 of /blocks/moodleblock.class.php: call to debugging()
|
line 584 of /blocks/moodleblock.class.php: call to block_base->has_add_block_capability()
|
line 1090 of /lib/blocklib.php: call to block_base->user_can_addto()
|
line 1047 of /lib/blocklib.php: call to block_manager->user_can_delete_block()
|
line 256 of /blocks/moodleblock.class.php: call to block_manager->edit_controls()
|
line 951 of /lib/blocklib.php: call to block_base->get_content_for_output()
|
line 1003 of /lib/blocklib.php: call to block_manager->create_block_contents()
|
line 353 of /lib/blocklib.php: call to block_manager->ensure_content_created()
|
line 3068 of /lib/outputrenderers.php: call to block_manager->region_has_content()
|
line 3104 of /lib/outputrenderers.php: call to core_renderer->body_css_classes()
|
line 49 of /theme/clean/layout/columns3.php: call to core_renderer->body_attributes()
|
line 847 of /lib/outputrenderers.php: call to include()
|
line 777 of /lib/outputrenderers.php: call to core_renderer->render_page_layout()
|
line 99 of /my/indexsys.php: call to core_renderer->header()
|