Title: Parse error: syntax error,unexpected
Last modified: August 20, 2016

---

# Parse error: syntax error,unexpected

 *  [teresavillegas](https://wordpress.org/support/users/teresavillegas/)
 * (@teresavillegas)
 * [14 years, 1 month ago](https://wordpress.org/support/topic/parse-error-syntax-errorunexpected/)
 * Hello, I’m at a loss, please help. I tried to edit a functions template on my
   site and this error came up.
 * Parse error: syntax error, unexpected ‘:’ in /home/teresavi/public_html/wp-content/
   themes/tvillegas/functions.php on line 57
 * and now I cant even get to my wp-admin page, just the error show up.
    and my 
   website doesn’t show up either…
 * how an I correct this?
    Please advise,thank you! kind regards, Teresa

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

 *  [kostas123](https://wordpress.org/support/users/kostas123/)
 * (@kostas123)
 * [14 years, 1 month ago](https://wordpress.org/support/topic/parse-error-syntax-errorunexpected/#post-2672294)
 * Try to access the file via FTP or your host’s admin panel (cPanel) and do the
   necessary correction(s) . Alternatively replace this file with a copy of the 
   original file .
    It that sounds to “tech” let us know .
 *  Thread Starter [teresavillegas](https://wordpress.org/support/users/teresavillegas/)
 * (@teresavillegas)
 * [14 years, 1 month ago](https://wordpress.org/support/topic/parse-error-syntax-errorunexpected/#post-2672298)
 * Thank you, I’ll call hostgator.
 *  [kostas123](https://wordpress.org/support/users/kostas123/)
 * (@kostas123)
 * [14 years, 1 month ago](https://wordpress.org/support/topic/parse-error-syntax-errorunexpected/#post-2672300)
 * As you wish , but usually this kind of configurations are made by the owner or
   the web-developer of the site .
 *  [mgonsalv](https://wordpress.org/support/users/mgonsalv/)
 * (@mgonsalv)
 * [13 years, 12 months ago](https://wordpress.org/support/topic/parse-error-syntax-errorunexpected/#post-2672553)
 * OK where do you get the original file from though? I made the corrections to 
   the file where I thought it was necessary, but it still shows up with the Parse
   error

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

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

## Tags

 * [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/)
 * 4 replies
 * 3 participants
 * Last reply from: [mgonsalv](https://wordpress.org/support/users/mgonsalv/)
 * Last activity: [13 years, 12 months ago](https://wordpress.org/support/topic/parse-error-syntax-errorunexpected/#post-2672553)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
