-
Bug
-
Resolution: Fixed
-
Major
-
2.3.2
-
MOODLE_23_STABLE
-
MOODLE_27_STABLE, MOODLE_28_STABLE
-
MDL-35638-master -
-
BACKEND Sprint 18
Found this warning while testing MDL-35337.
Warning: Illegal offset type in isset or empty in /integration/master/course/format/renderer.php on line 547
|
|
Unknown course section in course "Course restoration in progress"
|
|
More information about this error
|
Debug info:
|
Error code: unknowncoursesection
|
Stack trace:
|
|
line 467 of /lib/setuplib.php: moodle_exception thrown
|
line 549 of /course/format/renderer.php: call to print_error()
|
line 50 of /course/format/topics/format.php: call to format_section_renderer_base->print_single_section_page()
|
line 279 of /course/view.php: call to require()
|
You should really redirect before you start page output
|
|
|
|
line 789 of /lib/outputrenderers.php: call to debugging()
|
|
line 2634 of /lib/weblib.php: call to core_renderer->redirect_message()
|
|
line 785 of /backup/util/ui/restore_ui_stage.class.php: call to redirect()
|
|
line 105 of /backup/util/ui/restore_ui.class.php: call to restore_ui_stage_process->process()
|
|
line 80 of /backup/restore.php: call to restore_ui->process()
|
|
|
|
This page should automatically redirect. If nothing is happening please use the continue link below.
|
|
Steps to reproduce:
- restore a course as new course from the attach backup file (the backup file was retrieved from World of Water course found at http://school.demo.moodle.net/course/view.php?id=115)
- use the default value
- There should be a conflict for restoring role mappings in step 6 (process) of the restore process.
- select the cancel button
The above error display.
Note: I'm assigning the component field as 'backup' because there is no option for 'restore'. Please feel free to change it to a more proper component.