In case the video is missing, please go to the Moodle Academy webinar. It is a significantly extended version of this talk.
In case the video is missing, please go to the Moodle Academy webinar. It is a significantly extended version of this talk.
That is it!
I repeat the solution for those who come here with the same problem:
In ./mod/hvp/library/h5p.classes.php
- 5042 if (str_contains($match[1], 'font-family')) {
+ 5042 if (strpos($match[1], 'font-family') !== false) {
It is indeed the ./mod/hvp/library in Moodle 4.1.14 which broke compatibility with PHP 7.4. See https://github.com/h5p/h5p-php-library/pull/193.
So, the matter is SOLVED with a "code hack". I hope the developer will take a second look. Moodle 4.1 LTS compatible with PHP 7.4 is (security) supported till December 2025!
A final question though: Can I (should I) re-enable the “Download available H5P content types from h5p.org” scheduled task now? This site, Moodle 4.1 LTS / PHP 7.4 has a bulk of H5P content created with both plug-ins. It just has to run till the Spring 2025!
Thanks for coming back. No, I'm not sure what is causing the problem. I've missed the screenshot in my first post. I attach to to this post.
Otherwise everything I said in that post applies.
So far I've found that all "Interactive content" are defective. There are many other H5P content which are OK. Yes, I disabled the “Download available H5P content types from h5p.org” scheduled task - but only on the 17th inst.
Yes both H5P plugins are active.