Fatal error: Call to a member function make() on a non-object
Suddenly Drush make stopped working. Please, see log below.
vagrant@precise32:~/sites/drupal7$ drush make /usr/share/php/drush/examples/example.make Make new site in the current directory? (y/n): y Beginning to build /usr/share/php/drush/examples/example.make. [ok] Non-existent project type on project drupal [error] PHP Fatal error: Call to a member function make() on a non-object in /usr/share/php/drush/commands/make/make.drush.inc on line 407 PHP Stack trace: PHP 1. {main}() /usr/share/php/drush/drush.php:0 PHP 2. drush_main() /usr/share/php/drush/drush.php:16 PHP 3. _drush_bootstrap_and_dispatch() /usr/share/php/drush/drush.php:61 PHP 4. drush_dispatch() /usr/share/php/drush/drush.php:92 PHP 5. call_user_func_array() /usr/share/php/drush/includes/command.inc:182 PHP 6. drush_command() /usr/share/php/drush/includes/command.inc:182 PHP 7. _drush_invoke_hooks() /usr/share/php/drush/includes/command.inc:214 PHP 8. call_user_func_array() /usr/share/php/drush/includes/command.inc:362 PHP 9. drush_make() /usr/share/php/drush/includes/command.inc:362 PHP 10. make_projects() /usr/share/php/drush/commands/make/make.drush.inc:198
A workaround for this bug is to add: "projects[drupal][type] = core" to the makefile.
Although the visible error is other, this one is a duplicate of #234.
Also see this branch for a fix within drush https://github.com/drush-ops/drush/pull/237