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

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Critical
    • Resolution: Fixed
    • 3.2, 3.2 regressions
    • 3.2.1
    • Filters, Installation
    • MOODLE_32_STABLE
    • MOODLE_32_STABLE
    • MDL-57283_master
    • 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
    • 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
      

      Attachments

        Issue Links

          Activity

            People

              markn Mark Nelson
              marina Marina Glancy
              Jake Dallimore Jake Dallimore
              Dan Poltawski Dan Poltawski
              Dan Poltawski Dan Poltawski
              Amaia Anabitarte, Carlos Escobedo, Ferran Recio, Ilya Tregubov, Laurent David, Raquel Ortega, Sara Arjona (@sarjona), Matteo Scaramuccia, Andrew Lyons, Huong Nguyen, Jun Pataleta, Michael Hawkins, Shamim Rezaie, Simey Lameze, Stevani Andolo
              Votes:
              1 Vote for this issue
              Watchers:
              8 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:
                9/Jan/17