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

Creating default object from empty value warning in scorm

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Won't Fix
    • Affects Version/s: 2.6.2
    • Fix Version/s: None
    • Component/s: SCORM
    • Labels:
    • Affected Branches:
      MOODLE_26_STABLE

      Description

      Creating a scorm activity using the process in MDL-44066 (not sure if its important or not). I received the following warning.

      Warning: Creating default object from empty value in /home/andrew/Desktop/code/moodle/int/master/mod/scorm/datamodels/scormlib.php on line 359
      Call Stack

      1. Time Memory Function Location
        1 0.0014 367840
        Unknown macro: {main}

        ( ) ../modedit.php:0
        2 0.2862 8572704 add_moduleinfo( ) ../modedit.php:270
        3 0.2906 8630272 scorm_add_instance( ) ../modlib.php:105
        4 0.3259 8813464 scorm_parse( ) ../lib.php:162
        5 0.3384 9111088 scorm_parse_scorm( ) ../locallib.php:277
        6 0.3458 9292840 scorm_get_manifest( ) ../scormlib.php:543
        7 0.3460 9294344 scorm_get_manifest( ) ../scormlib.php:75
        8 0.3461 9295712 scorm_get_manifest( ) ../scormlib.php:95
        9 0.3462 9429880 scorm_get_manifest( ) ../scormlib.php:115
        10 0.3463 9434432 scorm_get_manifest( ) ../scormlib.php:163

      It appears five times but they are all identical.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                danmarsden Dan Marsden
                Reporter:
                andyjdavis Andrew Davis
                Participants:
                Component watchers:
                Damyon Wiese, Dan Marsden, Matteo Scaramuccia, Adrian Greeve, Mihail Geshoski, Peter Dias
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: