Hello Emma,
We have tryed to disable both PDF submission (assignsubmission_pdf) and PDF feedback (assignfeedback_pdf) plugins and perform manual backup, and we still get the error:
Note. Also we have tryed to Enable these two plugins but Disable standard Annotate PDF, but error was the same. Before trying to make manual backup we have purged all cache.
Error code: baseelementexisting
$a contents: annotation
- line 103 of /backup/util/structure/base_nested_element.class.php: base_element_struct_exception thrown
- line 152 of /backup/util/structure/base_optigroup.class.php: call to base_nested_element->check_and_set_used()
- line 108 of /backup/util/structure/base_nested_element.class.php: call to base_optigroup->add_used()
- line 173 of /backup/util/structure/base_nested_element.class.php: call to base_nested_element->check_and_set_used()
- line 57 of /mod/assign/feedback/editpdf/backup/moodle2/backup_assignfeedback_editpdf_subplugin.class.php: call to base_nested_element->add_child()
- line 60 of /backup/moodle2/backup_subplugin.class.php: call to backup_assignfeedback_editpdf_subplugin->define_grade_subplugin_structure()
- line 137 of /backup/moodle2/backup_stepslib.php: call to backup_subplugin->define_subplugin_structure()
- line 140 of /mod/assign/backup/moodle2/backup_assign_stepslib.php: call to backup_activity_structure_step->add_subplugin_structure()
- line 88 of /backup/util/plan/backup_structure_step.class.php: call to backup_assign_activity_structure_step->define_structure()
- line 181 of /backup/util/plan/base_task.class.php: call to backup_structure_step->execute()
- line 216 of /backup/moodle2/backup_activity_task.class.php: call to base_task->execute()
- line 177 of /backup/util/plan/base_plan.class.php: call to backup_activity_task->execute()
- line 120 of /backup/util/plan/backup_plan.class.php: call to base_plan->execute()
- line 320 of /backup/controller/backup_controller.class.php: call to backup_plan->execute()
- line 136 of /backup/util/ui/backup_ui.class.php: call to backup_controller->execute_plan()
- line 131 of /backup/backup.php: call to backup_ui->execute()
Any suggestions?
We cannot uninstall these plugins as we don't know how many teachers are using them...
Courses which doesn't have any assgin activities backups works fine, for those who has any assignments - fails... Even if it's only file assignment with feedback by comments... So PDF Annotate should not be used (I think so).
We have found similar issue in tracker but not all get's the same error, but no solution: https://tracker.moodle.org/browse/CONTRIB-5562
Thanks,
M.