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

Error displayed: "The block course_overview does not define the standard capability block/course_overview:addinstance" in Default My home page

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Duplicate
    • Affects Version/s: 2.3.8, 2.4.5, 2.5.1, 2.6
    • Fix Version/s: None
    • Component/s: Blocks, Dashboard (My home)
    • Labels:
      None
    • Affected Branches:
      MOODLE_23_STABLE, MOODLE_24_STABLE, MOODLE_25_STABLE, MOODLE_26_STABLE

      Description

      To reproduce:

      Be sure to have the following administrator configuration parameters like this:
      messagesdebug: DEVELOPER: extra Moodle debug messages for developers
      messagesdebugdisplay : true

      • Go the Default My home page
      • Click on the "Customise this page" button

      Here is the error displayed:

      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 315 of /lib/blocklib.php: call to block_manager->ensure_content_created()
          line 1232 of /lib/outputrenderers.php: call to block_manager->get_content_for_region()
          line 101 of /my/indexsys.php: call to core_renderer->blocks_for_region()
      

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              Unassigned Unassigned
              Reporter:
              leblangi Gilles-Philippe Leblanc
              Participants:
              Component watchers:
              Adrian Greeve, Jake Dallimore, Mathew May, Mihail Geshoski, Peter Dias, Sujith Haridasan, 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: