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

  1. CarlosRomero
    Posted 2 years 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


    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 :)


  2. Andrew
    Forum moderator
    Posted 2 years ago #

    Have you tried the solutions given in other similar threads?

  3. CarlosRomero
    Posted 2 years ago #

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



  4. Knut Sparhell
    Posted 2 years 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