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

Exception during restore

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Not a bug
    • Icon: Major Major
    • 2.0
    • 2.0
    • Backup
    • None
    • MySQL
    • MOODLE_20_STABLE
    • MOODLE_20_STABLE

      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()

            stronk7 Eloy Lafuente (stronk7)
            jerome Jérôme Mouneyrac
            Nobody Nobody (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:

                Error rendering 'clockify-timesheets-time-tracking-reports:timer-sidebar'. Please contact your Jira administrators.