-
Bug
-
Resolution: Fixed
-
Blocker
-
4.0
-
MOODLE_400_STABLE
-
MOODLE_400_STABLE
-
MDL-73953-master -
-
Moppies Kanban
While upgrading Moodle 4.0dev+ (Build: 20220211) with the latest build, I got this error and the upgrade stopped:
Default exception handler: Fout bij het schrijven van de databank Debug: Column 'adminpresetid' cannot be null
INSERT INTO adminpresets_it (adminpresetid,plugin,name,value) VALUES(?,?,?,?)
[array (
0 => NULL,
1 => 'none',
2 => 'guestloginbutton',
3 => '0',
)]
Error code: dmlwriteexception
- line 489 of /lib/dml/moodle_database.php: dml_write_exception thrown
- line 1357 of /lib/dml/mysqli_native_moodle_database.php: call to moodle_database->query_end()
- line 1403 of /lib/dml/mysqli_native_moodle_database.php: call to mysqli_native_moodle_database->insert_record_raw()
- line 4008 of /lib/db/upgrade.php: call to mysqli_native_moodle_database->insert_record()
- line 1875 of /lib/upgradelib.php: call to xmldb_main_upgrade()
- line 196 of /admin/cli/upgrade.php: call to upgrade_core()