Coding Error Detected During Restore
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:
- Go back to the original course.
- Open any question for editing. The (fairly long) URL will look something like this: https://xxx.kwantlen.ca/xxx/question/question.php?id=123456&courseid=...
- 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.