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

undefined index 'blocks' in upgrading page.

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 1.9.13, 2.0.4
    • Fix Version/s: 1.9.14, 2.0.5
    • Component/s: Installation
    • Labels:
    • Testing Instructions:
      Hide

      Make sure you can upgrade and the plugins overview screen does not produce any PHP Notices.

      Show
      Make sure you can upgrade and the plugins overview screen does not produce any PHP Notices.
    • Affected Branches:
      MOODLE_19_STABLE, MOODLE_20_STABLE
    • Fixed Branches:
      MOODLE_19_STABLE, MOODLE_20_STABLE
    • Pull from Repository:

      Description

      upon upgrading errors seen: (ah, just realised that this may have been due to a borked install during development though , Edit: it wasn't.)

      Notice: Undefined index: blocks in /home/aparup/mcode/20/mysql/lib/adminlib.php on line 6261
       
      Call Stack:
          0.0011     893608   1. {main}() /home/aparup/mcode/20/mysql/admin/index.php:0
          0.2224   32934696   2. print_plugin_tables() /home/aparup/mcode/20/mysql/admin/index.php:263
       
       
      Warning: in_array() expects parameter 2 to be array, null given in /home/aparup/mcode/20/mysql/lib/adminlib.php on line 6261
       
      Call Stack:
          0.0011     893608   1. {main}() /home/aparup/mcode/20/mysql/admin/index.php:0
          0.2224   32934696   2. print_plugin_tables() /home/aparup/mcode/20/mysql/admin/index.php:263
          0.2398   34217600   3. in_array() /home/aparup/mcode/20/mysql/lib/adminlib.php:6261
       
       
      Notice: Undefined index: blocks in /home/aparup/mcode/20/mysql/lib/adminlib.php on line 6273
       
      Call Stack:
          0.0011     893608   1. {main}() /home/aparup/mcode/20/mysql/admin/index.php:0
          0.2224   32934696   2. print_plugin_tables() /home/aparup/mcode/20/mysql/admin/index.php:263
       
       
      Warning: array_search() expects parameter 2 to be array, null given in /home/aparup/mcode/20/mysql/lib/adminlib.php on line 6273
       
      Call Stack:
          0.0011     893608   1. {main}() /home/aparup/mcode/20/mysql/admin/index.php:0
          0.2224   32934696   2. print_plugin_tables() /home/aparup/mcode/20/mysql/admin/index.php:263
          0.2480   34217648   3. array_search() /home/aparup/mcode/20/mysql/lib/adminlib.php:6273

        Gliffy Diagrams

          Attachments

            Activity

              People

              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Fix Release Date:
                  10/Oct/11