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

---

# Parse error: syntax error, unexpected '

 *  [DebBeck](https://wordpress.org/support/users/debbeck/)
 * (@debbeck)
 * [15 years, 8 months ago](https://wordpress.org/support/topic/parse-error-syntax-error-unexpected-18/)
 * Hi All
 * I apologise in advance, I am self learning on WordPress (infact anything web)
   and I’ve made a big mistake that I need help with please…
 * I was in the Edit Themes area pasting code (created by Facebook) to include a“
   Like This” button into the Header or Home Page of the site. It didn’t look good
   so I deleted the code that I pasted, however I think I left a ‘<‘ in there – 
   now I get the following error message and I can’t get back into the Edit Theme
   code area to take the ‘<‘ out:
    Error Msg: Parse error: syntax error, unexpected‘
   <‘ in /home2/ngomatte/public_html/specialcommune/wordpress/wp-content/themes/
   hyperion/functions/widget-func.php on line 2
 * FYI: I’ve inherited the task of fixing the existing unfinished website from someone
   who has left… so I don’t know which theme they’ve used or where the template 
   came from or whether I’ll loose all my work if I re-download etc. Please give
   me instructions in laymen terms so I don’t break anything else.
 * Website: [http://www.specialcommune.org](http://www.specialcommune.org)
 * I hope someone can help me
    Thank you in advance. D Beck

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

 *  [Chinmoy](https://wordpress.org/support/users/chinmoy/)
 * (@chinmoy)
 * [15 years, 8 months ago](https://wordpress.org/support/topic/parse-error-syntax-error-unexpected-18/#post-1704298)
 * can you give your file which you have edited?
 *  Thread Starter [DebBeck](https://wordpress.org/support/users/debbeck/)
 * (@debbeck)
 * [15 years, 8 months ago](https://wordpress.org/support/topic/parse-error-syntax-error-unexpected-18/#post-1704300)
 * I think the problem is in the widget-func.php on line 2 (according to the error
   message). But when I try to enter the Theme Editor I get the error message so
   I can’t get to it.
 *  [Chinmoy](https://wordpress.org/support/users/chinmoy/)
 * (@chinmoy)
 * [15 years, 8 months ago](https://wordpress.org/support/topic/parse-error-syntax-error-unexpected-18/#post-1704303)
 * ok. give that file? or [sent here ](https://wordpress.org/support/topic/parse-error-syntax-error-unexpected-18/chinmoy29@gmail.com?output_format=md)

Viewing 3 replies - 1 through 3 (of 3 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/)
 * 3 replies
 * 2 participants
 * Last reply from: [Chinmoy](https://wordpress.org/support/users/chinmoy/)
 * Last activity: [15 years, 8 months ago](https://wordpress.org/support/topic/parse-error-syntax-error-unexpected-18/#post-1704303)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
