by Mateusz Szuter.
Thanks Emma for your reply.
I'm making a backup in a normal way - by course admin tab. Moodle version is 3.0.3, backup is 3.0.3 too. I restore course either making a new course and then backup > restore, or from the admin panel backup > restore. It's all done within one moodle - I just want to create a course template
- line 152 of /availability/classes/tree.php: coding_exception thrown
- line 144 of /availability/classes/info.php: call to core_availability\tree->__construct()
- line 114 of /availability/classes/info.php: call to core_availability\info->decode_availability()
- line 318 of /availability/classes/info.php: call to core_availability\info->get_availability_tree()
- line 803 of /backup/moodle2/restore_stepslib.php: call to core_availability\info->update_after_restore()
- line 34 of /backup/util/plan/restore_execution_step.class.php: call to restore_update_availability->define_execution()
- line 181 of /backup/util/plan/base_task.class.php: call to restore_execution_step->execute()
- line 177 of /backup/util/plan/base_plan.class.php: call to base_task->execute()
- line 167 of /backup/util/plan/restore_plan.class.php: call to base_plan->execute()
- line 333 of /backup/controller/restore_controller.class.php: call to restore_plan->execute()
- line 224 of /backup/util/ui/restore_ui.class.php: call to restore_controller->execute_plan()
- line 111 of /backup/restore.php: call to restore_ui->execute()
That's debugging info.
Also I get user role mapping problem, where I have 3 dropdowns, which in first is preselected Student, and second and third are set to none. May that be the problem?