Queue workers are broken

Created on 20 October 2023, about 1 year ago
Updated 14 December 2023, 11 months ago

Problem/Motivation

When you run cron you should see the following error:

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

Steps to reproduce

Run cron.

Proposed resolution

  1. Take into account that the parent class has a constructor.
  2. Since the class code of both plugins is completely the same, create a base class for them.
  3. Ensure that the user entity is found based on E-mail and that the user entity isn't a pre-defined entity created during the enabling installation profile.
πŸ› Bug report
Status

Fixed

Version

4.0

Component

Code

Created by

πŸ‡ΊπŸ‡¦Ukraine chmez πŸ‡ΊπŸ‡¦ Lviv

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