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
Drupal 8 beta 13 drush installation triggers guzzle error #1519
Comments
Can't reproduce this. Seems like wrong version of Guzzle is being used. You might need a debugger to figure out why. |
Same error here with today's HEAD on both Drupal and Drush. PHP 5.6.12-1+deb.sury.org~precise+1 (cli). Checking the code, the function /does/ exist, so it's visibly a matter of entering this call before the file defining it was included. |
Are you using a global drush? Maybe you have a different version of guzzle in that composer.json? If possible try with a drush thats local to your drupal project - https://github.com/drupal-composer/drupal-project |
Found it : the problem was drush_iq using Guzzle 5.3 : https://www.drupal.org/node/2542564#comment-10233209 The Drush was local, but it was fetching my plugins from ~/.drush. |
Ping to @greg-1-anderson for drush_iq update and for #1343. Also, we need to advocate for site local Drush (which implies the morass that is Drupal+Composer). |
Yeah, that "dependency hell" PR I submitted would have caught this. Perhaps we should force --local whenever Drush is local? #1343 will help, but folks could still get in trouble calling a site-local Drush directly if they have composer-using extensions in ~/.drush. |
I too have been getting this error starting at Drupal Beta13. The error can be traced back to this commit for Drupal: drupal/drupal@8b83aa0 The underlying issue, however, can be traced back to how Drush incorporates composer dependencies. Background:
This appears to limit the way that Drush can be packaged with other dependencies. |
I've been putting this off a bit, pending resolution of #1595 & related. |
Drush 8 is maintenance only; closing. |
Tried to install with custom profile first. Then with standard.
Updated to the latest drush master
Issue queue on Drupal.org: https://www.drupal.org/node/2542564
OS: Latest MacOS with PHP 5.5.18 on MAMP server
The text was updated successfully, but these errors were encountered: