• This is the message I got while playing around in my functions.php file

    Fatal error: Cannot redeclare new_excerpt_more() (previously declared in /home/dvora/public_html/wp-content/themes/energize/functions.php:67) in /home/dvora/public_html/wp-content/themes/energize/functions.php on line 70

    I’m a total amateur and not sure what I did. Any ideas?

Viewing 8 replies - 1 through 8 (of 8 total)
  • Looks like you duplicated a function – new_excerpt_more() – in functions.php.

    Thread Starter jessebeckert

    (@jessebeckert)

    Yes, that was what I thought, but I had copied the original code from before I started and pasted that back in and it continued to give me that message – surely the original code didn’t have that problem or I should have seen the message before.

    Anyway, then I was stupid and logged out thinking that I might just try rebooting my computer – well now I can’t get back in. My username and password don’t exist as far as word press is concerned so I couldn’t get in to change anything if I tried.

    I’m at a bit of a loss. The worst part is that it is the website for the charity that I work for – so I’m in big trouble!

    Thread Starter jessebeckert

    (@jessebeckert)

    Oh, I just noticed that you are a moderator… is there any way that you can help me to get back into my account?

    Sorry – www.remarpro.com distributes and documents the WordPress application but has no connection with any site running that software.

    Try switching to the Twenty Eleven theme by renaming wp-content/themes/energize to wp-content/themes/energize-old using FTP or whatever file management application your host provides.

    Thread Starter jessebeckert

    (@jessebeckert)

    Oh, you are www.remarpro.com, didn’t notice that! I thought I was still on wordpress.com lol I will try to get the log-in sorted out with them then.

    Thanks, for the possible solution. I will try that out and let you know how it goes. Thanks for your help.

    I thought I was still on wordpress.com lol I will try to get the log-in sorted out with them then.

    They won’t be able to help you either as your site isn’t hosted by them.

    Thread Starter jessebeckert

    (@jessebeckert)

    So does that mean that I will have to contact whoever is hosting my site?

    You can try, but many of them don’t know much about WordPress.

    Follow esmi’s advice.

    Try switching to the Twenty Eleven theme by renaming wp-content/themes/energize to wp-content/themes/energize-old using FTP or whatever file management application your host provides.

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘Fatal Error: Cannot redeclare new_excerpt_more()’ is closed to new replies.