Title: wp-admin error: Parse error: syntax error, unexpected T_ELSE in wp-login.php on
Last modified: August 20, 2016

---

# wp-admin error: Parse error: syntax error, unexpected T_ELSE in wp-login.php on

 *  [ali_cruse](https://wordpress.org/support/users/ali_cruse/)
 * (@ali_cruse)
 * [14 years, 1 month ago](https://wordpress.org/support/topic/wp-admin-error-parse-error-syntax-error-unexpected-t_else-in-wp-loginphp-on/)
 * Hi,
    when i try to open the wp-admin i am getting the following error Parse error:
   syntax error, unexpected T_ELSEIF in mydomain.com/wp-login.php on line 655
 * please help me how to resolve it…

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

 *  [D Chad](https://wordpress.org/support/users/cdahlstrom/)
 * (@cdahlstrom)
 * [14 years, 1 month ago](https://wordpress.org/support/topic/wp-admin-error-parse-error-syntax-error-unexpected-t_else-in-wp-loginphp-on/#post-2731114)
 * Hi,
 * Try re-uploading just that file “wp-login.php” in /wp-admin. Generally that fixes
   that error. Or sometimes the whole /wp-admin folder. Make sure to back up any
   files you overwrite first though.
 * Cheers,
    Chad
 *  Thread Starter [ali_cruse](https://wordpress.org/support/users/ali_cruse/)
 * (@ali_cruse)
 * [14 years, 1 month ago](https://wordpress.org/support/topic/wp-admin-error-parse-error-syntax-error-unexpected-t_else-in-wp-loginphp-on/#post-2731115)
 * thanks its done… but now i am getting the error creating a new post,, please 
   guide what should i do ..
 * regards

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

The topic ‘wp-admin error: Parse error: syntax error, unexpected T_ELSE in wp-login.
php on’ is closed to new replies.

## Tags

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

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 2 replies
 * 2 participants
 * Last reply from: [ali_cruse](https://wordpress.org/support/users/ali_cruse/)
 * Last activity: [14 years, 1 month ago](https://wordpress.org/support/topic/wp-admin-error-parse-error-syntax-error-unexpected-t_else-in-wp-loginphp-on/#post-2731115)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
