The email_confirmer_requests queue worker plugin is not constructed correctly

Created on 14 August 2023, 11 months ago
Updated 10 September 2023, 10 months ago

The email_confirmer_requests queue worker plugin constructor (DelayedRequestDispatcher::__construct()) is not calling its parent, resulting in a wrong instantiation that makes the cron crashing in some circumstances.

Particularly, on our project we've noticed an error after installing the site, as cron is ran at the end of installation process. We've logged this error:

Warning: Trying to access array offset on value of type null in Drupal\Core\Cron->processQueue() (line 264 of web/core/lib/Drupal/Core/Cron.php)
#0 web/core/lib/Drupal/Core/Cron.php(264)

Actually, the plugin instance is returning NULL as plugin definition.

πŸ› Bug report
Status

Fixed

Version

1.0

Component

Code

Created by

πŸ‡·πŸ‡΄Romania claudiu.cristea Arad πŸ‡·πŸ‡΄

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

Comments & Activities

Production build 0.69.0 2024