Problem/Motivation

Module can't be installed on D10

Steps to reproduce

On a fresh install of D10 installing migrate_upgrade via drush gives:

PHP Fatal error: Type of Drupal\migrate_upgrade\Commands\MigrateUpgradeCommands::$logger must be ?Psr\Log\LoggerInterface (as in class Drush\Commands\DrushCommands) in /var/www/html/test/new/soltec_drupal_mysql/modules/contrib/migrate_upgrade/src/Commands/MigrateUpgradeCommands.php on line 20
> [warning] Drush command terminated abnormally

Comments

azaril created an issue. See original summary.

inder_jeet’s picture

I am facing a similar problem

opdavies’s picture

I found the same issue today and had to roll back to Drupal 9.5.

  • heddn committed d96f1e33 on 4.0.x
    Issue #3328244 by heddn: logger problem with D10
    
heddn’s picture

Status: Active » Fixed

This should now be fixed. Thanks for your report of the issue.

heddn’s picture

Title: logger problem with D10 » logger problem with Drush 11 (Needed for D10)

Status: Fixed » Closed (fixed)

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