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

Error fetching available updates info after an upgrade

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Minor
    • 2.3.3
    • 2.3.2, 2.4
    • Administration

    Description

      Steps to reproduce:

      1. Install Moodle 2.3
      2. Check for available updates via executing cron or manually via admin UI
      3. Upgrade the site to 2.4dev
      4. Execute cron.php

      Expected result: Recently fetched data were valid for 2.3. Thence they are discarded and fresh data for 2.4 branch are fetched

      What currently happens: Coding error exception is thrown

      Outdated or missing info about available updates, forced fetching ... Default exception handler: Coding error detected, it must be fixed by a programmer: PHP catchable fatal error Debug: Argument 1 passed to available_update_checker::compare_responses() must be an array, null given, called in /home/mudrd8mz/public_html/moodle23tmp/lib/pluginlib.php on line 1152 and defined
      Error code: codingerror

      • line 397 of /lib/setuplib.php: coding_exception thrown
      • line 901 of /lib/pluginlib.php: call to default_error_handler()
      • line 1152 of /lib/pluginlib.php: call to available_update_checker->compare_responses()
      • line 775 of /lib/pluginlib.php: call to available_update_checker->cron_execute()
      • line 394 of /lib/cronlib.php: call to available_update_checker->cron()
      • line 61 of /admin/cli/cron.php: call to cron_run()

      Attachments

        Issue Links

          Activity

            People

              mudrd8mz David Mudrák (@mudrd8mz)
              mudrd8mz David Mudrák (@mudrd8mz)
              Eloy Lafuente (stronk7) Eloy Lafuente (stronk7)
              Jason Fowler Jason Fowler
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:
                12/Nov/12