Uploaded image for project: 'Moodle'
  1. Moodle
  2. MDL-25903

The file "moodle/backup/moodle2/restore_qtype_plugin.class.php" is missing "new" to instantiate the "restore_step_exception" class

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: Major Major
    • None
    • 2.0.1
    • Backup
    • Linux Apache2 MySQL 5.1
    • MOODLE_20_STABLE
    • Easy

      This is an easy fix, "new" is left off of the instantiation of the "restore_step_exception" class. Without this the restore course proces fails under certain circumstances.

      1. Edit file "moodle/backup/moodle2/restore_qtype_plugin.class.php"
      2. Go to line 142 and add "new" between "throw" and "restore_step_exception"

            stronk7 Eloy Lafuente (stronk7)
            shanethomas Shane Thomas
            Votes:
            1 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved:

                Error rendering 'clockify-timesheets-time-tracking-reports:timer-sidebar'. Please contact your Jira administrators.