• Resolved Iulia Cazan

    (@iulia-cazan)


    Hi,

    The plugin created a fatal error currently, please review:
    [17-Mar-2026 10:59:47 UTC] PHP Fatal error: Class H5PWordPress contains 1 abstract method and must therefore be declared abstract or implement the remaining methods (H5PFrameworkInterface::resetHubOrganizationData) in /…/h5p/public/class-h5p-wordpress.php on line 3

    Thank you!

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author makmentins

    (@makmentins)

    Hello!

    I suspect you may be cloning the plugin directly from the GitHub repository? In that case you need to ensure that you’ve run git submodule update –init –recursive, as per the installation guidelines. The master branch currently contains some functions not supported by WordPress, however the official release is pointing to the correct commits for submodules.

    Thread Starter Iulia Cazan

    (@iulia-cazan)

    Hi,

    I am installing the plugin from WordPress repo, through composer, which feeds the package from here https://wordpress.org/plugins/h5p/:
    composer require wpackagist-plugin/h5p

    Any suggestions?

    Thank you!

    Plugin Author makmentins

    (@makmentins)

    I just tested a completely fresh setup to test whether composer is indeed serving the correct files with "wpackagist-plugin/h5p": "^1.17" and it seems the submodules have the correct code in this case too, so it doesn’t seem to be a packaging problem.

    Perhaps you could provide some more details about your composer setup, and how exactly the h5p plugin is fetched? And what version it was updated from? Potentially removing it from composer (composer remove wpackagist-plugin/h5p) and re-running composer require wpackagist-plugin/h5p might help. Essentially, the problem for you seems to be that files in the h5p/h5p-php-library directory are not up-to-date.

    Thread Starter Iulia Cazan

    (@iulia-cazan)

    Removing and adding it back did the trick, it must have been some composer cache on my end.
    Thank you so much for assisting with this, it works now!

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

You must be logged in to reply to this topic.