Title: WordPress server error: Parse error: syntax error, unexpected &#039;[&#039;, expecting &#039;,&#039;
Last modified: August 30, 2016

---

# WordPress server error: Parse error: syntax error, unexpected '[', expecting ','

 *  Resolved [natwho](https://wordpress.org/support/users/natwho/)
 * (@natwho)
 * [10 years, 11 months ago](https://wordpress.org/support/topic/wordpress-server-error-parse-error-syntax-error-unexpected-expecting/)
 * Something has corrupted my site, this message just keeps appearing:
 * Parse error: syntax error, unexpected ‘[‘, expecting ‘,’ or ‘;’ in /home/natbri6/
   natwho.com/wp-content/themes/sg-window/inc/widget-functions.php on line 102

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

 *  [tsagita](https://wordpress.org/support/users/lemurianisindonesia/)
 * (@lemurianisindonesia)
 * [10 years, 11 months ago](https://wordpress.org/support/topic/wordpress-server-error-parse-error-syntax-error-unexpected-expecting/#post-6261832)
 * can you send script on line 90 – 110?
 *  [Michael](https://wordpress.org/support/users/alchymyth/)
 * (@alchymyth)
 * [10 years, 11 months ago](https://wordpress.org/support/topic/wordpress-server-error-parse-error-syntax-error-unexpected-expecting/#post-6261930)
 * please ask in [https://wordpress.org/support/theme/sg-window#postform](https://wordpress.org/support/theme/sg-window#postform)
 * the unedited code of the corrupted file is [https://themes.svn.wordpress.org/sg-window/1.0.8/inc/widget-functions.php](https://themes.svn.wordpress.org/sg-window/1.0.8/inc/widget-functions.php)
 *  Thread Starter [natwho](https://wordpress.org/support/users/natwho/)
 * (@natwho)
 * [10 years, 11 months ago](https://wordpress.org/support/topic/wordpress-server-error-parse-error-syntax-error-unexpected-expecting/#post-6261978)
 * Thanks for your offer to help guys, managed to solve it thankfully!
 * – the php wasn’t on automatic update so now it is the site is working fine.

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

The topic ‘WordPress server error: Parse error: syntax error, unexpected '[', expecting','’
is closed to new replies.

## Tags

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

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 3 replies
 * 3 participants
 * Last reply from: [natwho](https://wordpress.org/support/users/natwho/)
 * Last activity: [10 years, 11 months ago](https://wordpress.org/support/topic/wordpress-server-error-parse-error-syntax-error-unexpected-expecting/#post-6261978)
 * Status: resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
