Title: Parse error: syntax error, unexpected &#039;}&#039;
Last modified: August 20, 2016

---

# Parse error: syntax error, unexpected '}'

 *  [ewass9](https://wordpress.org/support/users/ewass9/)
 * (@ewass9)
 * [14 years, 6 months ago](https://wordpress.org/support/topic/parse-error-syntax-error-unexpected-34/)
 * 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](https://wordpress.org/support/users/numeeja/)
 * (@numeeja)
 * [14 years, 6 months ago](https://wordpress.org/support/topic/parse-error-syntax-error-unexpected-34/#post-2294755)
 * install an FTP client app such as filezilla and upload your backed up file usng
   that.
 *  Thread Starter [ewass9](https://wordpress.org/support/users/ewass9/)
 * (@ewass9)
 * [14 years, 6 months ago](https://wordpress.org/support/topic/parse-error-syntax-error-unexpected-34/#post-2294955)
 * 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?
 *  [Roger H](https://wordpress.org/support/users/rwheindl/)
 * (@rwheindl)
 * [14 years, 6 months ago](https://wordpress.org/support/topic/parse-error-syntax-error-unexpected-34/#post-2294958)
 * You could check with your host to see if they have an old copy of the file. Otherwise,
   try sending a [pastebin](http://pastebin.com/) of your functions.php file near
   line 292 and perhaps we can find out what needs fixing.
 *  Thread Starter [ewass9](https://wordpress.org/support/users/ewass9/)
 * (@ewass9)
 * [14 years, 6 months ago](https://wordpress.org/support/topic/parse-error-syntax-error-unexpected-34/#post-2295006)
 * 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.

## Tags

 * [ftp](https://wordpress.org/support/topic-tag/ftp/)
 * [parse-error](https://wordpress.org/support/topic-tag/parse-error/)
 * [syntax error](https://wordpress.org/support/topic-tag/syntax-error/)
 * [Unexpected](https://wordpress.org/support/topic-tag/unexpected/)

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 4 replies
 * 3 participants
 * Last reply from: [ewass9](https://wordpress.org/support/users/ewass9/)
 * Last activity: [14 years, 6 months ago](https://wordpress.org/support/topic/parse-error-syntax-error-unexpected-34/#post-2295006)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
