Title: Parse error: syntax error, unexpected T_FUNCTION when forgot password
Last modified: August 21, 2016

---

# Parse error: syntax error, unexpected T_FUNCTION when forgot password

 *  [mirzazain1](https://wordpress.org/support/users/mirzazain1/)
 * (@mirzazain1)
 * [12 years, 6 months ago](https://wordpress.org/support/topic/parse-error-syntax-error-unexpected-t_function-when-forgot-password/)
 * I have made a website using a premium theme. when a user clicks on forgot password
   the following errors happens.
 * Parse error: syntax error, unexpected T_FUNCTION in /home/muta/public_html/wordpress/
   wp-content/themes/sweetdate/404.php on line 17
 * kindly tell me how to resolve this problem as i have no knowledge of programming

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

 *  [Pipe Ten Hosting](https://wordpress.org/support/users/pipetenhosting/)
 * (@pipetenhosting)
 * [12 years, 6 months ago](https://wordpress.org/support/topic/parse-error-syntax-error-unexpected-t_function-when-forgot-password/#post-4284824)
 * Hi mirzazain1,
 * You would be best contacting the theme author on Themeforest, [http://themeforest.net/item/sweet-date-more-than-a-wordpress-dating-theme/4994573/support](http://themeforest.net/item/sweet-date-more-than-a-wordpress-dating-theme/4994573/support)
 * Kind regards
    Jamie
 *  Thread Starter [mirzazain1](https://wordpress.org/support/users/mirzazain1/)
 * (@mirzazain1)
 * [12 years, 6 months ago](https://wordpress.org/support/topic/parse-error-syntax-error-unexpected-t_function-when-forgot-password/#post-4284828)
 * i have tried but there is no solution so far. can you please help me as i guess
   its not a very bog problem just needs some coding correction.
 *  [esmi](https://wordpress.org/support/users/esmi/)
 * (@esmi)
 * [12 years, 6 months ago](https://wordpress.org/support/topic/parse-error-syntax-error-unexpected-t_function-when-forgot-password/#post-4284835)
 * We do not support commercial themes as you paid for support when you bought the
   theme. It is not our place to keep theme vendors in business or deprive them 
   of any income that they may derive from support services.

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

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

## Tags

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

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 3 replies
 * 3 participants
 * Last reply from: [esmi](https://wordpress.org/support/users/esmi/)
 * Last activity: [12 years, 6 months ago](https://wordpress.org/support/topic/parse-error-syntax-error-unexpected-t_function-when-forgot-password/#post-4284835)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
