-
Bug
-
Resolution: Fixed
-
Critical
-
2.3.3, 2.5.3, 2.6, 2.7.7, 2.8.5
-
MOODLE_23_STABLE, MOODLE_25_STABLE, MOODLE_26_STABLE, MOODLE_27_STABLE, MOODLE_28_STABLE
-
MOODLE_27_STABLE, MOODLE_28_STABLE
-
mdl36506-master
-
-
Easy
-
I am trying to upgrade moodle from 2.3.2+ to 2.3.3 and I am blocked with this upgrade book problem. I think, this is database related problem, because we use book module since moodle 1.5. I am not alone with this problem (there is the same post in book forum)
Debug info: SELECT id,course FROM
{course_modules} WHERE id IS NULL
[array (
)]
Error code: invalidrecord
Stack trace:
line 1335 of /lib/dml/moodle_database.php: dml_missing_record_exception thrown
line 1311 of /lib/dml/moodle_database.php: call to moodle_database->get_record_select()
line 6644 of /lib/accesslib.php: call to moodle_database->get_record()
line 117 of /mod/book/db/upgradelib.php: call to context_module::instance()
line 169 of /mod/book/db/upgrade.php: call to mod_book_migrate_all_areas()
line 627 of /lib/upgradelib.php: call to xmldb_book_upgrade()
line 358 of /lib/upgradelib.php: call to upgrade_plugins_modules()
line 1524 of /lib/upgradelib.php: call to upgrade_plugins()
line 329 of /admin/index.php: call to upgrade_noncore()