Fix for recent issues with the H5P plugin for WordPress

otacke's picture

Hi all!

I know for a fact that H5P Group is working on an official fix for the resent issues with the H5P plugin for WordPress in version 1.17.0 to 1.17.2. So you may just wait a little to get that official fix.

Meanwhile, I have built a small extra plugin called "H5PFixa". I have no intention of making this a permanantly maintained plugin, hence the zip file option only. H5PFixa should fix all the issues that I know of:

  1. The plugin expects an HTTP responce code of 200 and considers anything else in the 2xx range as a failure. The H5P instance cannot fetch a UUID from the H5P Hub server, so fresh instances cannot connect to the H5P Hub.
  2. Version 1.17.0 and 1.17.1 used a wrong naming schema for new library folders, so after updating a content type, files cannot be found anymore and content requiring those files won't show up.
  3. The versioning of the now themed content types is off, which sometimes won't surface but can also cause libraries to not being loaded.

Download the H5PFixa plugin

ENSURE THAT YOU HAVE A BACKUP OF YOUR FILESYSTEM AND OF YOUR DATABASE AND THAT YOU CAN USE IT TO RESTORE THINGS! THIS SHOULD WORK FINE, BUT YOU WILL BE USING THE SOFTWARE AT YOUR OWN RISK.

  • Go to Plugins -> Add Plugins -> Upload Plugin and choose the zip file that you downloaded. After activation, you will see a "H5PFixa" menu option.
  • Click on that option, and run the fix.
  • Report whether that fixes your issues. If not, please create a meaningful (!) report of what still does not work.
BV52's picture

Hi Oliver,

Thank you for the time and effort in creating this. We truly appreciate it.

-BV

otacke's picture

You're welcome!

otacke's picture

One extra hint: You may need to clear your browser cache that it stores for your site before the changes take effect. That is something that cannot be influenced well by H5PFixa.