Fatal error in Drush command class

Created on 8 March 2023, over 1 year ago

Problem/Motivation

The following error is thrown when bootstrapping Drush (v11.5.1) in Drupal 10:

PHP Fatal error:  Type of Drupal\stage_file_proxy\Commands\StageFileProxyCommands::$logger must be ?Psr\Log\LoggerInterface (as in class Drush\Commands\DrushCommands) in /var/www/docroot/modules/contrib/stage_file_proxy/src/Commands/StageFileProxyCommands.php on line 17

Steps to reproduce

Install this module and run any drush command.

Proposed resolution

Remaining tasks

User interface changes

API changes

Data model changes

πŸ› Bug report
Status

Closed: duplicate

Version

2.0

Component

Code

Created by

πŸ‡ΊπŸ‡ΈUnited States jhedstrom Portland, OR

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

Comments & Activities

Production build 0.69.0 2024