COURSE PRESENTATION: Edit content loading forever, cannot edit
Submitted by clemontrealwebmaster on Mon, 11/05/2018 - 20:13
Forums:
Hi I just updated the H5P plugin to Version 1.11.0 on my Wordpress 4.9.8
All of my old H5Ps work except for the Course presentation type ones I did a month ago. They display properly, but I can no longer edit them. The content loads forever and there seems to be some errors in the browser console log.
If I upload it to H5P online platform the exercice works perfectly. It only seems to have a problem on my WP platform
Content types:
clemontrealwebmaster
Mon, 11/05/2018 - 20:15
Permalink
here is the console log error
here is the console log error
BV52
Tue, 11/06/2018 - 02:50
Permalink
Hi clemontrealwebmaster,I
Hi clemontrealwebmaster,
I created a bug report for this and you follow the progress here.
-BV52
icc
Tue, 11/06/2018 - 11:53
Permalink
Hi,Do you have any custom
Hi,
Do you have any custom plugins or code for H5P? I'm not familiar with the file 'score-tracking.js' which is failing. It's not part of the H5P plugin as far as I can tell.
Could you check your web server 's error_log file for any additional error messages?
Edit: I tried uploading your content to a fresh WordPress/H5P site and it works well there.
clemontrealwebmaster
Tue, 11/06/2018 - 20:28
Permalink
I fixed it
Hi,
The 'score-tracking.js' is a script called from the H5P Mods plugin. It had that by default but there was no such script as I was not using it. For some reason it was not causing a problem before (probably still throwing an error though) but after update it was affectng the display of the presentation editor. So I removed that part of the code from the plugin and now all works perfectly.
BV52
Wed, 11/07/2018 - 01:40
Permalink
Hi clemontrealwebmaster,I'm
Hi clemontrealwebmaster,
I'm glad it's working for you now. If you have additional questions feel free to post in the forums.
-BV52
JRDingwall
Sat, 02/08/2020 - 20:33
Permalink
H5P Mods
I also had that 'score-tracking.js' in my version of H5P Mods plug-in, and so I took it out and updated the plug-in in my WordPress site. The plug-in now causes a critical error for H5P and the activities won't even load, let alone allow me to edit them. Do you have a copy of your plug-in available somewhere that I might be able to compare our code such as GitHub? If yours works I would very much like to follow your example to make sure my H5P Mods plug-in works again.