"Moodle error mdb->get_record() found more than one record" H5P
Submitted by Emad Samir on Tue, 11/21/2023 - 10:42
Forums:
I was trying to create interactive video using h5p and now whenever i try to click on the content bank it shows this error:
Error: mdb->get_record() found more than one record!
- line 1683 of /lib/dml/moodle_database.php: call to debugging()
- line 1643 of /lib/dml/moodle_database.php: call to moodle_database->get_record_sql()
- line 1622 of /lib/dml/moodle_database.php: call to moodle_database->get_record_select()
- line 215 of /h5p/classes/api.php: call to moodle_database->get_record()
- line 241 of /h5p/classes/api.php: call to core_h5p\api::get_content_from_pluginfile_url()
- line 130 of /h5p/classes/player.php: call to core_h5p\api::create_content_from_pluginfile_url()
- line 52 of /contentbank/contenttype/h5p/classes/content.php: call to core_h5p\player->__construct()
- line 219 of /contentbank/classes/contentbank.php: call to contenttype_h5p\content->is_view_allowed()
- line 65 of /contentbank/index.php: call to core_contentbank\contentbank->search_contents()
I think The error message indicates a problem related to database records
and the retrieval of content in the H5P plugin for Moodle but i don't know how to solve it
BV52
Tue, 11/21/2023 - 18:02
Permalink
Hi Emad,We did not create the
Hi Emad,
We did not create the version of H5P that utilizes the content bank instead it was created by the Moodle core team. Although I don't doubt that someone from the community may have some suggestion you will have better luck in Moodle's forum.
-BV