I get the following errors when running drush 2.x (HEAD) within Drupal 7 sites.
Notice: Undefined variable: credentials in /Applications/MAMP/htdocs/drupalhead/sites/drupalhead/modules/drush/includes/core_commands.drush.inc on line 119
Notice: Undefined index: driver in /Applications/MAMP/htdocs/drupalhead/sites/drupalhead/modules/drush/includes/core_commands.drush.inc on line 142
Notice: Undefined index: username in /Applications/MAMP/htdocs/drupalhead/sites/drupalhead/modules/drush/includes/core_commands.drush.inc on line 143
Notice: Undefined index: host in /Applications/MAMP/htdocs/drupalhead/sites/drupalhead/modules/drush/includes/core_commands.drush.inc on line 144
Notice: Undefined index: database in /Applications/MAMP/htdocs/drupalhead/sites/drupalhead/modules/drush/includes/core_commands.drush.inc on line 145
Drush was not able to start (bootstrap) Drupal. [error]
It's related to #312421: Undefined DRUPAL_ROOT in Drush bootstrap
The attached patch fixes the errors for me.
| Comment | File | Size | Author |
|---|---|---|---|
| drush-DRUPAL_HEAD.patch | 720 bytes | stella |
Comments
Comment #1
moshe weitzman commented