Forums

Anything I do results in a "Parse error: syntax error, unexpected ' (4 posts)

  1. The Tao
    Member
    Posted 3 months ago #

    I was editing functions.php and thought I had restored it to default, but when I tried to hit SAVE, I got this message:

    Parse error: syntax error, unexpected '<' in /var/www/html/wp-content/themes/chunk/functions.php on line 212

    I can't do anything on the site now without getting that message. Even visiting my site, beijingcream.com, results in that message popping up.

    Help?

  2. esmi
    Theme Diva & Forum Moderator
    Posted 3 months ago #

    Re-upload a fresh unzipped copy of the theme to wp-content/themes using FTP.

  3. The Tao
    Member
    Posted 3 months ago #

    Will that result in any lost content?

    Do you have any insight on what might have happened?

  4. The Tao
    Member
    Posted 3 months ago #

    I was able to copy the fatal functions.php file before everything crashed... don't know if this will help ... to the best of my knowledge, I had restored everything to its defaults, then clicked SAVE and that's when the error came up.

    [207 lines of code moderated as per the Forum Rules. Please use the pastebin]

Reply

You must log in to post.

About this Topic