COURSE PRESENTATION: Edit content loading forever, cannot edit

clemontrealwebmaster's picture

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's picture

here is the console log error

Attachments: 
BV52's picture

Hi clemontrealwebmaster,

I created a bug report for this and you follow the progress here.

-BV52

icc's picture

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's picture

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's picture

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's picture

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.