Hello,

On a fresh Drupal install (8.1.10) with the standard profile, without content.

If I enable the content translation module and then enable the workspace module (multiversion is a dependency). In separate drush commands.

I have the following fatal error:

PHP Fatal error: Class 'Drupal\migrate\Event\MigrateEvents' not found in /project/www/core/modules/migrate/src/MigrateExecutable.php on line 180
PHP Stack trace:
PHP 1. {main}() /project/www/vendor/drush/drush/drush.php:0
PHP 2. drush_main() /project/www/vendor/drush/drush/drush.php:12
PHP 3. Drush\Boot\BaseBoot->bootstrap_and_dispatch() /project/www/vendor/drush/drush/includes/preflight.inc:66
PHP 4. drush_dispatch() /project/www/vendor/drush/drush/lib/Drush/Boot/BaseBoot.php:67
PHP 5. call_user_func_array:{/project/www/vendor/drush/drush/includes/command.inc:199}() /project/www/vendor/drush/drush/includes/command.inc:199
PHP 6. drush_command() /project/www/vendor/drush/drush/includes/command.inc:199
PHP 7. _drush_invoke_hooks() /project/www/vendor/drush/drush/includes/command.inc:231
PHP 8. call_user_func_array:{/project/www/vendor/drush/drush/includes/command.inc:422}() /project/www/vendor/drush/drush/includes/command.inc:422
PHP 9. drush_pm_enable() /project/www/vendor/drush/drush/includes/command.inc:422
PHP 10. drush_module_enable() /project/www/vendor/drush/drush/commands/pm/pm.drush.inc:1167
PHP 11. drush_module_install() /project/www/vendor/drush/drush/commands/core/drupal/environment.inc:198
PHP 12. Drupal\Core\ProxyClass\Extension\ModuleInstaller->install() /project/www/vendor/drush/drush/commands/core/drupal/environment.inc:131
PHP 13. Drupal\Core\Extension\ModuleInstaller->install() /project/www/core/lib/Drupal/Core/ProxyClass/Extension/ModuleInstaller.php:83
PHP 14. Drupal\Core\Extension\ModuleHandler->invoke() /project/www/core/lib/Drupal/Core/Extension/ModuleInstaller.php:287
PHP 15. call_user_func_array:{/project/www/core/lib/Drupal/Core/Extension/ModuleHandler.php:391}() /project/www/core/lib/Drupal/Core/Extension/ModuleHandler.php:391
PHP 16. multiversion_install() /project/www/core/lib/Drupal/Core/Extension/ModuleHandler.php:391
PHP 17. Drupal\multiversion\MultiversionManager->enableEntityTypes() /project/www/modules/contrib/multiversion/multiversion.install:17
PHP 18. Drupal\multiversion\MultiversionManager->prepareContentForMigration() /project/www/modules/contrib/multiversion/src/MultiversionManager.php:225
PHP 19. Drupal\multiversion\MultiversionManager->emptyOldStorage() /project/www/modules/contrib/multiversion/src/MultiversionManager.php:441
PHP 20. Drupal\multiversion\MultiversionMigration->migrateContentToTemp() /project/www/modules/contrib/multiversion/src/MultiversionManager.php:452
PHP 21. Drupal\multiversion\MultiversionMigration->executeMigration() /project/www/modules/contrib/multiversion/src/MultiversionMigration.php:99
PHP 22. Drupal\migrate\MigrateExecutable->import() /project/www/modules/contrib/multiversion/src/MultiversionMigration.php:254

Fatal error: Class 'Drupal\migrate\Event\MigrateEvents' not found in /project/www/core/modules/migrate/src/MigrateExecutable.php on line 180

I tried to had migrate as a dependency of the multiversion module, same error.

I tried to enable migrate in a drush command before the drush command to enable workspace, then it works.

I think this issue is related to #2692033: Move all migration code into entity_storage_migrate module.

How can I help for that?

Comments

Grimreaper created an issue.