Problem/Motivation

I found an error when launching cron

Error: Unknown named parameter $details in _drush_batch_worker() (line 256 of /project/vendor/drush/drush/includes/batch.inc). in Consolidation\SiteProcess\ProcessBase->getOutputAsJson() (line 171 of /project/vendor/consolidation/site-process/src/ProcessBase.php).

Steps to reproduce

Launch a drush cron
(according the fact you have files in the imagecache_external_get_directory_path)

Proposed resolution

Remaining tasks

User interface changes

API changes

Data model changes

Comments

pguillard created an issue. See original summary.

pguillard’s picture

Status: Active » Needs review
StatusFileSize
new568 bytes
pguillard’s picture

StatusFileSize
new545 bytes
swentel’s picture

Version: 8.x-1.x-dev » 3.0.x-dev

Interresting, this probably isn't related to PHP version I would guess, but rather drush/core no ?

Will double check, the 3.0.x branch targets D9.3 and higher (and D10 as well).

swentel’s picture

Status: Needs review » Closed (duplicate)

will mark this duplicate of #3138005: Batch is not executed during cron run, that has a sweet approach to fix.