Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
I just spent about 45 minutes slogging through Drush internals trying to figure out why it could not connect to my site before I noticed that the switch statement on major version in _drush_bootstrap_drupal_configuration() has no case for Drupal 5. A quick switch to Drush 4.5 put me back in business.
The attached patch causes Drush 5 to fail explicitly on Drupal major version less than 6.
Comment | File | Size | Author |
---|---|---|---|
drupal5-unsupported.patch | 817 bytes | bjaspan |
Comments
Comment #1
jonhattanCommitted. Thanks!