Title: Admin fatal error
Last modified: August 20, 2016

---

# Admin fatal error

 *  [kashishberry](https://wordpress.org/support/users/kashishberry/)
 * (@kashishberry)
 * [14 years, 11 months ago](https://wordpress.org/support/topic/admin-fatal-error/)
 * My wp-admin shows the following error
 * Parse error: syntax error, unexpected T_IF, expecting ‘{‘ in /home/happlcom/public_html/
   wp-admin/includes/update.php on line 240
 * Therefore I can no longer login to my admin control.
 * Would you have any idea as to what could be wrong – the code for line 239 -246
   is as follows
 * function wp_update_theme($theme, $feedback = ”)
    if ( empty $feedback ) add_filter(‘
   update_feedback’, $feedback);
 *  include ABSPATH . ‘wp-admin/includes/class-wp-upgrader.php’;
    $upgrader = new
   Theme_Upgrader(); return $upgrader->upgrade($theme); }
 * cheers!

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

 *  Moderator [t-p](https://wordpress.org/support/users/t-p/)
 * (@t-p)
 * [14 years, 11 months ago](https://wordpress.org/support/topic/admin-fatal-error/#post-2116528)
 * Fatal error in the output generally indicates either your theme doesn’t like 
   3.0, you have a plugin that doesn’t like 3.0, or you have an incomplete upgrade.
 *  Thread Starter [kashishberry](https://wordpress.org/support/users/kashishberry/)
 * (@kashishberry)
 * [14 years, 11 months ago](https://wordpress.org/support/topic/admin-fatal-error/#post-2116531)
 * Many thanks t-p I guess I will remove the plugin but only if I can get into my
   admin control panel ….. is there a way around that?
 * What I did install was a FB connect plugin which would allow visitors to login
   via Facebook…. may that is incompatible, but either ways I would need to gain
   access to my admin control panel…..
    Any ideas on that????
 *  Moderator [t-p](https://wordpress.org/support/users/t-p/)
 * (@t-p)
 * [14 years, 11 months ago](https://wordpress.org/support/topic/admin-fatal-error/#post-2116538)
 * If you don’t have access to your admin area, try deactivating them [manually](http://codex.wordpress.org/FAQ_Troubleshooting#How_to_deactivate_all_plugins_when_not_able_to_access_the_administrative_menus.3F)
   via FTP or phpMyAdmin.
 *  Thread Starter [kashishberry](https://wordpress.org/support/users/kashishberry/)
 * (@kashishberry)
 * [14 years, 11 months ago](https://wordpress.org/support/topic/admin-fatal-error/#post-2116734)
 * Actually its not fatal error – its
    **Parse error: syntax error, unexpected T_IF,**
   expecting ‘{‘ in /home/happlcom/public_html/wp-admin/includes/update.php on line
   240
 * Have removed some of the plugins that might be responsible for the error but 
   that doesn’t help.
 * The error is in the wp-admin/includes/update.php file or in the update.php file.
 * Would anyone know how to sort this out?????

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

The topic ‘Admin fatal error’ is closed to new replies.

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 4 replies
 * 2 participants
 * Last reply from: [kashishberry](https://wordpress.org/support/users/kashishberry/)
 * Last activity: [14 years, 11 months ago](https://wordpress.org/support/topic/admin-fatal-error/#post-2116734)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
