Hi there,

Awesome module, but when I decided I didn't need minification after all I disabled it and found that the Admin menu module was no longer displaying its menu and I got the following persistent (every page load) warning:

warning: call_user_func_array() expects parameter 1 to be a valid callback, function 'phptemplate_closure' not found or invalid function name in /home/data/drupal/installations/co/co.ojc/includes/theme.inc on line 656.

I then uninstalled the module and cleared the cache using the button at the bottom of the Performance settings page, which fixed the Admin menu but the warning message persisted. I then used Admin menus Flush all caches function which seemed to fix the warning message (I'm guessing because it cleared the theme registry).

Cheers,
Oliver

Comments

JohnnyW’s picture

I have this problem too.

Any fix?

Thanks!!

derjochenmeyer’s picture

Version: 6.x-1.5 » 6.x-1.6
Status: Active » Fixed

Try latest dev version.

  cache_clear_all();

added to hook_uninstall().

derjochenmeyer’s picture

Version: 6.x-1.6 » 6.x-1.x-dev

Status: Fixed » Closed (fixed)

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