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

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

dgastudio’s picture

Priority: Normal » Major
gazwal’s picture

Priority: Major » Critical

same issue with both DEV or 1.0

thomas1977’s picture

Was just about to install this module, but then I saw this... Waiting for news on this one.

IdanC’s picture

same problem here, any solutions?

jibize’s picture

Yep same here...

glenshewchuck’s picture

same for 7.x-1.0

dgastudio’s picture

switched to Context module....

ahimsauzi’s picture

Same 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!!

Skin’s picture

Any news? Same here for 7.x-1.0

andrewmacpherson’s picture

Hmmm. admin_theme_admin_theme_info() IS defined in admin_theme.module

I expect this means that the function isn't available at whatever stage of bootstrap the uninstall_hook is operating at.

andrewmacpherson’s picture

Title: can't uninstall » admin_theme_uninstall fails to invoke module hook
Status: Active » Needs review
FileSize
983 bytes

The 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/...

ParisLiakos’s picture

Status: Needs review » Reviewed & tested by the community

thanks, patch works

jlockhart’s picture

Thanks, patched worked great.

wOOge’s picture

Patch Works.

mrP’s picture

Issue summary: View changes

+1 RTBC

  • Commit 3a83eff on 7.x-1.x authored by andrewmacpherson, committed by justy:
    Issue #1315630 by andrewmacpherson, justy: Applied Patch to fix...
justy’s picture

Status: Reviewed & tested by the community » Fixed

Patch applied to the 7.x-1.x-dev branch. Will be included in the next release.

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.