I just upgraded from 1.6 to 1.7 and some drush commands stopped working. For example, when I try to execute `drush dd`, I get the following error:
Fatal error: Call to undefined function admin_menu_exit() in /var/www/dev/moytour/sites/default/modules/contrib/admin_menu/admin_menu.drush.inc on line 10
| Comment | File | Size | Author |
|---|---|---|---|
| #2 | 1190466-1.patch | 3.22 KB | pwolanin |
Comments
Comment #1
inductor commentedComment #2
pwolanin commentedThis mostly reverts the test cases to their earlier form, plus adds a function_exists() call to the drush in to protect against the fatal error.
Comment #3
pwolanin commentedComment #4
pwolanin commentedwith this patch, "drush dd" works with admin_menu enabled or disabled.
Comment #5
pwolanin commentedcommitted and rolling a fixed release.
Thanks.
Comment #6
j0nathan commentedSame error message when trying to migrate a site, in Aegir, to a new platform with the new version of admin_menu. I will try the patch...
Comment #7
j0nathan commentedoups
Comment #8
pwolanin commentedLet me know if for some reason it's not fixed.
Comment #9
j0nathan commented6.x-1.8 fixed my issues.
Thanks.
Comment #10
inductor commentedIt`s really exciting - only two hours between the bugreport and the new release! Thanks, pwolanin!
Comment #11
pwolanin commentedSorry to have introduced the bug in the first place - my lack of understanding fully how drush works.