Interactive book with fill in the blanks and drag the words
In 2022, I created a relatively complex and multi-part course as an ‘interactive book’ that I would now like to offer again. When updating some content, I received the following error message when saving: ‘count(): Argument #1 ($value) must be of type Countable|array, null given’.
While searching for the cause of the error, I first noticed that the question types ‘fill in the blanks’ and ‘drag the words’ were apparently responsible. I also noticed that both types are no longer part of the ‘interactive book’. Since when and for what reasons were they deleted? Or is the problem with my moodle?
Remarkably, the question types work without any problems in the unmodified book, only when saving does the error message appear. Is there a solution to this?
I will ask my administrator about the version of moodle and possible updates. But maybe the solution is already known.
BV52
Tue, 03/25/2025 - 23:45
Permalink
Hi JanKeupp,Fill in the
Hi JanKeupp,
Fill in the Blanks and Drag the Words were not removed from Interactive Book (Screenshot attached). This could be an issue with your plugin, the H5P librares or something else. It will help if you can provide more information about the issue. This page can help guide you in the process: https://snordian.de/2024/02/17/how-can-i-craft-an-effective-bug-report-f...
-BV
JanKeupp
Sat, 04/12/2025 - 17:05
Permalink
Next Problem: incomplete attempt report
Thank you so much, it is indeed a problem with our Moodle platform that the support team unfortunately can't get to handle. At least we found a workaround. We downloaded the ‘black’ modules and re-imported them as ‘blue’ ones. Now I can edit them. Unfortunately, another problem has arisen: the attempt report only shows the basic information: start date, completion, duration, outcome and total score. Unfortunately, the students' specific answers are not displayed. The problem can be found here: https://github.com/h5p/h5p-interactive-book/issues/165, as described by another user.
I hope I'm expressing myself reasonably clearly. Unfortunately, I'm just a simple user who has put a lot of effort into creating a course and now hopes to be able to run it in an appropriate way.
JanKeupp
Sat, 04/12/2025 - 17:06
Permalink
Next problem: incomplete attempt report
Here a screenshot of the report.
BV52
Mon, 04/14/2025 - 19:37
Permalink
Hi JanKeupp,Unfortunately,
Hi JanKeupp,
Unfortunately, what you are using and reporting is the H5P core integration into Moodle which was created by the Moodle core team not H5P. I suggest that you post your question in the Moodle's forum: https://moodle.org/mod/forum/view.php?id=8603
-BV