H5P shortcode not working anymore for any content

The shortcode for puzzles/quizzes H5P content is no longer working. Empty rows are displayed on the posts/pages where the shortcode is added.

– I also noticed the following debug error but am not certain if this is related:
Constant FILTER_SANITIZE_STRING is deprecated in /../wp-content/plugins/h5p/admin/class-h5p-plugin-admin.php on line 547

– To reproduce the error I have also attempted to create new blog posts with a H5P shortcode for existing content, but it does not show when published.
– Also, all existing H5P content is visible in the backend and can be edited.
– I have disabled the cache as well.
– An inspection of the rendered code for an embedded H5P content item using a shortcode, shows the following:
<iframe id="h5p-iframe-32" class="h5p-iframe h5p-initialized" data-content-id="32" style="height:1px" src="about:blank" frameborder="0" scrolling="no" title="Do you know these cozy skiing resorts in Europe?"></iframe>

Can you please assist?

PHP version: 8.1
WordPress version: 6.1.1
I have verified that the H5P plugin is updated to the latest version.

  • This topic was modified 1 hour, 2 minutes ago by Chris.
  • This topic was modified 1 hour, 1 minute ago by Chris.
  • This topic was modified 57 minutes ago by Chris.
  • This topic was modified 28 minutes ago by Chris.

 

This site will teach you how to build a WordPress website for beginners. We will cover everything from installing WordPress to adding pages, posts, and images to your site. You will learn how to customize your site with themes and plugins, as well as how to market your site online.

Buy WordPress Transfer