Hi,
Since a few days I've a huge problem with my web site, each time when I'm trying to flush cache site is broken and error listed below appears:
Fatal error: Call to undefined function zen_theme() in ***/sites/all/themes/zen/STARTERKIT/template.php on line 85
Probably it's a problem with rebuilding theme registry. I have no idea what can be a cause of the problem. When I restore database everything is ok... until I use flush all caches option again :/ Files aren't corrupted for sure.
Comments
Comment #1
mdulzo commentedI am having what I think is a similar problem.
It seems that subtheme preferences are stored in the theme_registry (cache table). Clearing the caches, wipes your theme registry and destroys any per site configuration options you have set. Every reset, the settings revert to the default settings and rebuilding the registry does not fix the results. Settings must be re-entered by hand. This may be causing the error message with your theme after most of the local settings are destroyed.
My question, how can we update/rebuild the theme_registry without destroying the data in it? Or is there a guide to how the zen theme stores its information in that registry?
Comment #2
akalata commentedClosing old/inactive requests.