My Drush 5.x was working normally and then suddenly threw this message.

I upgraded to Drush 6 using the Windows installer but I am getting the same message.

This is a Windows 7 machined and I stress that I had been using Drush for hours and as far as I can recall, nothing unusual happened between the last successful use and the sudden error message.

I will be grateful for any tips to resolved this.

closed as too broad by Bala, Krishna Mohan, Mołot, Free Radical, kiamlaluno Jan 9 '15 at 16:06

Please edit the question to limit it to a specific problem with enough detail to identify an adequate answer. Avoid asking multiple distinct questions at once. See the How to Ask page for help clarifying this question. If this question can be reworded to fit the rules in the help center, please edit the question.

  • 1
    Are you in your Drupal application directory while running Drush? – sheldonkreger Dec 14 '14 at 23:26
  • To the moderators -- too many possible answers? That is why most noobes ask. They have lost track of a line of approach. We need experts not to give answers but to frame the question so can recover an orderly approach. Perhaps consider this feedback to make Drupal Answers more useful to more people? – jobucks Jan 10 '15 at 17:59

What version of Drupal are you using? Drupal 8 is only supported by the 'master' branch of Drush on github. Older versions of Drush say "Drush does not support Drupal 8." There was a bug in some versions of Drush where the version number of Drupal is not reported correctly. Perhaps this is what you are encountering.

  • 1
    Now the question title makes sense. I was struggling with understanding which message error the OP encountered. – kiamlaluno Dec 15 '14 at 4:53
  • Is it possible that all in a sudden Drush throws that error? For what I can understand, the user was using Drush for hours, and suddenly he got that error. Did he use it with a Drupal 7 version, and then used it with Drupal 8, or is there anything else? – kiamlaluno Dec 15 '14 at 4:57

Not the answer you're looking for? Browse other questions tagged or ask your own question.