• 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

    (@t-p)

    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

    (@kashishberry)

    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

    (@t-p)

    If you don’t have access to your admin area, try deactivating them manually via FTP or phpMyAdmin.

    Thread Starter kashishberry

    (@kashishberry)

    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.