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

upgrading mod_feedback error

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 2.0
    • Fix Version/s: 2.0
    • Component/s: Feedback
    • Labels:
      None
    • Affected Branches:
      MOODLE_20_STABLE
    • Fixed Branches:
      MOODLE_20_STABLE

      Description

      Thanks to Craig Willis in http://moodle.org/mod/forum/discuss.php?d=159206 for reporting the following issue:

      I'm upgrading our instance of Moodle 1.9.8 to Moodle 2.0 RC1. On running the upgrade process, it gets to upgrading mod_feedback, and then I get the following error:

      mod_feedback

      Coding error detected, it must be fixed by a programmer: PHP catchable fatal error

      More information about this error

      Debug info: Argument 2 passed to moodle_database::get_records() must be an array, string given, called in /home/webadmin/html/mod/feedback/db/upgrade.php on line 146 and defined
      Stack trace:
      line 309 of /lib/setuplib.php: coding_exception thrown
      line 1022 of /lib/dml/moodle_database.php: call to default_error_handler()
      line 146 of /mod/feedback/db/upgrade.php: call to moodle_database->get_records()
      line 490 of /lib/upgradelib.php: call to xmldb_feedback_upgrade()
      line 265 of /lib/upgradelib.php: call to upgrade_plugins_modules()
      line 1348 of /lib/upgradelib.php: call to upgrade_plugins()
      line 298 of /admin/index.php: call to upgrade_noncore()

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              grabs Andreas Grabs
              Reporter:
              tsala Helen Foster
              Tester:
              Nobody
              Participants:
              Component watchers:
              Amaia Anabitarte, Carlos Escobedo, Ferran Recio, Sara Arjona (@sarjona)
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Fix Release Date:
                24/Nov/10