On the stage: Settings
Error writing to database
More information about this error
Debug info: Field 'idnumber' doesn't have a default value
INSERT INTO mdl_course (fullname,shortname,category,sortorder,timecreated,timemodified,visible) VALUES(?,?,?,?,?,?,?)
[array (
0 => 'Course restoration in progress copy 3',
1 => 'restoring_3',
2 => '1',
3 => 0,
4 => 1290061795,
5 => 1290061795,
6 => '1',
)]
Stack trace:
- line 394 of /lib/dml/moodle_database.php: dml_write_exception thrown
- line 843 of /lib/dml/mysqli_native_moodle_database.php: call to moodle_database->query_end()
- line 885 of /lib/dml/mysqli_native_moodle_database.php: call to mysqli_native_moodle_database->insert_record_raw()
- line 1345 of /backup/util/dbops/restore_dbops.class.php: call to mysqli_native_moodle_database->insert_record()
- line 227 of /backup/util/ui/restore_ui_stage.class.php: call to restore_dbops::create_new_course()
- line 27 of /backup/restore.php: call to restore_ui_stage_destination->process()
- has a non-specific relationship to
-
MDL-25283 Fatal error on backup restore confirm page
-
- Closed
-