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

Issue viewing SCORM reports after upgrading to 3.3

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Cannot Reproduce
    • Affects Version/s: 3.3.4
    • Fix Version/s: None
    • Component/s: SCORM
    • Affected Branches:
      MOODLE_33_STABLE

      Description

      The site has recently been upgraded from version 2.6.11 to 3.3.4 (Moodle 2.6.11 > 2.7.20 > 3.0.10 > 3.3.4)

      Now when viewing the SCORM reports (Basic report, Interactions report and Objective reports) no report results are displayed. With debugging enabled the following error is displayed. The page loads near instantly so it doesn't appear to be any sort of PHP memory issue or timeout.

      Fatal error: Cannot use object of type stdClass as array in path/to/moodle/code/lib/tablelib.php on line 493

      Prior to the upgrade, the SCORM reports loaded as expected.

      The 'Graph report' is displaying as expected.

      I've switched to Boost / clean theme and I get the same results.

      All courses are affected by this problem, along with courses created after the upgrade.

      My only thought as to why this might be happening is due to the size of one of the SCORM tables in the database which is large - mdl_scorm_scoes_track - 3.3 GB ~ ~8,965,557 entries - but it worked in version 2.6?

       

       

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              jamie.biddulph Jamie Biddulph
              Participants:
              Component watchers:
              Damyon Wiese, Dan Marsden, Matteo Scaramuccia, Adrian Greeve, Jake Dallimore, Mathew May, Mihail Geshoski, Peter Dias
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: