Nach Update auf Moodle 4.0 lassen sich H5P-Inhalte nicht mehr aus dem Inhaltsspeicher einbetten

Hallo,

nach dem Update auf Moodle 4.0 lassen sich H5P-Aktivitäten nicht mehr in Textfelder einbetten. Es erscheint die Fehlermeldung:

Fehler in der Kodierung gefunden, den nur Programmierer/innen korrigieren können: The course you passed to $PAGE->set_cm does not correspond to the $cm.
 

Auf Nachfrage beim Moodle-Support wurde mir gesagt, dass das mit der nicht korrekt implementierten Renderer-Funktion zusammenhängt und dass nur die H5P-Entwickler das Problem beheben können. Können Sie mir sagen, was ich tun kann bzw. ob das Problem bald behoben sein wird?

Vielen Dank und herzliche Grüße

Bianca

 ==========================================================================================================

Hello,

 

After updating to Moodle 4.0, H5P activities can no longer be embedded in text fields. The error message appears:

 

Found an error in the coding that only programmers can correct: The course you passed to $PAGE->set_cm does not correspond to the $cm.

 

When I asked Moodle support, I was told that this is related to the renderer function not being implemented correctly and that only the H5P developers can fix the problem. Can you tell me what I can do or if the problem will be fixed soon?

 

Thank you and best regards

 

Bianca

BV52's picture

Hi Bianca,

Would you mind telling us if you are using the  Moodle core integration of H5P (blue icon) or the H5P plugin (black icon). If it is the latter can you pleaes check the plugin version.

-BV

Hallo

 wir verwenden die Moodle-Core-Integration von H5P, also das blaue Symbol. Erstaunlicherweise funktioniert seit heute Mittag das Einbetten der H5P-Inhalte wieder! Vielen Dank, falls Sie sich darum gekümmert haben!

Herzliche Grüße

 

Bianca

Hallo,

wir verwenden die Moodle-Core-Integration von H5P, also das blaue Symbol. Erstaunlicherweise funktioniert seit heute Mittag das Einbetten der H5P-Inhalte wieder! Vielen Dank, falls Sie sich darum gekümmert haben!

Herzliche Grüße

Bianca

otacke's picture

Hi Bianca!

Given that you reference the content bank ("Inhaltsspeicher") I assume you're using moodle's custom H5P integration (instead of the plugin for H5P). That integration was not created by the H5P core team, but by the moodle team, and the H5P core team does not have any experience with moodle's custom integration (like its renderer that may even have been customized by a theme). While it's possible that someone here in the H5P community might know the answer, I guess you're more likely to get support on the moodle community forums.

Best,
Oliver

Hallo,

wir verwenden die Moodle-Core-Integration von H5P, also das blaue Symbol. Erstaunlicherweise funktioniert seit heute Mittag das Einbetten der H5P-Inhalte wieder! Vielen Dank, falls Sie sich darum gekümmert haben!

Herzliche Grüße

Bianca

otacke's picture

Hi Bianca!

As mentioned, the H5P core team has nothing to do with moodle's custom H5P integration. So no, there's nothing that the H5P core team did to fix your issue.

Cheers,
Oliver

p. s.: This is an English speaking forum and unlike myself most forum visitors do not speak German. If you do not speak English well, please use a translation service such as Google Translate. Otherwise, you not only request others to help you here, but you also expect most of them to run your text through a translation service, too.