Uncompatibility with Drupal 11.2.*

Created on 8 July 2025, about 2 months ago

Problem/Motivation

Since updating the core to version 11.2.*, the module is giving several errors and some drush commands cannot be executed, like drush cim, drush uli, drush pmu etc..

Error is:

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 in /var/www/html/web/modules/contrib/migrate_wizard/src/Drush/Commands/MWDrushToolsCommands.php on line 59

And if you try to launch the migration via terminal or try to enter the interface, it gives the following error:

Fatal error: Declaration of Drupal\migrate_wizard\Plugin\migrate\destination\MWEntityMedia::fields() must be compatible with Drupal\migrate\Plugin\migrate\destination\EntityContentBase::fields(): array in /var/www/html/web/modules/contrib/migrate_wizard/src/Plugin/migrate/destination/MWEntityMedia.php on line 119

Steps to reproduce

Update core to the newest version.

๐Ÿ› Bug report
Status

Active

Version

3.0

Component

Code

Created by

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

Merge Requests

Comments & Activities

Production build 0.71.5 2024