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

H5P (Blue) not usable after upgrade

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Cannot Reproduce
    • Icon: Minor Minor
    • None
    • 4.2.8, 4.3.5
    • H5P
    • None
    • MOODLE_402_STABLE, MOODLE_403_STABLE

      Testing instructions

      This Problem appears sometimes moodle upgrades.
      No pattern found to reproduce this.
      If you clone a system, sometimes the problem only occurs on one of ghe systems after upgrade.

      Expected behaviour
      H5P content can be viewed, edited, exported

      Current behaviour
      Sometimes H5P content cannot be viewed.
      Sometimes H5P content cannot be exported.
      H5P content cannot be edited at all.

      Errors:
      When viewing or editing H5P, JS is not loaded:

      Fehler: Call to a member function get_content() on bool

      Weitere Informationen über diesen Fehler

      Debug-Info:
      Error code: generalexceptionmessage
      Stack trace:
      line 729 of /h5p/classes/file_storage.php: Error thrown
      line 254 of /h5p/classes/file_storage.php: call to core_h5p\file_storage->concatenate_files()
      line 2544 of /h5p/h5plib/v126/joubel/core/h5p.classes.php: call to core_h5p\file_storage->cacheAssets()
      line 543 of /h5p/classes/player.php: call to Moodle\H5PCore->getDependenciesFiles()
      line 473 of /h5p/classes/player.php: call to core_h5p\player->get_dependency_files()
      line 242 of /h5p/classes/player.php: call to core_h5p\player->get_assets()
      line 74 of /h5p/embed.php: call to core_h5p\player->add_assets_to_page()

      When examining the error, everything appears to be normal until get_content() is called:
      File id, pathnamehash etc. are matching
      The files are existing and permissions are correct.

       

       

       

       

            Unassigned Unassigned
            ipasanec Immanuel Pasanec
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved:

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