Affects Version/s: 2.0.1, 2.3.3, 2.4.4, 2.5.4
Fix Version/s: STABLE backlog
server: MacOS 10.6.6
Affected Branches:MOODLE_20_STABLE, MOODLE_23_STABLE, MOODLE_24_STABLE, MOODLE_25_STABLE
Recently successfully upgraded 1.9.10+ to 2.0.1+. In 1.9.10+, the bulk of my questions were at the system level. Also in 1.9.10+, we had several non-standard question types: drag-and-drop matching, ordering...
Here's what I did that caused the error:
In 2.0.1+, I made a new course.
From Course Administration of my new course, clicked 'Import'.
Choose the course to import from (one that was upgraded from 1.9.10+ to 2.0.1). For backup settings, I only choose 'include activities' (i.e. unchecked include blocks and include filters)
3 scenarios from here:
1) If I choose to import a resource, the import was successful
2) If I choose to import a quiz where the questions are course level, the import was successful
3) If I choose to import a quiz where the questions are site level, the import fails and I get a white screen with this message:
Fatal error: Call to undefined function restore_step_exception() in /Library/WebServer/Documents/moodle/question/type/match/backup/moodle2/restore_qtype_match_plugin.class.php on line 118
I tried several different quizzes with the same results. None of quizzes used any non-standard type question types that were on the Moodle 1.9 system.
If I create a new quiz, I can successfully use the existing questions in the question bank (the same ones that caused the import error).
Any help resolving this issue would be greatly appreciated.