• Everything was going as planned. Following a youtube tutorial to add widgetized footers and I did something wrong. Unfortunately I was accessing the php_function section. Now I get this message:

    Fatal error: Cannot redeclare widgetized_footer1() (previously declared in /home/kjablon/public_html/wp-content/themes/thesis_18/custom/custom_functions.php:82) in /home/kjablon/public_html/wp-content/themes/thesis_18/custom/custom_functions.php on line 161

    I can’t get back to the page without this popping up. I read about going to your FTP and accessing my custom_functions.php file. I did that, but have no idea what to do from there.

    Thanks in advance for any help that can be provided!

Viewing 2 replies - 1 through 2 (of 2 total)
  • Use the ftp and locate the file, you then have two options, copy the file back to your pc, edit it and upload it replacing the file.

    If you are using something like FileZilla right mouse on the file in the theme folder and see if there is an edit option, find the second function and rename it or remove it!

    If you are not sure about that just start again, copy the themes folder down to your pc and then delete the themes folder in the ftp client, this will reset the theme to default (twenty ten) then you can login and reload your original theme and add back your changes.

    Going forward look for one click installs like WAMP, and install a local WordPress database, make and test theme changes before making them live.

    HTH

    David

    Thread Starter mixit

    (@mixit)

    Thanks for the help! I deleted it and restored from my local. Thanks for the WAMP tip

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Fatal error: Cannot redeclare widgetized_footer1’ is closed to new replies.