Quantcast
Channel: Backup and restore
Viewing all articles
Browse latest Browse all 6511

Invalid, plugin_supports():mod_ during Restore

$
0
0

by David Conrad.  

Greetings fellow Moodlers, 

There's one course that I'm restoring that fails: Coding error detected, it must be fixed by a programmer: Invalid component used in plugin_supports():mod_

We're running Moodle 3.0.3. All other course can be restored without errors. Its just this one course. We always uncheck 'include users'.  I have tried backing up with only 'Activities and Resources' (without blocks, question banks, etc). 

I searched for "plugin_supports():mod_" in the forums and trackers, but the only mention was about 4 years ago with an outdated version 2.2. 

Here's the Debug info: 

Error code: codingerror

Stack trace:

  • line 7332 of /lib/moodlelib.php: coding_exception thrown
  • line 98 of /local/recyclebin/classes/course.php: call to plugin_supports()
  • line 62 of /local/recyclebin/classes/observer.php: call to local_recyclebin\course->store_item()
  • line 1659 of /course/lib.php: call to local_recyclebin\observer::pre_cm_delete()
  • line 359 of /mod/assign/upgradelib.php: call to course_delete_module()
  • line 133 of /mod/assignment/backup/moodle2/restore_assignment_stepslib.php: call to assign_upgrade_manager->upgrade_assignment()
  • line 156 of /mod/assignment/backup/moodle2/restore_assignment_stepslib.php: call to restore_assignment_activity_structure_step->upgrade_mod_assign()
  • line 450 of /backup/util/plan/restore_structure_step.class.php: call to restore_assignment_activity_structure_step->after_restore()
  • line 106 of /backup/util/plan/restore_task.class.php: call to restore_structure_step->launch_after_restore_methods()
  • line 193 of /backup/util/plan/restore_plan.class.php: call to restore_task->execute_after_restore()
  • line 121 of /backup/moodle2/restore_final_task.class.php: call to restore_plan->execute_after_restore()
  • line 717 of /backup/moodle2/restore_stepslib.php: call to restore_final_task->launch_execute_after_restore()
  • line 34 of /backup/util/plan/restore_execution_step.class.php: call to restore_execute_after_restore->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()
Has anyone else had this issue, or a suggestion to fix?

Thank you in advance. 


Viewing all articles
Browse latest Browse all 6511

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>