Title: Cannot Enter WP-Admin due to function.php corrupted
Last modified: August 20, 2016

---

# Cannot Enter WP-Admin due to function.php corrupted

 *  Resolved [Lee Leong Sze](https://wordpress.org/support/users/lee-leong-sze/)
 * (@lee-leong-sze)
 * [14 years ago](https://wordpress.org/support/topic/cannot-enter-wp-admin-due-to-functionphp-corrupted/)
 * Hi,
 * I am facing problem to access WP-admin due to function.php corrupted after I 
   have edited it.
    Can anyone advice how to recover it? Thanks in advance.[](http://www.lexcomsolution.com)

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

 *  Thread Starter [Lee Leong Sze](https://wordpress.org/support/users/lee-leong-sze/)
 * (@lee-leong-sze)
 * [14 years ago](https://wordpress.org/support/topic/cannot-enter-wp-admin-due-to-functionphp-corrupted/#post-2756351)
 * Hi, anyone can help?
    It show as below when I login to admin,
 * Parse error: syntax error, unexpected ‘<‘ in C:\Inetpub\vhosts \lexcomsolution.
   com\httpdocs\wp-content\themes\spectrum\functions.php on line 14
 * Thanks..
 *  Moderator [Jan Dembowski](https://wordpress.org/support/users/jdembowski/)
 * (@jdembowski)
 * Forum Moderator and Brute Squad
 * [14 years ago](https://wordpress.org/support/topic/cannot-enter-wp-admin-due-to-functionphp-corrupted/#post-2756353)
 * Use FTP or whatever file management tools your host provides you and restore 
   an unedited version of the `wp-content\themes\spectrum\functions.php` file.
 * If you’re not able to do that, back up the entire `spectrum` directory and then
   delete it. That will let you back into your WordPress dashboard and site.
 *  Thread Starter [Lee Leong Sze](https://wordpress.org/support/users/lee-leong-sze/)
 * (@lee-leong-sze)
 * [14 years ago](https://wordpress.org/support/topic/cannot-enter-wp-admin-due-to-functionphp-corrupted/#post-2756447)
 * Hi, Thanks so much…The problem is solved now.

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

The topic ‘Cannot Enter WP-Admin due to function.php corrupted’ is closed to new
replies.

## Tags

 * [corrupted](https://wordpress.org/support/topic-tag/corrupted/)
 * [function.php](https://wordpress.org/support/topic-tag/function-php/)
 * [wp-admin](https://wordpress.org/support/topic-tag/wp-admin/)

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 3 replies
 * 2 participants
 * Last reply from: [Lee Leong Sze](https://wordpress.org/support/users/lee-leong-sze/)
 * Last activity: [14 years ago](https://wordpress.org/support/topic/cannot-enter-wp-admin-due-to-functionphp-corrupted/#post-2756447)
 * Status: resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
