-
Bug
-
Resolution: Cannot Reproduce
-
Minor
-
None
-
4.2.8, 4.3.5
-
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.