There is no purger supporting 'Array'

Created on 9 July 2024, 5 months ago

Problem/Motivation

I got this error when I ran "drush pqa everything -y"
In QueueCommands.php linke 200:
"There is no purger supporting 'Array' Please install one!"

Steps to reproduce

1. update purge from 3.5 to 3.6 in D10.2.7
2. drush updb && drush cr
3. drush pqa everything -y

Proposed resolution

The main issue is caused by setting "expression" argument as array then the argument as array instead of string passes to "queueAddParseExpressions" function again.

So, I proposed to add if condition for checking argument type at the top of function logic like below:
if(!is_string($input->getArguments()['expressions'])) {
return;
}

$raw = trim(implode(" ", $input->getArguments()['expressions']));

Remaining tasks

If 3.6 works in D10.3.x, please set core_version_requirement for Drupal compatibility.

User interface changes

API changes

Data model changes

πŸ› Bug report
Status

Active

Version

3.6

Component

Code

Created by

πŸ‡ΊπŸ‡ΈUnited States parkh

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

Comments & Activities

Production build 0.71.5 2024