• The site I run, https://www.brownstoneinsurancebrokers.com is using the theme called Thesis.

    Using a snippet of code I found (here https://diythemes.com/thesis/rtfm/sales-squeeze-landing-pages/) I attempted to remove the header, footer and sidebar of the custom landing page I created by adding that code into the custom_functions.php file as directed. Unfortunately, the phone rang and I ended up inadvertently adding the code snippet twice. Now, this error message is all I can see:

    Fatal error: Cannot redeclare custom_remove_defaults() (previously declared in /home/content/a/d/m/adminbrokers/html/wp-content/themes/thesis/custom/custom_functions.php:52) in /home/content/a/d/m/adminbrokers/html/wp-content/themes/thesis/custom/custom_functions.php on line 65

    I cannot access the custom_functions.php file nor any other area of my admin section for that matter. And when I try to view my site, that error message is also the only thing that appears now. I have not even logged out because I am afraid I won’t be able to gain access again.

    Any ideas?

  • The topic ‘Fatal Error: Cannot redeclare custom_remove_defaults’ is closed to new replies.