Whwn we try to import course, we get this error:
COURSE #1: Trying to copy data from the course "491" to the course "27794" ... 2018-01-24 12:04:17: ERROR: restore_step_exception: Failed to find an answer matching "aggregate supply" in the question_answers database table. This occurred while restoring the question with id 340126 in the backup file, which has been matched to the existing question with id 403920 in the database. in var/www/moodle.sitename.dk/moodle/backup/moodle2/restore_qtype_plugin.class.php:185
And we are not sure what the solution is to this error.
There seems to be simmilar error in moodle 3.2.3 -> https://tracker.moodle.org/browse/MDL-60102?attachmentViewMode=list
But no one have a solution yet.
You need to clarify this question.
Do you mean "Import" a course, or are you trying to "Restore" a Backup of a Course ?
If you are Restoring a Course from a Backup, are they from the same site?
If they are from different site the version should match. It may also be that the Backup Course contains data from a plugin question type that does not exist in the location you are restoring to. Check this.
Thanks for replying.
It turned out that the course we were trying to import had some kind of corrupt data. We accuried a new backup and tried again with the same course and it worked.
So those who made the .mbz file must have had some issues.