Search Results
Search type | Search syntax |
---|---|
Tags | [tag] |
Exact | "words here" |
Author |
user:1234 user:me (yours) |
Score |
score:3 (3+) score:0 (none) |
Answers |
answers:3 (3+) answers:0 (none) isaccepted:yes hasaccepted:no inquestion:1234 |
Views | views:250 |
Code | code:"if (foo != bar)" |
Sections |
title:apples body:"apples oranges" |
URL | url:"*.example.com" |
Saves | in:saves |
Status |
closed:yes duplicate:no migrated:no wiki:no |
Types |
is:question is:answer |
Exclude |
-[tag] -apples |
For more details on advanced search visit our help page |
Use it for questions about the command line shell and Unix scripting interface for Drupal (a.k.a. Drush).
0
votes
1
answer
844
views
RuntimeException when running drush commands in root folder
\Drush::setContainer() must be called with a real container. in Drush\Drush::getContainer() (line 151 of /media/sf_anothercnas2/vendor/drush/drush/src/Drush.php). … In my composer.json,
I have "drush/drush": "9.7.2"
Composer show confirms that the local drush version installed is 9.7.2 but when I run
drush --version, it returns 8.1.16 …
1
vote
RuntimeException when running drush commands in root folder
I still am not sure why I'm getting the RuntimeException, but I can work around this issue by running
vendor/drush/drush/drush st //or any other drush 9 commands …