Coding Error Detected During Restore

From K-Wiki

Jump to: navigation, search

Between steps 2 (Destination) and 3 (Settings)


Restoring a course caused error "Coding error detected, it must be fixed by a programmer: PHP catchable fatal error". Appeared between Step 2 (Destination) and Step 3 (Settings).


There were quiz Questions without answers. Error messages were generated during the backup process "Error: Missing question options for multichoice question987654!" (but are easy to miss).


Go back to the original course and either delete or complete the questions. Use the number at the end of the error message above to locate the questions. Make a new backup of the course.

More detailed instructions:

  1. Go back to the original course.
  2. Open any question for editing. The (fairly long) URL will look something like this:
  3. Replace "id=123456" in the URL above with "id=987654", the number from the backup error message.

This will open the broken question. Either complete the question, or make a note of the category and the question title and use this information to delete the question.

Personal tools