- Issue created by @dortega
- ๐ฌ๐งUnited Kingdom roy.watson
This is also happening for me with 10.5.1
I'm adding a temporary solution for the 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
- ๐ฎ๐ณIndia vinodhini.e chennai
vinodhini.e โ made their first commit to this issueโs fork.
- First commit to issue fork.
- ๐ฎ๐ณIndia vinodhini.e chennai
Hi @programeta,
Steps I followed to replicate and test:
1. Installed Drupal core version 11.2.2 locally.
2. Installed the Migrate Wizard module using Composer.
3. Tried to import configuration using drush cim and encountered the same fatal error as reported:
4. Applied Merge Request #31 from the issue queue.After applying the MR, I was able to run Drush commands like drush cim, drush uli, etc., without any errors.
The patch from MR #31 resolves the compatibility issue with Drupal 11.2.2.Thanks!
Ask ChatGPT