interactive book

Some content types not accessible in Moodle 3.9.11

Some content types, even though available and working in the content bank, gives the following error when trying to access from the content bank: 

invalid-library-json-file : Could not find library.json file with valid json format for library filesaver-1.0

Call to a member function get_content() Moodle 4.4 in Interactive Book (1.9.5)

When creating an interactive book (1.9.5) in Moodle 4.4, the following error appears:
Exception - Call to a member function get_content() on false
line 258 of /mod/hvp/classes/file_storage.php: Error thrown
line 2538 of /mod/hvp/library/h5p.classes.php: call to mod_hvp\file_storage->cacheAssets()
line 194 of /mod/hvp/classes/view_assets.php: call to H5PCore->getDependenciesFiles()
line 90 of /mod/hvp/classes/view_assets.php: call to mod_hvp\view_assets->getdependencyfiles()

Problem upgrading Interactive Books from version 1.7.12 to 1.9.5 with Moodle plugin 1.27.0 in Moodle 4.1.14

giofonseca's picture

Hi there!

After updating our H5P Moodle plugin to version 1.27.0 (2024091200) in our Moodle 4.1.14 instance, and after updating the H5P content libraries, I tried to upgrade 322 interactive Books from version 1.7.12 to version 1.9.5 but 48 remained in the previous version and the following error appeared in the console during the upgrade process:

►Error TypeError: Cannot read properties of undefined (reading ’split')polyfill.js:138

Pages