Drush command TypeError: call_user_func_array()

Created on 7 February 2023, almost 2 years ago
Updated 8 February 2023, almost 2 years ago

Problem/Motivation

TypeError: call_user_func_array(): Argument #1 ($callback) must be a valid callback, non-static method Drupal\image_style_warmer\BatchService::warmUpFileProcess() cannot be called statically in _drush_batch_worker() 

Steps to reproduce

- install 1.1
- `drush image-style-warmer:warm-up`

Proposed resolution

add 'static' to defined functions

πŸ› Bug report
Status

Closed: outdated

Version

1.1

Component

Code

Created by

πŸ‡ΊπŸ‡ΈUnited States wweibel

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

Comments & Activities

Production build 0.71.5 2024