I can confirm that error still occurs. So it would be something to do with the course, not the Collapsedtopics format.
I am running 188.8.131.52 of collapsedtopics
Are there any errors in the PHP log file? If you take the MBZ file to a test server with developer level debugging on, do you see any error messages when restoring it? If you backup the course with no users and restore that, then does the error occur? And if so with the no-user backup, would you be willing to share the file for others to investigate?
I am able to restore the course without the quiz but unable to import them after restoring the course.
I have tried debugging option on, and I did not see any errors on the page, even though that option is enabled. Nor could I find the server log file, maybe perhaps it is because we're using a sherd hosting account that uses Linux.
The only thing I have picked up on is that one of the categories under the actual quiz activity was as the others are assigned to the course itself. Also in the database, I see a lot of unknown host under the stamp column.
Thanks for your help.
I am now able to import and restore the course properly now after deleting the unknown host entries.
Having exactly the same error. It has to do with multiple top categories in your question bank. There's a tracker here: MDL-62897 and it say's it's fixed...
However, I can't get past this error.
I'm trying to restore a course from a backup system. I only have the back upped course and I need to restore this. I have tested several versions of Moodle. Backup was made on Moodle 3.5 and I can't get it to restore anywhere, not even in a Moodle 3.5.2
I went inside the Moodle backup file and deleted questions.xml. That still didn't help. I don't even need the question bank to be restored, I just need the content of the course.
Any suggestions are welcome!
I think (moderators hat) that this post should stay here as it relates to the course backup and restore mechanism, but as quiz is involved, the site policy states "If you really feel your topic falls in two forums (e.g. a major development in the Quiz module that may impact other parts of Moodle), pick the most specific (e.g. Quiz forum) and post a small pointer to the other discussion in the second forum (e.g. General developer forum).", so a 'linking' post would be appropriate.