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'm getting following error while performing drush rr
:
Error: Call to undefined function current_path() in advagg_enabled() (line 3263 of /app/current/sites/all/modules/contrib/advagg/advagg.module).
Drush command terminated abnormally due to an unrecoverable error.
An error disappears on second try.
Comment | File | Size | Author |
---|---|---|---|
#4 | advagg-drush-bootstrap-3156096-4.patch | 527 bytes | mikeytown2 |
| |||
#2 | 3156096-2.patch | 394 bytes | tormi |
|
Comments
Comment #2
tormiInitial patch added.
Comment #3
joelpittet@tormi, it would be nice to have a call stack on this error, maybe it shouldn't be called under this drush command to begin with
Comment #4
mikeytown2 CreditAttribution: mikeytown2 commentedhttps://api.drupal.org/api/drupal/includes%21common.inc/function/_drupal...
Looks like there are checks in place to prevent multiple calls, but putting this in an if statement would probably be better when looking at the code.
Comment #6
mikeytown2 CreditAttribution: mikeytown2 commented