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
| Comment | File | Size | Author |
|---|---|---|---|
| #3 | cron_error_with_php8-3312944-3.patch | 545 bytes | pguillard |
Comments
Comment #2
pguillard commentedComment #3
pguillard commentedComment #4
swentel commentedInterresting, 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).
Comment #5
swentel commentedwill mark this duplicate of #3138005: Batch is not executed during cron run, that has a sweet approach to fix.