error/moodle/error question answers missing in db

Revision as of 15:07, 25 September 2015 by Mary Cooch (talk | contribs) (extra info)

Jump to: navigation, search

Note: You are currently viewing documentation for Moodle 3.3. Up-to-date documentation for the latest stable version of Moodle is probably available here: error/moodle/error question answers missing in db.

This could mean that you have a question in your quiz or dataset that is not restoring properly. According to MDL-34812, question text which has been pasted from MS Word might be a cause of this.

Possible solutions

  1. Restore the questions manually into your course and recreate the quiz.
  1. Try copying system level questions into the course. Use the edit button and then click the Make copy button at the bottom of the page. Then try moving it. If that triggers an error, then you know which question is causing the problem.

Other notes

The file that is throwing this error is /backup/moodle2/restore_qtype_plugin.class.php around line 159.