-
Bug
-
Resolution: Duplicate
-
Minor
-
None
-
4.0.2
-
None
-
Ubuntu 20.04
Apache
MariaDB
PHP 8.0
-
MySQL
-
MOODLE_400_STABLE
-
Steps to reproduce:
- Requires a fresh install of Moodle to reproduce.
- Turn on debugging:
- Run the scheduled task: \core\task\h5p_get_content_types_task
Result:
Download available H5P content types from h5p.org
Execute scheduled task: Download available H5P content types from h5p.org (core\task\h5p_get_content_types_task)
... started 18:11:42. Current memory use 13.8 MB.
Warning: Undefined array key "libraryId" in /var/www/html/h5p/classes/core.php on line 280
... used 25 dbqueries
... used 2.992928981781 seconds
Scheduled task failed: Download available H5P content types from h5p.org (core\task\h5p_get_content_types_task),Coding error detected, it must be fixed by a programmer: moodle_database::update_record_raw() id field must be specified.
Backtrace:
- line 1619 of /lib/dml/mysqli_native_moodle_database.php: call to mysqli_native_moodle_database->update_record_raw()
- line 291 of /h5p/classes/core.php: call to mysqli_native_moodle_database->update_record()
- line 215 of /h5p/classes/core.php: call to core_h5p\core->fetch_content_type()
- line 69 of /lib/classes/task/h5p_get_content_types_task.php: call to core_h5p\core->fetch_latest_content_types()
- line 253 of /lib/cronlib.php: call to core\task\h5p_get_content_types_task->execute()
- line 167 of /admin/cli/scheduled_task.php: call to cron_run_inner_scheduled_task()
- duplicates
-
MDL-74895 h5p_get_content_types_task failing on fetch_latest_content_types()
-
- Closed
-