I'm having an issue where my H5P assets are not loading in my 3.11.2 Moodle site.
Unable to find constructor for: H5P.CoursePresentation
A forum post on the H5P site suggested that I add $CFG->mod_hvp_aggregate_assets = '0'; to the config file on the LMS. However, there are no resources within Moodle to this line, no other forum posts to go off and it is not referenced in the sample config file provided by Moodle either.
Upon testing the config, the content now loads.
Does anyone know what this does? Are there any implications that could affect other parts of the site?
Looks like this is javascript code rather than php code.
First thing I usually do is to clear the cache.
Could you try turning off the js cache in moodle and see if that fixes it.
You can either add this line to
config.phpOr disable it via Site administration > Appearance > AJAX and Javascript > Cache Javascript
Refresh and if it works then it was probably just cache. Don't forget to turn it back on.
If it still doesn't work, then try recreating the presentation but one step at a time. Save, test, until it breaks.