-
-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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 fails because "TRUE" gets passed into the Drush\Config\Environment::setLoader()
call.
#3049
Comments
I see phar:// in the backtrace. Is that drush8 or the drupal-launcher? what
version?
and what version of drupal is in the site? a `composer show` and `drush status` would give helpful info.
|
Running Drupal 8.4.
|
Sounds like your composer install is broken. I guess you should Delete
vendor dir and run composer install.
|
The autoloader returns the class loader the first time it is called, and returns Older versions of the launcher loaded the autoloader and then included |
Sorry for the delay, didn't have time to update the server. @greg-1-anderson, updating the launcher indeed fixed the issue. |
mhm sorry @erikfrerejean . looks i'm having the same problem here... how do you update the launcher? thanks :) |
I've just installed a composer based project that includes drush, however all drush commands fail with the exception:
To check I've dumped both
$autoloadFile
and$loader
to see their values and randrush status
from the site directory.$ drush status string(58) "/var/www/site/vendor/drush/drush/../../autoload.php" bool(true)
The path to
autoload.php
is correct and the file itself is readable,$loader
however is theTRUE
which normally is returned byinclude_once
.This happens on a CentOS 7 server running PHP 7.0.20, and using
Drush 9.0.0-beta7
.The text was updated successfully, but these errors were encountered: