Image Hotspot Error
Submitted by jposton on Wed, 03/24/2021 - 18:03
Forums:
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?
otacke
Thu, 03/25/2021 - 05:19
Permalink
Hi!Whatever it is, it's not
Hi!
Whatever it is, it's not created by H5P.
Best,
Oliver
jposton
Thu, 03/25/2021 - 13:21
Permalink
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:
https://h5p.org/node/327321
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
otacke
Thu, 03/25/2021 - 14:48
Permalink
Hi!I don't know how moodle
Hi!
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.
Best,
Oliver
Federicomarp
Wed, 08/18/2021 - 18:18
Permalink
Same problem
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.