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

---

# Help: Parse error: syntax error, unexpected '}'

 *  [William Ruzvidzo](https://wordpress.org/support/users/william-ruzvidzo/)
 * (@william-ruzvidzo)
 * [14 years, 7 months ago](https://wordpress.org/support/topic/help-parse-error-syntax-error-unexpected-2/)
 * I recently tried to paste some code in my fucntions php so that my blog could
   show related posts without a plugin.
 * It didn’t work but luckily I copied the origional code and when I pasted it back
   in to the functions php, this is the message I got: syntax error, unexpected ‘}’
   on line 29. I know nothing about code so I have no idea what’s going on. Here
   is the code.
 * _[Code moderated as per the [Forum Rules](http://codex.wordpress.org/Forum_Welcome#Posting_Code).
   Please use the [pastebin](http://wordpress.pastebin.com/)]_

Viewing 1 replies (of 1 total)

 *  [Lucas S. B. Mastella](https://wordpress.org/support/users/belloli/)
 * (@belloli)
 * [14 years, 7 months ago](https://wordpress.org/support/topic/help-parse-error-syntax-error-unexpected-2/#post-2282755)
 * “syntax error, unexpected ‘}’ on line 29”
 * You attempted to remove ‘}’ on line 29?

Viewing 1 replies (of 1 total)

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

## Tags

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

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 1 reply
 * 2 participants
 * Last reply from: [Lucas S. B. Mastella](https://wordpress.org/support/users/belloli/)
 * Last activity: [14 years, 7 months ago](https://wordpress.org/support/topic/help-parse-error-syntax-error-unexpected-2/#post-2282755)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
