[warning] Undefined array key "items-limit" QueueCommands.php:66

Created on 1 December 2022, almost 2 years ago
Updated 6 November 2023, about 1 year ago

Problem/Motivation

Hello community.

I've faced an issue with running the enqueue command with drush.

The error message looks like below

[warning] Undefined array key "items-limit" QueueCommands.php:66

Steps to reproduce

During the running drush command:

drush warmer:enqueue <plugin_id> --run-queue

I see the message described above. But the entire warming process is working correctly.

Proposed resolution

Add a missing array key into the drush commands service call in:

<modules path>/warmer/src/Commands/WarmerCommands.php:114

Environment

Drupal core: 9.4.8
PHP: 8.1.12
Warmer module version: 2.0.8

🐛 Bug report
Status

Fixed

Version

2.0

Component

Code

Created by

🇺🇦Ukraine ysamoylenko

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

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.71.5 2024