• I was just cleaning up a few things on my website turningleafresolutions.com and had a little typo when changing a file and now an error appears when trying to view and login to the wp admin page.

    I updated the correct working files in the FTP
    wp-content>themes> twentyeleven-child

    The specific file is functions.php

    Twentyeleven-child and Twentyeleven folders now have the correct files in them that were working perfectly before the edit.

    What could be the problem?

Viewing 1 replies (of 1 total)
  • Hey CeraorSarah!

    In your child theme’s functions.php file, try removing the ‘twentyeleven_excerpt_length()’ function— it appears to already be getting that from the parent them.

    If that doesn’t work or you can’t find it, remove everything in functions (back it up first!) and slowly add each function back until you find the culprit.

    If THAT doesn’t work, you should be able to remove or rename your theme and that will force WordPress to switch back to a TwentyThirteen or TwentyTwelve — that will at least make things work again.

    Good luck!

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