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

error when adding any block in Group page, Overview tab

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 2.0
    • Fix Version/s: 2.0
    • Component/s: Blocks
    • Labels:
      None
    • Database:
      MySQL
    • Difficulty:
      Moderate
    • Affected Branches:
      MOODLE_20_STABLE
    • Fixed Branches:
      MOODLE_20_STABLE

      Description

      To reproduce the issue:

      • turn groupings on
      • enter a course, and turn editing on
      • now click on groups, tab overview
      • now add a block

      Messages:
      Warning: end() [function.end]: Passed variable is not an array or object in /path/to/moodle/lib/blocklib.php on line 608
      A required parameter (id) was missing

      Stack trace:

      • line 310 of /lib/setuplib.php: moodle_exception thrown
      • line 445 of /lib/moodlelib.php: call to print_error()
      • line 13 of /group/overview.php: call to required_param()

      Coding error detected, it must be fixed by a programmer: Trying to reference an unknown block region

      Stack trace:

      • line 779 of /lib/blocklib.php: coding_exception thrown
      • line 579 of /lib/blocklib.php: call to block_manager->check_region_is_known()
      • line 628 of /lib/blocklib.php: call to block_manager->add_block()
      • line 1017 of /lib/blocklib.php: call to block_manager->add_block_at_end_of_default_region()
      • line 992 of /lib/blocklib.php: call to block_manager->process_url_add()
      • line 1070 of /lib/pagelib.php: call to block_manager->process_url_actions()
      • line 671 of /lib/pagelib.php: call to moodle_page->starting_output()
      • line 565 of /lib/outputrenderers.php: call to moodle_page->set_state()
      • line 2120 of /lib/outputrenderers.php: call to core_renderer->header()
      • line ? of unknownfile: call to core_renderer->fatal_error()
      • line 953 of /lib/setuplib.php: call to call_user_func_array()
      • line ? of unknownfile: call to bootstrap_renderer->__call()
      • line 226 of /lib/setuplib.php: call to bootstrap_renderer->fatal_error()
      • line ? of unknownfile: call to default_exception_handler()

        Attachments

          Activity

            People

            Assignee:
            samhemelryk Sam Hemelryk
            Reporter:
            andreabix Andrea Bicciolo
            Tester:
            Nobody
            Participants:
            Component watchers:
            Adrian Greeve, Jake Dallimore, Mathew May, Mihail Geshoski, Peter Dias
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:
              Fix Release Date:
              24/Nov/10