Unable to find constructor for: H5P.Column 1.7
Submitted by guillermomrv on Mon, 07/19/2021 - 23:27
Forums:
Hi, I have been searching on google for this error a lot and nothing works.
im using moodle on a normal webpage and it works fine!, then i have migrate just the samecode to docker, at the beginning it works but now i got this error and i dont know why is it, can anyone please help me:
version.php$version = 2017111304.00; $release = '3.4.4 (Build: 20180709)'; // Human-friendly version name $branch = '34'; // This version's branch. $maturity = MATURITY_STABLE; // This version's maturity level.
this is the error in the console on the browser:
Unable to find constructor for: H5P.Column 1.7 H5P.error @ h5p.js?ver=2018053100:861 H5P.newRunnable @ h5p.js?ver=2018053100:784 (anonymous) @ h5p.js?ver=2018053100:132 each @ jquery.js?ver=2018053100:2 each @ jquery.js?ver=2018053100:2 H5P.init @ h5p.js?ver=2018053100:92 (anonymous) @ h5p.js?ver=2018053100:2137 c @ jquery.js?ver=2018053100:2 fireWith @ jquery.js?ver=2018053100:2 ready @ jquery.js?ver=2018053100:2 H @ jquery.js?ver=2018053100:2 h5p.js?ver=2018053100:1774 Uncaught TypeError: Cannot read property 'on' of undefined at Object.H5P.on (h5p.js?ver=2018053100:1774) at HTMLDivElement.<anonymous> (h5p.js?ver=2018053100:205) at Function.each (jquery.js?ver=2018053100:2) at init.each (jquery.js?ver=2018053100:2) at Object.H5P.init (h5p.js?ver=2018053100:92) at HTMLDocument.<anonymous> (h5p.js?ver=2018053100:2137) at c (jquery.js?ver=2018053100:2) at Object.fireWith [as resolveWith] (jquery.js?ver=2018053100:2) at Function.ready (jquery.js?ver=2018053100:2) at HTMLDocument.H (jquery.js?ver=2018053100:2)
Content types:
otacke
Tue, 07/20/2021 - 19:38
Permalink
Hi guillermomrv!Seems you're
Hi guillermomrv!
Seems you're missing (a very old version of) H5P.Column that was not moved over to the Docker image correctly. You'd have to (build and) install that.
Cheers,
Oliver
guillermomrv
Fri, 07/23/2021 - 21:26
Permalink
Hi Otacke, im going to try it
Ill try it and then i will tell you if everything is fine.
Thanks