Uploaded image for project: 'Moodle'
  1. Moodle
  2. MDL-37121

Block capability error while editing My home

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Cannot Reproduce
    • Affects Version/s: 2.4
    • Fix Version/s: None
    • Component/s: Dashboard (My home)
    • Labels:
      None
    • Affected Branches:
      MOODLE_24_STABLE

      Description

      1. Go to My home
      2. Click on Customise this page
      3. The following notice appears

      The block site_main_menu does not define the standard capability block/site_main_menu:myaddinstance
      line 598 of /blocks/moodleblock.class.php: call to debugging()
      line 571 of /blocks/moodleblock.class.php: call to block_base->has_add_block_capability()
      line 1082 of /lib/blocklib.php: call to block_base->user_can_addto()
      line 1043 of /lib/blocklib.php: call to block_manager->user_can_delete_block()
      line 248 of /blocks/moodleblock.class.php: call to block_manager->edit_controls()
      line 953 of /lib/blocklib.php: call to block_base->get_content_for_output()
      line 1005 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 6 of /theme/base/layout/general.php: call to block_manager->region_has_content()
      line 804 of /lib/outputrenderers.php: call to include()
      line 734 of /lib/outputrenderers.php: call to core_renderer->render_page_layout()
      line 153 of /my/index.php: call to core_renderer->header()

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              markn Mark Nelson
              Reporter:
              fred Frédéric Massart
              Participants:
              Component watchers:
              Amaia Anabitarte, Carlos Escobedo, Ferran Recio, Ilya Tregubov, Sara Arjona (@sarjona)
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: