On a D8 Opigno install, the Fill in the Blank answer type will not display. It can be edited normally, but when loading for an end user, we get the following error:
Uncaught TypeError: can't access property "prototype", Question is undefined
Blanks http://XXXX/sites/default/files/h5p/libraries/H5P.Blanks-1.12/js/blanks.js?quqylu:123
<anonymous> http://XXXX/sites/default/files/h5p/libraries/H5P.Blanks-1.12/js/blanks.js?quqylu:924
blanks.js:123:3
Uncaught TypeError: can't access property "Cloze", Blanks is undefined
<anonymous> http://XXXX/sites/default/files/h5p/libraries/H5P.Blanks-1.12/js/cloze.js?quqylu:17
<anonymous> http://XXXX/sites/default/files/h5p/libraries/H5P.Blanks-1.12/js/cloze.js?quqylu:231
cloze.js:17:3
Unable to find constructor for: H5P.Blanks 1.12 h5p.js:976:13
error http://XXXX/modules/contrib/h5p/vendor/h5p/h5p-core/js/h5p.js?v=1.0:976
newRunnable http://XXXX/modules/contrib/h5p/vendor/h5p/h5p-core/js/h5p.js?v=1.0:895
init http://XXXX/modules/contrib/h5p/vendor/h5p/h5p-core/js/h5p.js?v=1.0:137
jQuery 2
init http://XXXX/modules/contrib/h5p/vendor/h5p/h5p-core/js/h5p.js?v=1.0:93
<anonymous> http://XXXX/modules/contrib/h5p/vendor/h5p/h5p-core/js/h5p.js?v=1.0:2821
jQuery 11
Uncaught TypeError: can't access property "getCopyrights", instance is undefined
getCopyrights http://XXXX/modules/contrib/h5p/vendor/h5p/h5p-core/js/h5p.js?v=1.0:1115
init http://XXXX/modules/contrib/h5p/vendor/h5p/h5p-core/js/h5p.js?v=1.0:174
jQuery 2
init http://XXXX/modules/contrib/h5p/vendor/h5p/h5p-core/js/h5p.js?v=1.0:93
<anonymous> http://XXXX/modules/contrib/h5p/vendor/h5p/h5p-core/js/h5p.js?v=1.0:2821
jQuery 11
The activity never loads, and the Loading spinner never stops.
The error seems similar to the one for a different H5P component: https://www.drupal.org/project/h5p/issues/3169008 β
The remedy there to turn off JS aggregation did not help here.
Active
Code
Not all content is available!
It's likely this issue predates Contrib.social: some issue and comment data are missing.