H5P no longer working in Wordpress
Submitted by barnabythebear on Thu, 08/30/2018 - 10:17
Hiya,
We have updated our servers and H5P is no longer working in Wordpress.
When I try and view or edit content in the H5P backend in Wordpress I just get a grey, blank screen.
Also, any page that has H5P content will only partially load, so I have had to deactivate the plugin.
What are the server requirement for running H5P? We have PHP 7.2.9
Many thanks,
Nige.
library.northamptoncollege.ac.uk
BV52
Fri, 08/31/2018 - 04:12
Permalink
Hi Nige,The generic H5P part
Hi Nige,
The generic H5P part of the plugin should support PHP versions as low as 5.2. Having said this in order to give your report the best chance of getting answered, please include the following information:
The more information you provide, the quicker the community will be able to fix it and the quicker you'll have a working solution!
-BV52
barnabythebear
Fri, 08/31/2018 - 12:18
Permalink
Hiya,Thanks for the reply. We
Hiya,
Thanks for the reply. We have actually fixed the issue by rolling back our PHP to v7.0
Thank you,
Nige.
BV52
Mon, 09/03/2018 - 03:49
Permalink
Hi Nige,I'm glad you were
Hi Nige,
I'm glad you were able to fix the issue. If you have additional questions feel free to post in the forums.
-BV52
barnabythebear
Mon, 09/03/2018 - 12:11
Permalink
Hiya,I spoke too soon!The
Hiya,
I spoke too soon!
The issue is back.
It happens with both Chrome and Explorer. Wordpress is v4.9.8 and PHP is 7.0.31 and H5P is the latest version and it happens to all content types.
When I go into WP and click on H5P Content, I get the list of all my content as normal. When I clcik on the content name I go into the content view as normal too. However, if I go into edit for any content and make a change and then update, I'm left with a blank. grey screen. If I clcik on H5P content again I see my list but if I clcik on the recently editied content I get the gery screen again. Viewing all undeited content is fine.
Interestingly, I have a couple of activities that I can no loner see that are embeded into Moodle and these are now not displaying in Moodle either.
The WP page for the 'bad' content does not display correctly. The loading of the page seems to hault when it gets to the H5P:
library.northamptoncollege.ac.uk/induction
There should be some H5P under the tabs and some further general content below this.
Thanks,
Nige.
BV52
Mon, 09/03/2018 - 12:31
Permalink
Hi Nige,Can you please
Hi Nige,
Can you please provide items 7-9 above. I'm suspecting that there is an issue somewhere and having those information can give us more clues to what is causing the issue.
-BV
barnabythebear
Mon, 09/03/2018 - 13:34
Permalink
Hi, thanks,I don't get any
Hi, thanks,
I don't get any console or PHP errors (that I can se anyway). All I can show you is the screen when the content disapears:
Thanks
Nige.
slaato
Wed, 09/05/2018 - 11:16
Permalink
We have this exact same same
We have this exact same same problem which Nige described.
BV52
Thu, 09/06/2018 - 05:16
Permalink
Hi slaato,Have you tried
Hi slaato,
Have you tried checking if you have any PHP errors?
-BV52
RevistaHabla
Wed, 09/19/2018 - 17:37
Permalink
Same issue
I can not add new content. See picture.
I can not see details of my previous content. See picture 2.
The posted content is still working on my site.
icc
Thu, 09/20/2018 - 13:00
Permalink
Did you do an upgrade of the
Did you do an upgrade of the plugin before this happened? Did you install the plugin through Git or did you download it?
Try setting the following in your wp-config.php and reload the page:
This should reveal any error messages we need to figure out the problem.
barnabythebear
Mon, 09/03/2018 - 13:45
Permalink
Hi,I should add that changing
Hi,
I should add that changing PHP version (back or forth from 7 - 7.2.9) on our server resets the issue and all seems OK until I edit content again.
Thanks,
Nige
icc
Mon, 09/03/2018 - 16:33
Permalink
It looks like maybe the non
It looks like maybe the non-working PHP installation is missing an extension or something. You should try turning on error messages through the wp-config.php file and reproducing the issue, this should give you a better understanding of what's going wrong.
barnabythebear
Mon, 09/03/2018 - 17:40
Permalink
Thank you,I will give that a
Thank you,
I will give that a go!
Nige.
barnabythebear
Wed, 09/05/2018 - 10:18
Permalink
Hiya,I have added that to the
Hiya,
I have added that to the config file but I'm not sure where to find any eror messages that are generated?
Thank you,
Nige.
barnabythebear
Wed, 09/05/2018 - 11:27
Permalink
Hiya,We have dropped back to
Hiya,
We have dropped back to PHP 5.3 and things are working again.
Thanks
Nige.
icc
Fri, 09/07/2018 - 09:29
Permalink
Nice to hear that you got it
Nice to hear that you got it working. But you should take causing using such an old version of PHP as you may be exposed to security vulnerabilities. You can read more about it here: http://php.net/supported-versions.php
The errors are typically printed in the browser or to the web server's error log.
One other thing you could do is to compare the php.ini settings or phpinfo() between the two different PHP installations. There may be some important extensions that aren't enabled.
RevistaHabla
Wed, 09/19/2018 - 23:45
Permalink
Same issue
I have the same problem but I haven't change anything on my website. One day it was perfect, the next, is not as you can see in the pictures attached.
barnabythebear
Thu, 09/20/2018 - 11:09
Permalink
Hiya,Everythings has worked
Hiya,
Everythings has worked since we dropped back to PHP v5.3, though I don't like the solution much.
Thanks,
Nige.
icc
Fri, 09/21/2018 - 11:37
Permalink
Please see my previous
Please see my previous response.