Php fatal error after editing functions.php
-
I was doing some customizations, edited the child theme functions.php, and once I saved it.. I got a php error. I tried to paste the original code from wp-admin, but could not save again. Then I uploaded the original functions.php code to parent and chil and still have this error:
Fatal error: Cannot redeclare et_setup_theme() (previously declared in /home1/ioanaher/public_html/ioanaherman.com/wp-content/themes/alex/functions.php:7) in /home1/ioanaher/public_html/ioanaherman.com/wp-content/themes/Divi/functions.php on line 60
How can I fix this? Is there a way to roll back the latest changes from phpmyadmin?
The topic ‘Php fatal error after editing functions.php’ is closed to new replies.