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

notices in the Scorm module

    XMLWordPrintable

Details

    • Bug
    • Resolution: Cannot Reproduce
    • Minor
    • None
    • 2.3
    • SCORM
    • MOODLE_23_STABLE

    Description

      Managed to trigger these notices when updating a scorm activity and changing the package. (Note I have used this package before and in fact made this change before as well, not sure what triggered these notices this time only).

      Notice: Undefined variable: sco in /var/www/development/mod/scorm/locallib.php on line 1513
      Notice: Trying to get property of non-object in /var/www/development/mod/scorm/locallib.php on line 1513
      Notice: Undefined property: stdClass::$sco in /var/www/development/mod/scorm/player.php on line 137
      Notice: Trying to get property of non-object in /var/www/development/mod/scorm/player.php on line 154
      Notice: Trying to get property of non-object in /var/www/development/mod/scorm/player.php on line 157
      Notice: Trying to get property of non-object in /var/www/development/mod/scorm/player.php on line 158
      Notice: Trying to get property of non-object in /var/www/development/mod/scorm/player.php on line 167

      These were found when adding a scorm activity as a teacher and then viewing it as a student.

      Cheers
      Sam

      Attachments

        Activity

          People

            danmarsden Dan Marsden
            samhemelryk Sam Hemelryk
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Clockify

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