A SCORM package (attached) with multiple sections in it, compliant to scorm 1.2, gives a strange exception in Moodle 2.0 (works fine in Moodle 1.9).
(Although the attached file points to localhost, the SCORM player should still be able to display the course structure in it, as it does in v1.9 and with other packages.)
The error occurs when going to the scorm course /moodle/mod/scorm/view.php?id=7
- Home
- / ► Courses
- / ► Wiksunde
- / ► Topic 1
- / ► Differnetieren
Debug info: Object of class stdClass could not be converted to string
Stack trace:
- line 309 of \lib\setuplib.php: coding_exception thrown
- line 757 of \lib\outputcomponents.php: call to default_error_handler()
- line 979 of \lib\outputcomponents.php: call to html_writer::tag()
- line 966 of \lib\outputcomponents.php: call to html_writer::select_option()
- line 1173 of \lib\outputrenderers.php: call to html_writer::select()
- line 70 of \lib\outputrenderers.php: call to core_renderer->render_single_select()
- line 734 of \mod\scorm\locallib.php: call to renderer_base->render()
- line 89 of \mod\scorm\view.php: call to scorm_view_display()