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

Error fetching available updates info after an upgrade


    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 2.3.2, 2.4
    • Fix Version/s: 2.3.3
    • Component/s: Administration
    • Labels:


      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()

        Gliffy Diagrams


            Issue Links



                • Votes:
                  0 Vote for this issue
                  1 Start watching this issue


                  • Created:
                    Fix Release Date: