After updating libraries certain text heavy plugins don't work

A large number of plugins that rely heavily on text no longer show since upgrading from a very early 1.1 or 1.2 H5p player plugin in Wordpress. Wordpress is on 4.7. All libraries where updated to the latest release along with created content having its caches rebuilt but the content no longer appears. The creation page works but the finished content doesn’t show in the dashboard or site anymore. I'm not sure if they are loading into the dom anymore. The action bar will still show if selected but no content. I will check it's not a animation problem.

You can view some of the content made for other pages long ago that worked on a test page. Password 'H5P Test'

https://www.southlakessafarizoo.com/test-dec/ 

Noted broken plugins

  • Single Choice Set
  • Summary
  • Question Set
  • Board Game

 

Sometimes Working

  • Dialog Cards
  • True/False

 

Working

  • Memory Game

 

papi Jo's picture

https://www.southlakessafarizoo.com/test-page-dec-2016/

this triggers:

404 Not Found
Sorry, we couldn't find what you're looking for.

 

tomaj's picture

I'm not getting any h5p errors on your page. Is the problem resolved?

papi Jo's picture

Here are the error messages found in console upon entering your test page:

Uncaught SyntaxError: Invalid regular expression: missing /
h5p.js?ver=1.7.7:74 Unable to find constructor for: H5P.SingleChoiceSet 1.7
H5P.error @ h5p.js?ver=1.7.7:74
H5P.newRunnable @ h5p.js?ver=1.7.7:62
(anonymous) @ h5p.js?ver=1.7.7:9
each @ jquery.js?ver=1.7.7:1
each @ jquery.js?ver=1.7.7:1
H5P.init @ h5p.js?ver=1.7.7:7
(anonymous) @ h5p.js?ver=1.7.7:156
c @ jquery.js?ver=1.7.7:1
fireWith @ jquery.js?ver=1.7.7:1
ready @ jquery.js?ver=1.7.7:1
H @ jquery.js?ver=1.7.7:1
h5p.js?ver=1.7.7:128 Uncaught TypeError: Cannot read property 'on' of undefined
    at Object.H5P.on (h5p.js?ver=1.7.7:128)
    at HTMLDivElement.<anonymous> (h5p.js?ver=1.7.7:16)
    at Function.each (jquery.js?ver=1.7.7:1)
    at init.each (jquery.js?ver=1.7.7:1)
    at Object.H5P.init (h5p.js?ver=1.7.7:7)
    at HTMLDocument.<anonymous> (h5p.js?ver=1.7.7:156)
    at c (jquery.js?ver=1.7.7:1)
    at Object.fireWith [as resolveWith] (jquery.js?ver=1.7.7:1)
    at Function.ready (jquery.js?ver=1.7.7:1)
    at HTMLDocument.H (jquery.js?ver=1.7.7:1)

Can you empty the https://www.southlakessafarizoo.com/wp-content/uploads/h5p/cachedassets/ directory?

Unfortunatley clearing this cache hasnt helped.

Is clearing this folder now any help wp-content/uploads/h5p/temp

tomaj's picture

I don't see any error in your console. And I don't see any h5p on the test page either.