Details
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
- is duplicated by
-
MDL-24467 Feedback 1.9 => 2.0 upgrade broken (wrong DB call)
-
- Closed
-