Wrong $logger class?

Created on 27 February 2024, 10 months ago
Updated 11 April 2024, 9 months ago

With drush 11.
When I run drush migrate-upgrade I get

PHP Fatal error: Type of Drupal\migrate_upgrade\Commands\MigrateUpgradeCommands::$logger must be ?Psr\Log\LoggerInterface (as in class Drush\Commands\DrushCommands) in /srv/web/aegir/platforms/cforge/web/modules/migrate_upgrade/src/Commands/MigrateUpgradeCommands.php on line 20
I've never seen this type of error before so struggling to debug it. I don't know where the type is defined or why it would be so catastrophically wrong.

πŸ’¬ Support request
Status

Fixed

Version

4.0

Component

Code

Created by

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

Comments & Activities

Production build 0.71.5 2024