Visvanath Ratnaweera
Visvanath Ratnaweera的帖子
Although no errors when run manually Task logs (/admin/tasklogs.php) contains these warnings and an error right at the end:
Execute scheduled task: H5P-Inhaltstypen von h5p.org herunterladen (core\task\h5p_get_content_types_task) ... started 18:39:02. Current memory use 22.0 MB.
Deprecated: Creation of dynamic property moodle_phpmailer::$Version is deprecated in moodle/lib/phpmailer/moodle_phpmailer.php on line 50
Deprecated: Creation of dynamic property core_h5p\core::$url is deprecated in ./h5p/h5plib/v124/joubel/core/h5p.classes.php on line 2137
Deprecated: Creation of dynamic property core_h5p\core::$development_mode is deprecated in ./h5p/h5plib/v124/joubel/core/h5p.classes.php on line 2139
Deprecated: Creation of dynamic property core_h5p\core::$aggregateAssets is deprecated in ./h5p/h5plib/v124/joubel/core/h5p.classes.php on line 2141
Deprecated: Creation of dynamic property core_h5p\core::$fullPluginPath is deprecated in ./h5p/h5plib/v124/joubel/core/h5p.classes.php on line 2144
Deprecated: Creation of dynamic property core_h5p\core::$relativePathRegExp is deprecated in ./h5p/h5plib/v124/joubel/core/h5p.classes.php on line 2147
Deprecated: Creation of dynamic property core_h5p\core::$url is deprecated in ./h5p/h5plib/v124/joubel/core/h5p.classes.php on line 2137
Deprecated: Creation of dynamic property core_h5p\core::$development_mode is deprecated in ./h5p/h5plib/v124/joubel/core/h5p.classes.php on line 2139
Deprecated: Creation of dynamic property core_h5p\core::$aggregateAssets is deprecated in ./h5p/h5plib/v124/joubel/core/h5p.classes.php on line 2141
Deprecated: Creation of dynamic property core_h5p\core::$fullPluginPath is deprecated in .h5p/h5plib/v124/joubel/core/h5p.classes.php on line 2144
Deprecated: Creation of dynamic property core_h5p\core::$relativePathRegExp is deprecated in ./h5p/h5plib/v124/joubel/core/h5p.classes.php on line 2147
Deprecated: Creation of dynamic property Moodle\H5PValidator::$h5pCV is deprecated in ./h5p/h5plib/v124/joubel/core/h5p.classes.php on line 791
Warning: Trying to access array offset on null in ./h5p/classes/core.php on line 281 ... used 27 dbqueries ... used 4.6023578643799 seconds
Scheduled task failed: H5P-Inhaltstypen von h5p.org herunterladen (core\task\h5p_get_content_types_task),array_key_exists(): Argument #2 ($array) must be of type array, null given
Backtrace: * line 282 of /h5p/classes/core.php: call to array_key_exists() * 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 263 of /lib/cronlib.php: call to core\task\h5p_get_content_types_task->execute() * line 120 of /lib/cronlib.php: call to cron_run_inner_scheduled_task() * line 73 of /lib/cronlib.php: call to cron_run_scheduled_tasks() * line 178 of /admin/cli/cron.php: call to cron_run()
Could it be a PHP version issue? PHP is 8.1.33. Moodle 4.5.5, mod_hvp 1.27.2 2024120900.
# cd /path/to/moodle
# sudo -u www-data -g www-data php admin/cli/scheduled_task.php --execute=core\\task\\h5p_get_content_types_task
Execute scheduled task: H5P-Inhaltstypen von h5p.org herunterladen (core\task\h5p_get_content_types_task)
... started 18:02:05. Current memory use 14.7 MB.
0 new content types installed
... used 159 dbqueries
... used 3.6450040340424 seconds
Scheduled task complete: H5P-Inhaltstypen von h5p.org herunterladen (core\task\h5p_get_content_types_task)
You must be right about me being confused. It is not only, there's a whole bunch in my vicinity. OK, may be it was my confusion that was transmitted to them.
Let's put that aside and concentrate on my question: "In the example above Advent Calendar (beta) (0.2.5) can be safely deleted, right?"