Download & Extend

Calling theme functions in hook_init() breaks theme switching modules.

Project:CustomError
Version:5.x-1.x-dev
Component:Code
Category:bug report
Priority:normal
Assigned:Unassigned
Status:active

Issue Summary

Custom error breaks theme switching modules such as Theme Key: http://drupal.org/project/themekey Taxonomy Theme : http://drupal.org/project/taxonomy_theme Section: http://drupal.org/project/sections and SwitchTheme: http://drupal.org/project/switchtheme

According to this: http://drupal.org/node/594484 it's more of a Drupal 5/6 core bug but it is possible to avoid.