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

butteryak’s picture

Still having this issue, any help would be greatly appreciated. :)

gkallenberg’s picture

Seems 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?

mdupont’s picture

Category: bug » support
Priority: Major » Normal
Status: Active » Fixed

It's fixed then. The contributed theme "waffles" should indeed change this function name.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.