The email_confirmer_requests queue worker plugin is not constructed correctly

Created on 14 August 2023, over 1 year ago
Updated 10 September 2023, over 1 year 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.71.5 2024