Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Drush 8.1.11 incompatibilities with Drupal 8.4.x as of 02.05.2017 - Symfony components updated from 2.8 to 3.2.6 #2738

Closed
hchonov opened this issue May 3, 2017 · 9 comments

Comments

@hchonov
Copy link

hchonov commented May 3, 2017

All Symfony components in Drupal 8.4.x have been updated from 2.8 to 3.2.6.

@see https://www.drupal.org/node/2743809

There are some API changes that have to be made to drush as well, because drush is extending from some Symfony classes.

An example where drush is not working anymore is site install:

hchonov:drupal hchonov$ drush --version
Drush Version : 8.1.11

hchonov:drupal hchonov$ drush si standard

Fatal error: Declaration of Drush\Command\DrushInputAdapter::hasParameterOption($values) must be compatible with Symfony\Component\Console\Input\InputInterface::hasParameterOption($values, $onlyParams = false)

@weitzman
Copy link
Member

weitzman commented May 3, 2017

Please use Drush9 for Drupal 8.4.x.

@weitzman weitzman closed this as completed May 3, 2017
@wturrell
Copy link

For the benefit of others who might arrive here, the following should work:

composer require drush/drush:9.*

…and will give you Drush 9.0.0-alpha1 and symfony-console 3.2.8.

(Don't attempt to install 9.0.0-beta1 as I first did.)

@NiklasBr
Copy link

Will Drush8 ever support Drupal 8.4?

@weitzman
Copy link
Member

Drush8 will never support Drupal 8.4. Its not possible sine Drupal decided to upgrade its Symfony components.

Just get the most recent release of Drush9 and you should be fine. See Drush install instructions.

@NiklasBr
Copy link

Ok, I'll hope Drush 9 supports Drupal 6 because we are waiting for a handful och blocking issues which we need to be fixed for our migration from D6 to D8. Thanks!

@hchonov
Copy link
Author

hchonov commented May 29, 2017

Drush 9 supports only Drupal 8 according to https://github.com/drush-ops/drush/blob/master/docs/install.md

@NiklasBr
Copy link

Can I sponsor or set a bounty for Drush 8 to support Drupal 8.4 or Drush 9 to support Drupal 6?

@weitzman
Copy link
Member

For your migration, use Drush9. You dont have to load up Drupal 6 you just have to query its database. Should work fine AFAIK.

@generalredneck
Copy link

This is only a problem if you have drush installed via the site's composer.json along side the site correct. If you install drush outside of the dependencies of the site... (say globally) they shouldn't be sharing requirements.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants