Redirect breaks drush

Created on 20 September 2011, about 13 years ago
Updated 5 April 2024, 8 months ago

The anonymous role is redirected to another node. If this "rule" is enabled, drush 4.4 and 4.5 gives me the following error in cli:

% drush pm-list
Drush command terminated abnormally due to an unrecoverable error.                                                             [error]
[1]    2945 exit 1     drush pm-list

With debug option:

% drush -d pm-list
Bootstrap to phase 0. [0.03 sec, 1.7 MB]                             [bootstrap]
Drush bootstrap phase : _drush_bootstrap_drush() [0.04 sec, 1.83 MB] [bootstrap]
Bootstrap to phase 6. [0.1 sec, 5.58 MB]                                                                                       [bootstrap]
Drush bootstrap phase : _drush_bootstrap_drupal_root() [0.1 sec, 5.58 MB]                                                      [bootstrap]
Initialized Drupal 7.7 root directory at /var/www/vhost/topicforge.net [0.12 sec, 6.54 MB]                                        [notice]
Drush bootstrap phase : _drush_bootstrap_drupal_site() [0.12 sec, 6.55 MB]                                                     [bootstrap]
Initialized Drupal site default at sites/default [0.12 sec, 6.55 MB]                                                              [notice]
Drush bootstrap phase : _drush_bootstrap_drupal_configuration() [0.13 sec, 6.55 MB]                                            [bootstrap]
Drush bootstrap phase : _drush_bootstrap_drupal_database() [0.13 sec, 6.56 MB]                                                 [bootstrap]
Successfully connected to the Drupal database. [0.13 sec, 6.56 MB]                                                             [bootstrap]
Drush bootstrap phase : _drush_bootstrap_drupal_full() [0.14 sec, 7.05 MB]                                                     [bootstrap]
Drush command terminated abnormally due to an unrecoverable error. [0.35 sec, 21.88 MB]                                        [error]
[1]    2966 exit 1     drush -d pm-list

Drupal 7.7 with some other modules. Disabling the module, or not using redirect solves the error.

🐛 Bug report
Status

Closed: outdated

Version

2.0

Component

Code

Created by

🇭🇺Hungary temaruk

Live updates comments and jobs are added and updated live.
  • Needs backport to D6

    After being applied to the 7.x branch, it should be considered for backport to the 6.x branch. Note: This tag should generally remain even after the backport has been written, approved, and committed.

Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.71.5 2024