Quiz Disappeared after publishing... H5P Error: "Invalid library string: undefined"
So the other day we installed the module onto our Drupal 7 site. I began dropping in content (Question Sets, multiple choice questions). It was working fine and I was able to view the content and quiz immediately. Then all of a sudden, the quiz disappeared. What's wierd is that all the content is still there when I go to edit the page and content in the module. The published page is here https://www.freelock.com/whats-your-website-effectiveness
This is the error we are getting when I inspect the page:
"Invalid library string: undefined"
H5P.error() h5p.js:604
H5P.newRunnable() h5p.js:551
H5P.QuestionSet() js_Wd6L5tb95vVoPktk5oho3svXPPLM7cpbbh1QcMSk_yE.js:2724
H5P.newRunnable() h5p.js:575
H5P.init/$containers<() h5p.js:63
.each() jquery.js:2
b.prototype.each() jquery.js:2
H5P.init() h5p.js:49
<anonymous> h5p.js:1395
b.Callbacks/c() jquery.js:2
b.Callbacks/p.fireWith() jquery.js:2
.ready() jquery.js:2
H() jquery.js:2
-------------------------
We downloaded the newest version of the Drupal 7 module 7.x-1.4 and have also upgraded all H5P libraries, but still cannot seem to drill down to the issue. Anyone have any ideas why 1. the content/module would totally disappear from the page once published, and 2. anyone else experience this javascript error? Might be some conflict? I tried looking in the forums, but couldn't find one that was similar.
Thanks for all your help!
Best,
Don
falcon
Fri, 03/20/2015 - 20:59
Permalink
There are 3 ok questions in
Don Dill
Fri, 03/20/2015 - 21:04
Permalink
That was it!
Hi Falcon,
Yep, you hit the nail on the head, that was it. I had 4 completed questions and 1 that hadn't been completed. I deleted that 5th question and the module reappeared on the page. Thanks for helping out... why are things always such a quick fix, but so easily looked over?? HA.
Thanks!
Don
falcon
Mon, 03/23/2015 - 10:31
Permalink
Great! We'll add a fix for
icc
Mon, 04/20/2015 - 15:15
Permalink
We've added a fix that should
We've added a fix that should remove empty content parameters before the content is run. 8c68f23
Hopefully it will be part of the upcoming release. Thank you for reporting bug :-)