I am attempting to use the Migrate File Entities to Media Entities module, https://www.drupal.org/project/migrate_file_to_media

I am running Drupal 8.7.10 and drush 9.7.2. in Acquia DevDesktop ver. 2.

When I run the following drush command to generate the YML files it throws an error. I have Googled on vain. Any advice would be appreciated.

    dwinterfeld$ drush generate yml-migrate_file_to_media_migration_media
 [error]  ArgumentCountError: Too few arguments to function Twig\Extension\StagingExtension::addFilter(), 1 passed in /Applications/DevDesktop/tools/vendor/twig/twig/src/ExtensionSet.php on line 222 and exactly 2 expected in Twig\Extension\StagingExtension->addFilter() (line 49 of /Users/dwinterfeld/Sites/devdesktop/d8migration-ode5/vendor/twig/twig/src/Extension/StagingExtension.php) #0 /Applications/DevDesktop/tools/vendor/twig/twig/src/ExtensionSet.php(222): Twig\Extension\StagingExtension->addFilter(Object(Twig\TwigFilter))

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.