Problem/Motivation

Using Drush 11 and Drupal 10, drush commands show the following error:

PHP Fatal error: Type of Drupal\config_update_ui\Commands\ConfigUpdateUiCommands::$logger must be ?Psr\Log\LoggerInterface (as in class Drush\Commands\DrushCommands) in /var/www/html/web/modules/contrib/config_update/config_update_ui/src/Commands/ConfigUpdateUiCommands.php on line 0

Removing the $logger variable from ConfigUpdateUiCommands seems to fix the error.

Steps to reproduce

Proposed resolution

Remaining tasks

User interface changes

API changes

Data model changes

Command icon Show commands

Start within a Git clone of the project using the version control instructions.

Or, if you do not have SSH keys set up on git.drupalcode.org:

Comments

Pasqualle created an issue. See original summary.

  • Pasqualle committed deb6665 on 2.0.x
    Issue #3307792 by Pasqualle: $logger must be ?Psr\Log\LoggerInterface
    
pasqualle’s picture

Status: Active » Fixed

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.

AaronELBorg made their first commit to this issue’s fork.