• Resolved advaith

    (@advaith)


    When i go to bestelectronicgadgets.in/wp-admin this message comes up
    “Warning: Cannot modify header information – headers already sent by (output started at /home/bestcrqh/public_html/wp-content/themes/colormag/functions.php:2) in /home/bestcrqh/public_html/wp-includes/pluggable.php on line 1210”

    The 1210 line in /home/bestcrqh/public_html/wp-includes/pluggable.php is header(“Location: $location”, true, $status); what should i change?

    The page I need help with: [log in to see the link]

Viewing 6 replies - 1 through 6 (of 6 total)
  • Moderator Steven Stern (sterndata)

    (@sterndata)

    Volunteer Forum Moderator

    The error is in /home/bestcrqh/public_html/wp-content/themes/colormag/functions.php, not the core file pluggable.php. Have you edited that file lately?

    You might check that file to see if it’s been hacked by the addition of some code at the top. Given the popup ads that I see when I go to your site, I suspect that’s the case.

    Thread Starter advaith

    (@advaith)

    I have not edited the file recently

    What should I do?

    • This reply was modified 7 years, 7 months ago by advaith.
    • This reply was modified 7 years, 7 months ago by advaith.
    Moderator Steven Stern (sterndata)

    (@sterndata)

    Volunteer Forum Moderator

    Download a fresh copy of your theme and unzip. Then, using FTP, upload the theme’s functions.php file to your site, replacing the one that’s there.

    Thread Starter advaith

    (@advaith)

    I did it but know this message comes
    “Warning: Cannot modify header information – headers already sent by (output started at /home/bestcrqh/public_html/wp-content/themes/colormag/functions.php:198) in /home/bestcrqh/public_html/wp-includes/pluggable.php on line 1210”

    Moderator Steven Stern (sterndata)

    (@sterndata)

    Volunteer Forum Moderator

    It may be that your theme is corrupt or old, or your site has been hacked. As noted above, download a fresh copy of the theme and replace the files already on your site.

    Once your site is up, on that theme or one of the fallback twenty* themes, install the WordFence plugin and scan your site to see if it’s been hacked.

    Thread Starter advaith

    (@advaith)

    Thank you!!
    Problem is solved

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Not able to open /wp-admin page’ is closed to new replies.