interactive book

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

error: call to undefined function str_contains() MOODLE 3.10

The interactive book content is not responding due to the following error: call to undefined function str_contains(). This occurs only when re-entering the content. According to my research, this is due to the PHP version, which needs to be 8, as I have Moodle version 3.10 and do not have that version of PHP. I would appreciate your prompt attention to this matter. Thank you very much.

 

Pages