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.0.3 while calling drush qd, causes error undefined method Drush\Boot\EmptyBoot::conf_path() in phar #1985

Closed
rw355 opened this issue Feb 9, 2016 · 2 comments

Comments

@rw355
Copy link

rw355 commented Feb 9, 2016

Error: Uncaught Error: Call to undefined method Drush\Boot\EmptyBoot::conf_path() in phar:///usr/local/bin/drush/commands/core/core.drush.inc:993
Stack trace:
#0 phar:///usr/local/bin/drush/includes/command.inc(366): drush_core_quick_drupal('testsite')
#1 phar:///usr/local/bin/drush/includes/command.inc(217): _drush_invoke_hooks(Array, Array)
#2 phar:///usr/local/bin/drush/includes/command.inc(185): drush_command('testsite')
#3 phar:///usr/local/bin/drush/lib/Drush/Boot/BaseBoot.php(67): drush_dispatch(Array)
#4 phar:///usr/local/bin/drush/includes/preflight.inc(66): Drush\Boot\BaseBoot->bootstrap_and_dispatch()
#5 phar:///usr/local/bin/drush/includes/startup.inc(321): drush_main()
#6 phar:///usr/local/bin/drush/drush(114): drush_startup(Array)
#7 /usr/local/bin/drush(10): require('phar:///usr/loc...')
#8 {main}

thrown in phar:///usr/local/bin/drush/commands/core/core.drush.inc, line 993

@weitzman
Copy link
Member

I'm unable to reproduce this even with same .phar. Please share the command you are running along with full --debug output.

@rw355
Copy link
Author

rw355 commented Feb 12, 2016

Ah, sorry.. I figured out I used a wrong core version string. The full input and output was:

$ drush qd testsite --core=drupal-7.0.x --yes

Could not locate drupal version 7.0.x-dev. [error]
Could not download requested project(s). [error]
Caching 'uri' 127.0.0.1:8888 in DRUPAL_ROOT/drush/drushrc.php [ok]
DRUPAL_ROOT/drush/drushrc.php already exists. Overwrite? (y/n): y
PHP Fatal error: Uncaught Error: Call to undefined method Drush\Boot\EmptyBoot::conf_path() in phar:///usr/local/bin/drush/commands/core/core.drush.inc:993
Stack trace:
#0 phar:///usr/local/bin/drush/includes/command.inc(366): drush_core_quick_drupal('testsite')
#1 phar:///usr/local/bin/drush/includes/command.inc(217): _drush_invoke_hooks(Array, Array)
#2 phar:///usr/local/bin/drush/includes/command.inc(185): drush_command('testsite')
#3 phar:///usr/local/bin/drush/lib/Drush/Boot/BaseBoot.php(67): drush_dispatch(Array)
#4 phar:///usr/local/bin/drush/includes/preflight.inc(66): Drush\Boot\BaseBoot->bootstrap_and_dispatch()
#5 phar:///usr/local/bin/drush/includes/startup.inc(321): drush_main()
#6 phar:///usr/local/bin/drush/drush(114): drush_startup(Array)
#7 /usr/local/bin/drush(10): require('phar:///usr/loc...')
#8 {main}
thrown in phar:///usr/local/bin/drush/commands/core/core.drush.inc on line 993
Drush command terminated abnormally due to an unrecoverable error.

@weitzman weitzman closed this as completed Aug 5, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants