Site logo

Archived topic

Child theme causes my site to go down when activated

1 reply · Started by Leon Angus on July 9, 2022

Viewing posts 1–2 of 2

i get this error code every time I activate child theme on my site

PHP Fatal error: Cannot redeclare current_year() (previously declared in /home/leonangu/domains/digdoggy.com/public_html/wp-content/themes/generatepress_child/functions.php:16) in /home/leonangu/domains/digdoggy.com/public_html/wp-content/themes/generatepress/functions.php on line 131

How do I fix this and use the child theme?

This archived topic is closed to new replies.