Closed (fixed)
Project:
Drupal core
Version:
6.22
Component:
theme system
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
27 Mar 2012 at 23:58 UTC
Updated:
13 Jun 2012 at 11:41 UTC
Suddenly I get this error while trying to run update.php
Fatal error: Cannot redeclare phptemplate_preprocess_page() (previously declared in /home/XXXXXX/public_html/themes/garland/template.php:43) in /home/XXXXXX/public_html/sites/all/themes/waffles/template.php on line 433
not sure if I'm reporting this in the right area, but its a start
Comments
Comment #1
butteryak commentedStill having this issue, any help would be greatly appreciated. :)
Comment #2
gkallenbergSeems to me you have 2 functions with the same name. If you change the name within the waffles theme to waffles_preprocess_page, you shouldn't receive the error due to name collision.
Just don't change it for garland since that's core. Clear as mud?
Comment #3
mdupontIt's fixed then. The contributed theme "waffles" should indeed change this function name.