Image Hotspot Error
Submitted by jposton on Wed, 03/24/2021 - 18:03
We are using H5P as a plug-in to Moodle. We embedded a graphic with hotspots as HTML using the label tool, but we keep getting an invalid parameter pop-up message. The hotspots work, but we want to get rid of the pop-up. I was asked by the Moodle admin to ask H5P about this. We are using Moodle 3.8.8. We have the plug-in for H5P. We are using Classic Theme and Chrome browser. Any ideas?
Thu, 03/25/2021 - 05:19
Hi!Whatever it is, it's not
Whatever it is, it's not created by H5P.
Thu, 03/25/2021 - 13:21
It is H5P PHP Config Issue
I did find where this has happened before in a post on this site. Here is a link to that information:
When I turned on the debugging mode for Moodle I got this information:
Missing required key in single structure: year
Error code: invalidparameter
* line 315 of /lib/externallib.php: invalid_parameter_exception thrown
* line 223 of /lib/externallib.php: call to external_api::validate_parameters()
* line 59 of /lib/ajax/service.php: call to external_api::call_external_function()
If anyone has any other ideas let me know. I do know there have been changes to the plug-in lately with the advent of the OER hub and its inclusion in the Moodle plug-in. We just did the update to the Moodle plug-in for H5P, but it may not have the changes from the OER Hub. Thanks, Janice
Thu, 03/25/2021 - 14:48
Hi!I don't know how moodle
I don't know how moodle works internally, but they have a bug latetely that's related to the calendar - and since your problem states "Missing required key in single structure: year", that bug in moodle might be the problem. Please cmp. https://moodle.org/mod/forum/discuss.php?d=419980
Googling for that term also yielded posts that are linked to the calendar. For instance, one person reports that "block_calendar_month" caused the issue.
Wed, 08/18/2021 - 18:18
I have the same problem. May be it's triggered before getting some data. Or perhaps it's triggered by an Event before your mouse is in place. I don't really know.