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.
Fatal error: Call to undefined function admin_theme_admin_theme_info() in /home/u4586/domains/*****/sites/all/modules/admin_theme/admin_theme.install on line 25
Comment | File | Size | Author |
---|---|---|---|
#11 | admin_theme-uninstall-1315630-11.patch | 983 bytes | andrewmacpherson |
Comments
Comment #1
dgastudio CreditAttribution: dgastudio commentedComment #2
gazwal CreditAttribution: gazwal commentedsame issue with both DEV or 1.0
Comment #3
thomas1977 CreditAttribution: thomas1977 commentedWas just about to install this module, but then I saw this... Waiting for news on this one.
Comment #4
IdanC CreditAttribution: IdanC commentedsame problem here, any solutions?
Comment #5
jibize CreditAttribution: jibize commentedYep same here...
Comment #6
glenshewchuck CreditAttribution: glenshewchuck commentedsame for 7.x-1.0
Comment #7
dgastudio CreditAttribution: dgastudio commentedswitched to Context module....
Comment #8
ahimsauziSame here for 7.x-1.0
Is it me or Drupal just getting more and more careless?? Lately, every simple upgrade, install, uninstall is a hassle!!
Comment #9
SkinAny news? Same here for 7.x-1.0
Comment #10
andrewmacpherson CreditAttribution: andrewmacpherson commentedHmmm.
admin_theme_admin_theme_info()
IS defined in admin_theme.moduleI expect this means that the function isn't available at whatever stage of bootstrap the uninstall_hook is operating at.
Comment #11
andrewmacpherson CreditAttribution: andrewmacpherson commentedThe function
admin_theme_admin_theme_info()
isn't available because the module as already been disabled, so the code in admin_theme.module isn't loaded.Fixed by adding a call to
drupal_load('module', 'admin_theme')
See http://api.drupal.org/api/drupal/modules!system!system.api.php/function/...
Comment #12
ParisLiakos CreditAttribution: ParisLiakos commentedthanks, patch works
Comment #13
jlockhartThanks, patched worked great.
Comment #14
wOOge CreditAttribution: wOOge commentedPatch Works.
Comment #15
mrP CreditAttribution: mrP commented+1 RTBC
Comment #17
justy CreditAttribution: justy commentedPatch applied to the 7.x-1.x-dev branch. Will be included in the next release.