call_user_func(): Argument #1 ($callback) must be a valid callback, function "core_event_dispatcher_cron" not found or invalid function name

Created on 3 January 2025, 3 months ago

Problem/Motivation

When a callback doesn't exist anymore, it shows in the cron job list as 'Missing', but an error is still thrown during cron execution:

TypeError: call_user_func(): Argument #1 ($callback) must be a valid callback, function "core_event_dispatcher_cron" not found or invalid function name in call_user_func() (line 325 of /var/web/vd29625/deploy/releases/20241217082209/web/modules/contrib/ultimate_cron/src/Entity/CronJob.php)

Proposed resolution

Handle these kind of errors more gracefully.

🐛 Bug report
Status

Active

Version

1.0

Component

Code

Created by

🇧🇪Belgium dieterholvoet Brussels

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Merge Requests

Comments & Activities

Production build 0.71.5 2024