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

upgrade to 3.2 fails with fatal error: Call to a member function setup() on null

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Critical
    • Resolution: Fixed
    • Affects Version/s: 3.2, 3.2 regressions
    • Fix Version/s: 3.2.1
    • Component/s: Filters, Installation
    • Labels:
    • Testing Instructions:
      Hide

      Install Moodle 3.1
      Install filter_oembed
      Switch code to Moodle 3.2 (WITHOUT filter_oembed)
      Go to admin/

      Expected:

      • You should be able to get the upgrade page listing missing plugins
      Show
      Install Moodle 3.1 Install filter_oembed Switch code to Moodle 3.2 (WITHOUT filter_oembed) Go to admin/ Expected: You should be able to get the upgrade page listing missing plugins
    • Affected Branches:
      MOODLE_32_STABLE
    • Fixed Branches:
      MOODLE_32_STABLE
    • Pull from Repository:
    • Pull Master Branch:
      MDL-57283_master
    • Sprint:
      3.3 on-sync

      Description

      Reported
      https://moodle.org/mod/forum/discuss.php?d=343913

      PHP Fatal error:  Call to a member function setup() on null in /var/www/moodle32/lib/filterlib.php on line 299
      PHP Stack trace:
      PHP   1. {main}() /var/www/moodle32/admin/cli/upgrade.php:0
      PHP   2. upgrade_core() /var/www/moodle32/admin/cli/upgrade.php:175
      PHP   3. print_upgrade_part_start() /var/www/moodle32/lib/upgradelib.php:1677
      PHP   4. bootstrap_renderer->heading() /var/www/moodle32/lib/upgradelib.php:1490
      PHP   5. bootstrap_renderer->__call() /var/www/moodle32/lib/upgradelib.php:1490
      PHP   6. moodle_page->initialise_theme_and_output() /var/www/moodle32/lib/setuplib.php:1826
      PHP   7. filter_manager->setup_page_for_globally_available_filters() /var/www/moodle32/lib/pagelib.php:1604
      

        Gliffy Diagrams

          Attachments

            Issue Links

              Activity

                People

                • Votes:
                  1 Vote for this issue
                  Watchers:
                  8 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved:
                    Fix Release Date:
                    9/Jan/17