• Resolved Chankey Pathak

    (@chankey-pathak)


    I have a website (https://www.casino-edge.com), I am using WordPress for it. I edited header.php and functions.php file to put my Google Analytics code there. But after that when I am trying to login to my administrative account by this:-

    https://www.casino-edge.com/wp-admin.php

    Then this warning comes and I am unable to login to my wordpress account.

    Warning:

    Cannot modify header information – headers already sent by (output started at /home/wwwwww/public_html/wp-content/themes/poker-complex/functions.php:11) in /home/wwwwww/public_html/wp-includes/pluggable.php on line 934

Viewing 4 replies - 1 through 4 (of 4 total)
  • Hi,
    I just posted on the same topic – I didn’t see your post from earlier today.
    I have the same warning and no matter what I do I can’t get it to go away.You can try what they suggest here, but it didn’t work for me:

    https://codex.www.ads-software.com/FAQ_Troubleshooting#How_do_I_solve_the_Headers_already_sent_warning_problem.3F

    I’m curious if it will work for you.
    good luck.

    by the way – I also just noticed that i get almost exactly the same error as you:

    Warning: Cannot modify header information - headers already sent by (output started at /home/content/48/7360348/html/manyerot/wp-content/themes/twentyten/functions.php:1) in /home/content/48/7360348/html/manyerot/wp-includes/pluggable.php on line 934

    The only difference is the line in the function php file.

    Somebody, help us! please!

    Thread Starter Chankey Pathak

    (@chankey-pathak)

    I got it, I had to remove all white space (spaces and carriage returns) before any opening <?php or <? tags and after all closing ?> tags.

    Ok. i’m going back in. maybe I missed one somewhere.
    glad it worked out for you.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Cannot modify header information’ is closed to new replies.