PHP Fatal Error after drush cim

Created on 21 September 2023, 9 months ago
Updated 5 January 2024, 6 months ago

Hello all,

Problem/Motivation

I've told about the other error message on that issue 🐛 PHP Fatal Error after drush cex RTBC and thanks to @paulrad, it was solved very fast.

After exporting my configuration, I pull the yml files to the test environment and try to import with drush cim, but this time I get the error message below:

➜  git:(test) dirush cim
+-------------+------------------+-----------+
| Collection  | Config           | Operation |
+-------------+------------------+-----------+
|             | boost.settings   | Create    |
|             | core.extension   | Update    |
+-------------+------------------+-----------+

 Import the listed configuration changes? (yes/no) [yes]:
 > 

 [notice] Synchronized extensions: install boost.
> 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/geoperformans/web/modules/contrib/boost/src/Commands/BoostCommands.php on line 16
>  [warning] Drush command terminated abnormally.

In ProcessBase.php line 171:
                                                                                                                                                                                                                  
  Unable to decode output into JSON: Syntax error                                                                                                                                                                
                                                                                                                                                                                                                  
  Fatal error: Type of Drupal\boost\Commands\BoostCommands::$logger must be ?Psr\Log\LoggerInterface (as in class Drush\Commands\DrushCommands) in /var/www/html/geoperformans/web/modules/contrib/boost/src/Com  
  mands/BoostCommands.php on line 16 

What could be the reason for this?

Best,
Orkut

🐛 Bug report
Status

Closed: duplicate

Version

1.0

Component

Code

Created by

🇹🇷Turkey Orkut Murat Yılmaz

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

Comments & Activities

Production build 0.69.0 2024