Title: Parse error: syntax error, unexpected &#8216;function&#8217; (T_FUNCTION)
Last modified: February 10, 2017

---

# Parse error: syntax error, unexpected ‘function’ (T_FUNCTION)

 *  Resolved [joycecrls](https://wordpress.org/support/users/joycecrls/)
 * (@joycecrls)
 * [9 years, 3 months ago](https://wordpress.org/support/topic/parse-error-syntax-error-unexpected-function-t_function-2/)
 * I encountered this before, so I know how to access my website files offline using
   FileZilla. I got an error on line 11, so I fixed it by replacing everything to
   its original settings.
 * But I ended up with this new one instead and I don’t know how to fix it. What
   exactly is the function thing about? Please help!
 * Parse error: syntax error, unexpected ‘function’ (T_FUNCTION) in /home2/joycecrl/
   public_html/wp-content/themes/edge/inc/footer-details.php on line 1
    -  This topic was modified 9 years, 3 months ago by [joycecrls](https://wordpress.org/support/users/joycecrls/).

Viewing 1 replies (of 1 total)

 *  Moderator [t-p](https://wordpress.org/support/users/t-p/)
 * (@t-p)
 * [9 years, 3 months ago](https://wordpress.org/support/topic/parse-error-syntax-error-unexpected-function-t_function-2/#post-8788404)
 * Your “edge” theme seems to be the error.
 * To confirm, try switching to the unedited default Theme (Twenty Sixteen.) using
   [FTP/ SFTP ](http://codex.wordpress.org/FTP_Clients), or your web-host’s cPanel
   or whatever file management application your host provides (no Dashboard access
   required). Navigate to /wp-content/themes/ and switch to the default theme by
   renaming your current theme’s folder by adding “-old” to the end of the folder
   name. Alternately, you can remove other themes except the default theme (Twenty
   Sixteen.). That will force your site to use it.

Viewing 1 replies (of 1 total)

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

## Tags

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

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 1 reply
 * 2 participants
 * Last reply from: [t-p](https://wordpress.org/support/users/t-p/)
 * Last activity: [9 years, 3 months ago](https://wordpress.org/support/topic/parse-error-syntax-error-unexpected-function-t_function-2/#post-8788404)
 * Status: resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
