Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
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 CreditAttribution: 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.