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.
Uninstalling admin_menu via drush pmu gives Error: Call to undefined function variable_del()
Comment | File | Size | Author |
---|---|---|---|
#2 | admin_menu-error-in-uninstall-2526328-2-8.x.patch | 1.81 KB | jami |
|
Comments
Comment #1
HongPong CreditAttribution: HongPong at kor group commentedSee https://www.drupal.org/node/1667896 for the necessary changes for D8 and #2401457: replace system variables with configuration API for the bug thread on this.
Comment #2
jami CreditAttribution: jami at ThinkShout commentedI see some overlap with the linked issue, but this patch solves this error specifically (and adds new variable delete syntax), as well as fixing another uninstall error related to how services are set up. Of course feel free to roll these changes in with a larger patch, or apply this smaller patch on its own.
Comment #4
mimran CreditAttribution: mimran commentedwe need to port all the variables to configs since drupal 8 not supporting variable_set(),variable_get(),variable_del() anymore
Comment #5
thallesThe patch #2 works for me.
Comment #6
renatog#2 Really works good
Thanks a lot
Comment #8
renatogCommitted to the dev branch.
Thank you, guys.
Good Work!
Best,