Skip to content

error/not_specified_restore_task on mbz_restorecourses.php #1

@PickledKitty

Description

@PickledKitty

Received this error when trying out the script on Moodle 3.3.2:

!!! error/not_specified_restore_task !!!
!!
Error code: not_specified_restore_task
$a contents: !!
!! Stack trace: * line 44 of /backup/util/plan/restore_step.class.php: restore_step_exception thrown

  • line 219 of /backup/util/plan/restore_structure_step.class.php: call to restore_step->get_restoreid()
  • line 211 of /backup/util/plan/restore_structure_step.class.php: call to restore_structure_step->get_mapping()
  • line 204 of /backup/moodle2/restore_plugin.class.php: call to restore_structure_step->get_mappingid()
  • line 99 of /question/type/multichoice/backup/moodle2/restore_qtype_multichoice_plugin.class.php: call to restore_plugin->get_mappingid()
  • line 86 of /question/type/multichoice/backup/moodle2/restore_qtype_multichoice_plugin.class.php: call to restore_qtype_multichoice_plugin->recode_choice_order()
  • line 5254 of /backup/moodle2/restore_stepslib.php: call to restore_qtype_multichoice_plugin->recode_response()
  • line 5232 of /backup/moodle2/restore_stepslib.php: call to restore_questions_activity_structure_step->questions_recode_response_data()
  • line 5130 of /backup/moodle2/restore_stepslib.php: call to restore_questions_activity_structure_step->restore_question_attempt_step_worker()
  • line 137 of /backup/util/plan/restore_structure_step.class.php: call to restore_questions_activity_structure_step->process_question_attempt_step()
  • line 112 of /backup/util/helper/restore_structure_parser_processor.class.php: call to restore_structure_step->process()
  • line 150 of /backup/util/xml/parser/processors/grouped_parser_processor.class.php: call to restore_structure_parser_processor->dispatch_chunk()
  • line 208 of /backup/util/xml/parser/progressive_parser.class.php: call to grouped_parser_processor->after_path()
  • line 288 of /backup/util/xml/parser/progressive_parser.class.php: call to progressive_parser->inform_end()
  • line ? of unknownfile: call to progressive_parser->end_tag()
  • line 179 of /backup/util/xml/parser/progressive_parser.class.php: call to xml_parse()
  • line 158 of /backup/util/xml/parser/progressive_parser.class.php: call to progressive_parser->parse()
  • line 110 of /backup/util/plan/restore_structure_step.class.php: call to progressive_parser->process()
  • line 181 of /backup/util/plan/base_task.class.php: call to restore_structure_step->execute()
  • line 201 of /backup/moodle2/restore_activity_task.class.php: call to base_task->execute()
  • line 178 of /backup/util/plan/base_plan.class.php: call to restore_activity_task->execute()
  • line 167 of /backup/util/plan/restore_plan.class.php: call to base_plan->execute()
  • line 339 of /backup/controller/restore_controller.class.php: call to restore_plan->execute()
  • line 107 of /admin/cli/RestoreMultiple.php: call to restore_controller->execute_plan()
    !!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions