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

---

# Parse error: syntax error, unexpected '}'

 *  Resolved [tohercore](https://wordpress.org/support/users/tohercore/)
 * (@tohercore)
 * [12 years, 2 months ago](https://wordpress.org/support/topic/parse-error-syntax-error-unexpected-114/)
 * I added a piece of code to the end of my functions.php and am now getting this
   error –
 * Parse error: syntax error, unexpected ‘}’
 * its at line 851, which I am pretty sure is the very end (ie the bit I changed).
   Its currently
 * }
 * function theme_ob_get_clean() {
    global $theme_ob_stack; ob_end_flush(); return
   array_pop($theme_ob_stack);
 * Can anyone help please?
 * Thanks 🙂

Viewing 1 replies (of 1 total)

 *  Thread Starter [tohercore](https://wordpress.org/support/users/tohercore/)
 * (@tohercore)
 * [12 years, 2 months ago](https://wordpress.org/support/topic/parse-error-syntax-error-unexpected-114/#post-4724736)
 * This may help… [http://pastebin.com/68dyJAVJ](http://pastebin.com/68dyJAVJ)

Viewing 1 replies (of 1 total)

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

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 1 reply
 * 1 participant
 * Last reply from: [tohercore](https://wordpress.org/support/users/tohercore/)
 * Last activity: [12 years, 2 months ago](https://wordpress.org/support/topic/parse-error-syntax-error-unexpected-114/#post-4724736)
 * Status: resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
