I have installed Trace 6.x-1.0-alpha2, after enable it at site configuration, it caused the front page of the site and any other content page a wsod. When try to access the site via /user , I get the login form, however, on the top of the form, there is this errors:
warning: Invalid argument supplied for foreach() in c:\wamp\www\mysite\includes\theme.inc on line 268.
* warning: array_merge() [function.array-merge]: Argument #2 is not an array in C:\wamp\www\mysite\includes\theme.inc on line 359.

* warning: array_merge() [function.array-merge]: Argument #1 is not an array in C:\wamp\www\mysite\includes\theme.inc on line 359.
* warning: Invalid argument supplied for foreach() in C:\wamp\www\mysite\includes\theme.inc on line 751.
* warning: Invalid argument supplied for foreach() in C:\wamp\www\mysite\includes\theme.inc on line 851.
* warning: Invalid argument supplied for foreach() in C:\wamp\www\mysite\includes\theme.inc on line 364.
* warning: array_splice() [function.array-splice]: The first argument should be an array in C:\wamp\www\mysite\sites\all\modules\og\og.module on line 361.
* warning: Invalid argument supplied for foreach() in C:\wamp\www\mysite\includes\theme.inc on line 268.

Once I logged in, in the administrator panel, I get the same error: as above. When try to access the front page, get a white screen of death. After I disable trace from the site configuration / tracing, the problem disappear.

Comments

dave_robinson’s picture

I had this WSOD problem myself and narrowed it down to the tracing of the theme hook. Go into the settings at /admin/settings/trace and see if Core - Theme is checked in the Module Hooks section.

Arto’s picture

Title: Trace module causes white screen of death on drupal 6.10 » Tracing hook_theme() causes WSoD
Assigned: Unassigned » Arto
Priority: Critical » Normal
Issue tags: +hook_theme

Thanks for pinpointing this, Dave. In the recent 6.x-1.0 release, I've added prominent WSoD warnings to INSTALL.txt and the hook tracing selection. Before the next release I will have a look at hook_trace() specifically and will remove it from the hooks that can traced unless I can figure out why it's failing in particular.

Arto’s picture

Issue tags: +WSOD

Tagging with WSoD...