WordPress.org

Ready to get started?Download WordPress

Forums

Removed malware, reinstalled core files, now I can't log in to the admin panel (6 posts)

  1. misseng
    Member
    Posted 3 years ago #

    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

  2. govpatel
    Member
    Posted 3 years ago #

    try and rename that function.php file in the theme and upload the function.php file that came with the theme.

  3. misseng
    Member
    Posted 3 years ago #

    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

  4. Rev. Voodoo
    Volunteer Moderator
    Posted 3 years ago #

    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

  5. misseng
    Member
    Posted 3 years ago #

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

  6. Rev. Voodoo
    Volunteer Moderator
    Posted 3 years ago #

    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

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags