Submitted by twc57 on Wed, 01/13/2016 - 09:31
Received this message upon trying to activate plugin: Fatal error: Cannot use object of type WP_Error as array in /home/talk2tc2/public_html/wp-content/plugins/h5p/public/class-h5p-wordpress.php on line 822
Wed, 01/13/2016 - 10:32
Aha! There seems to be a
Aha! There seems to be a small bug in the system. If you replace the line in question(Line 822 in wp-content/plugins/h5p/public/class-h5p-wordpress.php) with the following:
It should work.
You are seeing this error since WordPress fails to fetch update information for the H5P plugin. It might be that external communications have been disabled on your server. The fix above should handle disabled communications better.
Wed, 01/13/2016 - 10:38
Thank you for pointing out
Thank you for pointing out this issue. It will be fixed in the next version of the plugin.