Closed (duplicate)
Project:
Metatag
Version:
8.x-1.0-beta10
Component:
Code
Priority:
Major
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
23 Aug 2016 at 07:22 UTC
Updated:
23 Aug 2016 at 12:35 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #2
dietr_ch commentedA similar error occurs while enabling the module:
Comment #3
damienmckennaI've opened an issue for Drush asking about this and asked DrupalConsole too. I'll try to get to the bottom of this.
Comment #4
fomenkoandrey commentedthe same error on beta10
Comment #5
damienmckennaBTW you should set the issue status to "active" when you create a new issue, "needs review" is for when there's a patch that needs to be reviewed.
Comment #6
agoradesign commentedNormally, this could be solved by including Drupal Console in the project's composer.json (or better: in metatag's module composer.json, if there's a requirement for having Drupal Console)
However, if I'm adding it to my composer.json as required dependency to include the current version (1.0.0-beta5), I'm getting a different error on drush commands.
"drupal/console": "~1.0",I needed to run "drush entup", but the command fails with this stacktrace:
Comment #7
damienmckennaThe thing is, it isn't a requirement, it's optional.
Comment #8
agoradesign commentedThe other thing is the error above, when using Drupal Console. Do you have an idea, where they come from? Which version have you used during developing the commands?
Comment #9
damienmckennaComment #10
agoradesign commentedthx. After playing around a bit, it seems more likely that Drush is interfering here, as issuing a Metatag specific DrupalConsole command works for me without errors, e.g. drupal generate:metatag:tag
Comment #11
agoradesign commentedadded #2786795: DrupalConsole integration breaks Drush as related issue. imho we should close one issue as duplicate, what do you mean?
Comment #12
agoradesign commentedI've attached a patch to temporarily deactivate the DrupalConsole services. Might be a great help for others being in the same situation like me in my current project, where I do not need the Console integration, but a working Drush CLI
Comment #13
damienmckennaYeah, lets close this as a duplicate of #2786795: DrupalConsole integration breaks Drush.