WordPress.org

Ready to get started?Download WordPress

Forums

Parse error: syntax error, unexpected '}' need help! (4 posts)

  1. CarlosRomero
    Member
    Posted 1 year ago #

    My wife was messing with her site and adding code to add a favicon.Now site returns the following message:

    Parse error: syntax error, unexpected '}' in /home/sprouted/public_html/wordpress/wp-content/themes/reverie/functions.php on line 3

    http://www.sproutedcontent.com

    Cant even get into the wp-admin ? She just had a big launch and people are looking at her site so she needs to have this up and going.
    how do i go about fixing this?

    Please help :)

    carlos

  2. Andrew
    Forum Moderator
    Posted 1 year ago #

    Have you tried the solutions given in other similar threads?
    http://wordpress.org/search/Parse+error%3A+syntax+error%2C+unexpected+%27%7D%27?forums=1

  3. CarlosRomero
    Member
    Posted 1 year ago #

    I have not only because I am afraid of breaking it even further by reuploading anything.
    I will try though.

    thanks

    carlos

  4. Knut Sparhell
    Member
    Posted 1 year ago #

    Use FTP and remove (or rename) functions.php. Upload the original again.

    Never edit active PHP files through WordPress itself (shoot yourself in the foot). Use FTP and a text/code editor, so that you easily revert or correct errors.

    If you cant find the original and don't know how to correct the error, rename the complete theme folder. This will force WordPress to use the default theme, and you may log in again.

    For editing themes, always make a child theme first.

Topic Closed

This topic has been closed to new replies.

About this Topic