• Resolved wpsiteuser

    (@wpsiteuser)


    First many thanks for developing this fantastic platform! We are really excited to start using h5p for our online classes.

    We installed the h5p plugin for the first time today, but we are unable to create any h5p content. It seems the libraries are unable to load?

    • If I navigate to β€œAll h5p content” i get an error message β€œFailed to load data.”
    • If I navigate to β€œAdd new” there is no embed window with access to the h5p content. I get the following error message:

    Error, unable to load libraries
    Deprecated: Creation of dynamic property H5PWordPress::$plugin_slug is deprecated in /var/www/wptbox/wp-content/plugins/h5p/public/class-h5p-wordpress.php on line 74

    There are also some sanitize_string error messages at the top of the screen.

    _SANITIZE_STRING is deprecated in /var/www/wptbox/wp-content/plugins/h5p/admin/class-h5p-plugin-admin.php on line 553

    Deprecated: Constant FILTER_SANITIZE_STRING is deprecated in /var/www/wptbox/wp-content/plugins/h5p/admin/class-h5p-content-admin.php on line 67
    Deprecated: Constant FILTER_SANITIZE_STRING is deprecated in /var/www/wptbox/wp-content/plugins/h5p/admin/class-h5p-content-admin.php on line 179

     I tried deactivating and deleting the plugin, then installing it again. This time when I navigated to “Add New” I clicked the button asking for consent to connect to the hub, then it said Loading, please wait.. and then again the same “Error, unable to load libraries”

    Error, unable to load libraries.
    Deprecated: Creation of dynamic property H5PWordPress::$plugin_slug is deprecated in /var/www/wptbox/wp-content/plugins/h5p/public/class-h5p-wordpress.php on line 74

    Our hosting provider tech support investigated the issue, they changed the theme, replaced the WordPress core files, restarted the server, and disabled and re-enabled our other plugins.

    Our hosting tech support said: “the php settings from this article [ https://h5p.org/installation/configure-php ]are already implemented. You can check with the developers of this plugin is anything else specific can be implemented on the server, but we did not see anything in the logs. We suspect something is wrong with the plugin files itself. It throws the error: R_SANITIZE_STRING is deprecated in /var/www/wptbox/wp-content/plugins/h5p/admin/class-h5p-plugin-admin.php on line 553″

    Let me know if any additional info would be helpful.

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter wpsiteuser

    (@wpsiteuser)

    I think we have now solved the problem after seeing this previous comment on the wordpress plugin support forum

    https://i.imgur.com/5XPcOuq.png

    Steps to Fix:

    • Opened WP Debugging plugin settings (without deactivating the plugin)
    • Unchecked the checkbox “Set WP_DEBUG to be true”

    now it works and the h5p content loads when I navigate to H5P Content -> Add New πŸ™

    So it seems there may be a conflict with the h5p plugin and the WP Debugging plugin (when it’s actively debugging)

    Plugin Author icc0rz

    (@icc0rz)

    Thanks, we’ll have a closer look at the issue with the debugging plugin!

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Error “unable to load libraries” – Add new menu not working’ is closed to new replies.