- Issue created by @whereiam
- 🇪🇸Spain alvolvfdez
I believe this has already been resolved in: https://www.drupal.org/project/migrate_wizard/issues/3534668#comment-162... 🐛 Uncompatibility with Drupal 11.2.* Active
The migrate_wizard module is incompatible with the latest version of migrate_tools (6.x) and PHP 8+, causing fatal errors when running Drush commands.
1. Install migrate_wizard 3.0.x with migrate_tools 6.x
2. Run any drush command (e.g., `drush status` or `drush deploy`)
3. Observe the fatal error
PHP Fatal error: Declaration of Drupal\migrate_wizard\Drush\Commands\MWDrushToolsCommands::create(Symfony\Component\DependencyInjection\ContainerInterface $container): Drupal\migrate_wizard\Drush\Commands\MWDrushToolsCommands must be compatible with Drupal\migrate_tools\Drush\Commands\MigrateToolsCommands::create(Symfony\Component\DependencyInjection\ContainerInterface $container): static
Drush commands should work without fatal errors.
1. Return type mismatch: The `create()` method returns `self` instead of `static`
2. Constructor signature: Missing required dependencies for migrate_tools 6.x (TimeInterface, TranslationInterface, MigrationDrushCommandProgress)
3. Service configuration: `drush.services.yml` has outdated service arguments
Update the MWDrushToolsCommands class to be compatible with the latest migrate_tools module:
1. Change return type from `self` to `static` in the `create()` method
2. Add missing dependencies to constructor
3. Update service arguments in `drush.services.yml`
Active
3.0
Code
I believe this has already been resolved in: https://www.drupal.org/project/migrate_wizard/issues/3534668#comment-162... 🐛 Uncompatibility with Drupal 11.2.* Active