Support » Fixing WordPress » Removed malware, reinstalled core files, now I can't log in to the admin panel

  • I removed malware in the wp-content version of my site by removing the code, and then re-installed all the php files in the non wp-content directories. The site works now as the malware is gone, but when I try to access the admin I get the following error message;

    Warning: Cannot modify header information – headers already sent by (output started at /home5/nativere/public_html/nr/wp-content/themes/neutica/functions.php:2) in /home5/nativere/public_html/nr/wp-includes/pluggable.php on line 890

    HELP!!!

    the website is: http://www.nativeresonance.com

    and the admin panel url thats registering the error message is http://www.nativeresonance.com/nr/wp-admin/theme-editor.php

Viewing 5 replies - 1 through 5 (of 5 total)
  • try and rename that function.php file in the theme and upload the function.php file that came with the theme.

    now i get this error

    Warning: Cannot modify header information – headers already sent by (output started at /home5/nativere/public_html/nr/wp-content/themes/neutica/functions.php:2) in /home5/nativere/public_html/nr/wp-login.php on line 337

    Warning: Cannot modify header information – headers already sent by (output started at /home5/nativere/public_html/nr/wp-content/themes/neutica/functions.php:2) in /home5/nativere/public_html/nr/wp-login.php on line 349

    Warning: Cannot modify header information – headers already sent by (output started at /home5/nativere/public_html/nr/wp-content/themes/neutica/functions.php:2) in /home5/nativere/public_html/nr/wp-includes/pluggable.php on line 717

    Warning: Cannot modify header information – headers already sent by (output started at /home5/nativere/public_html/nr/wp-content/themes/neutica/functions.php:2) in /home5/nativere/public_html/nr/wp-includes/pluggable.php on line 718

    Warning: Cannot modify header information – headers already sent by (output started at /home5/nativere/public_html/nr/wp-content/themes/neutica/functions.php:2) in /home5/nativere/public_html/nr/wp-includes/pluggable.php on line 719

    Warning: Cannot modify header information – headers already sent by (output started at /home5/nativere/public_html/nr/wp-content/themes/neutica/functions.php:2) in /home5/nativere/public_html/nr/wp-includes/pluggable.php on line 720

    Warning: Cannot modify header information – headers already sent by (output started at /home5/nativere/public_html/nr/wp-content/themes/neutica/functions.php:2) in /home5/nativere/public_html/nr/wp-includes/pluggable.php on line 721

    Warning: Cannot modify header information – headers already sent by (output started at /home5/nativere/public_html/nr/wp-content/themes/neutica/functions.php:2) in /home5/nativere/public_html/nr/wp-includes/pluggable.php on line 722

    Warning: Cannot modify header information – headers already sent by (output started at /home5/nativere/public_html/nr/wp-content/themes/neutica/functions.php:2) in /home5/nativere/public_html/nr/wp-includes/pluggable.php on line 725

    Warning: Cannot modify header information – headers already sent by (output started at /home5/nativere/public_html/nr/wp-content/themes/neutica/functions.php:2) in /home5/nativere/public_html/nr/wp-includes/pluggable.php on line 726

    Warning: Cannot modify header information – headers already sent by (output started at /home5/nativere/public_html/nr/wp-content/themes/neutica/functions.php:2) in /home5/nativere/public_html/nr/wp-includes/pluggable.php on line 727

    Warning: Cannot modify header information – headers already sent by (output started at /home5/nativere/public_html/nr/wp-content/themes/neutica/functions.php:2) in /home5/nativere/public_html/nr/wp-includes/pluggable.php on line 728

    Warning: Cannot modify header information – headers already sent by (output started at /home5/nativere/public_html/nr/wp-content/themes/neutica/functions.php:2) in /home5/nativere/public_html/nr/wp-includes/pluggable.php on line 731

    Warning: Cannot modify header information – headers already sent by (output started at /home5/nativere/public_html/nr/wp-content/themes/neutica/functions.php:2) in /home5/nativere/public_html/nr/wp-includes/pluggable.php on line 732

    Warning: Cannot modify header information – headers already sent by (output started at /home5/nativere/public_html/nr/wp-content/themes/neutica/functions.php:2) in /home5/nativere/public_html/nr/wp-includes/pluggable.php on line 733

    Warning: Cannot modify header information – headers already sent by (output started at /home5/nativere/public_html/nr/wp-content/themes/neutica/functions.php:2) in /home5/nativere/public_html/nr/wp-includes/pluggable.php on line 734

    Sounds like the first line in functions.php may be blank

    check it out. The first line must be the <?php no blank lines above or spaces before

    the first line is <?php still reading error message…

    then what’s at line 2 of functions.php?

    That is the error when the first line is blank.

    Delete/rename the neutica theme to default back to the twentyten theme, that’ll at least get you in

    I’d delete the theme, sign into WP, and then reinstall a fresh copy of the theme

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Removed malware, reinstalled core files, now I can't log in to the admin panel’ is closed to new replies.