Fatal error: Cannot redeclare leaf_setup()
-
Greetings,
I worked on some changes to my child theme on my sandbox site, which involved making a change to theme-functions.php (repercussion understood) … this worked fine. When I uploaded this file to my live site it produced this error message:
“Fatal error: Cannot redeclare leaf_setup() (previously declared in ..leaf/includes/theme-functions.php:33) in includes/theme-functions.php on line 66”
Q1: What’s this about?
Q2: Is it good practice to activate/return to Leaf before making child changes, then re-activate the child?
Appreciate any feedback/solution ideas … so far not finding anything that helps (site currently running without the font change).
Bob
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
- The topic ‘Fatal error: Cannot redeclare leaf_setup()’ is closed to new replies.