Hello all,

Thanks for upgrading this beautiful module.

Problem/Motivation

I'm getting the error message which I paste below, after running drush cex:

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

Steps to reproduce

  • Install Drupal 10.1.4
  • Install the module via composer (8.x-1.x-dev) and activate it
  • Visit some pages, in order to create boost cache files
  • Go to terminal and run drush cex
  • You get the error.

What could be done?

Best,
Orkut

Issue fork boost-3388912

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

Orkut Murat Yılmaz created an issue. See original summary.

paulrad’s picture

Assigned: Unassigned » paulrad

paulrad’s picture

Assigned: paulrad » Unassigned
Status: Active » Needs review
orkutmuratyilmaz’s picture

Status: Needs review » Reviewed & tested by the community

@paulrad, thanks for the fast patch. I'm changing the issue's status as RTBC. drush cex works perfectly.

But, now, I have another error with drush cim and I'm going to create another issue for that:)

orkutmuratyilmaz’s picture

C-Logemann made their first commit to this issue’s fork.

c-logemann’s picture

Status: Reviewed & tested by the community » Fixed

@paulrad Many thanks for fixing this issue.

Status: Fixed » Closed (fixed)

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