Skip to content

Drush throws class not found error because of DrupalConsole integration in Metatag? #2594

@damienmckenna

Description

@damienmckenna

With the Console integration in Metatag, any time Drush is used it fails with the following error:

PHP Fatal error: Class 'Drupal\Console\Command\GeneratorCommand' not found in /var/www/drupal8/modules/metatag/src/Command/GenerateGroupCommand.php on line 27
Drush command terminated abnormally due to an unrecoverable error.
Error: Class 'Drupal\Console\Command\GeneratorCommand' not found in
/var/www/drupal8/modules/metatag/src/Command/GenerateGroupCommand.php,line 27

OTOH, Console commands work, and there aren't any problems with the site itself due to the integration.

Could this be a problem in Drush 8?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions