Problem loading wordpress blog on Google Chrome

I was doing some tweaks with the header and stuff of my wordpress blog. And all of a sudden I just realized that Google Chrome is having issues browsing the Blog page. On the other hand its working fine on Firefox. I am not sure what went wrong, following is the error message that I receive:

Warning: Cannot modify header
information – headers already sent by
(output started at
/home/misspass/public_html/wp-blog-header.php:3)
in
/home/misspass/public_html/wp-includes/pluggable.php
on line 890

Read More

The address of the blog is

I would be obliged if anyone could help me out regarding this issue.

Related posts

Leave a Reply

3 comments

  1. did you modify some plugins, or write some new functions that are loaded in the functions.php of the theme directory?

    Are this plugins echoing something, like debug strings. This error happens when you output something BEFORE the header() function of wordpress.

    What files did you modify ?
    Examining your output there are 2 n before the warning message, seems like an echo of a null value.

  2. Fundamentally, I don’t think this is a Chrome problem. Your page fails for me in Firefox, too. I’m guessing the working page you’re seeing in Firefox is being cached by either Firefox or WordPress, if you have a cache turned on, server-side.

    Your problem is that PHP is echoing something out to the page sometime earlier than a later call to PHP’s header() function. Because the headers have to come first (hence the name — they’re in the head of the document), this is an error.

    A trivial example would be this:

    <?php 
        echo "Hi.";
        header('Content-Type: text/plain');
    

    This is an error because PHP outputs some of the main part of the page before it tries to send a header. If it was the other way around:

    <?php 
        header('Content-Type: text/plain');
        echo "Hi.";
    

    …it would be fine.

    In your case, it looks like the wp_redirect() function is being called, which tries to send a ‘Location:’ header. That’s what’s on line 890 of pluggable.php in the latest WordPress, anyway. But that redirection is failing because something on line 3 of your wp-blog-header.php file has already output something other than a header.

    You need to check the code you’ve changed. The error appears to be coming from line 3 on wp_blog_header.php, but that seems a bit odd, as that’s not a file you should be changing in order to re-theme a WordPress blog. Is it possible you opened that file and accidentally added a few blank lines at the top, before the <?php? Because that could definitely have caused the problem.