• I was recently trying to follow some instructions to adjust some of my category settings in theme function php and saved a copy of the original code.When I made the adjustment it clearly didn’t work so I pasted back in the original code and received the following message and now I cannot get back into my dashboard at all (I am guessing something got tweaked in my saved copy):

    Parse error: syntax error, unexpected ‘}’ in /home/content/34/7888934/html/wp-content/themes/metro_10/functions.php on line 292

    I have seen some suggestions on how to fix this by going through the FTP, but I have no idea how to do this as I am brand new to wordpress. Does anybody have a suggestion of the best route to go to fix this?

Viewing 4 replies - 1 through 4 (of 4 total)
  • Moderator cubecolour

    (@numeeja)

    install an FTP client app such as filezilla and upload your backed up file usng that.

    Thread Starter ewass9

    (@ewass9)

    I didn’t save a backed up file other than the code from the theme function php that I was attempting to make changes on. Is there another place to access a back up or earlier revision of my wp?

    You could check with your host to see if they have an old copy of the file. Otherwise, try sending a pastebin of your functions.php file near line 292 and perhaps we can find out what needs fixing.

    Thread Starter ewass9

    (@ewass9)

    Perfect, I was able to fix it through my host account by restoring an older version of the function php.

    Thanks for the advice!

Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘Parse error: syntax error, unexpected '}'’ is closed to new replies.