call_user_func_array expects parameter 1 to be a valid callback, function 'devel_themer_catch_function' not found or invalid

anarchman - October 20, 2009 - 00:30
Project:Devel
Version:6.x-1.18
Component:devel_themer
Category:bug report
Priority:critical
Assigned:Unassigned
Status:active
Description

I received this warning After enabling devel_themer. :
warning: call_user_func_array() expects parameter 1 to be a valid callback, function 'devel_themer_catch_function' not found or invalid function name in C:\test\xampplite\htdocs\drupaltest\drupal\includes\theme.inc on line 617.

Subsequently, I was unable to view any administration pages. I tried deleting the module folder, emptying all cache tables, and removing any reference to devel in the database, and I am still somehow receiving this warning and WSoD on any admin pages...

Not sure if it is reproducible but sure is a nasty bug for however I triggered it. The only thing I can think of is making a call to theme_blocks.

#1

Robrecht Jacques - November 9, 2009 - 20:46
Priority:normal» critical

I triggered this bug as well after enabling devel_themer module.

I could recover from the WSOD by:
1. renaming sites/all/modules/devel to devel-bak (didn't help)
2. setting {system}.status to 0 for all devel modules (didn't help)
3. clearing the {cache} table (did help)

This fixed the problem. After reenabling devel_themer I got again a WSOD and I had to redo last two points above.

Note I got the error on all pages that I could test.

Setting it as critical bug.

#2

Robrecht Jacques - November 9, 2009 - 20:47
Version:6.x-1.8» 6.x-1.18
 
 

Drupal is a registered trademark of Dries Buytaert.