Skip to:
Content
Pages
Categories
Search
Top
Bottom

CloudFlare plugin error, Warning: Cannot modify header information


  • Donnacha
    Participant

    @donnacha

    The CloudFlare plugin, http://wordpress.org/extend/plugins/cloudflare/, allows helps to integrate WordPress blogs with CloudFlare, a new service that reduces server burden and increases pageload times through a combination of caching and DNS optimisation. You change your domain’s name-servers to Cloudflare’s name servers and they, via your account settings, point to your server – essentially, their service stands between your website and the rest of the Web. I’ve been testing it on a single-site installation of WP for a few weeks and it seems pretty good.

    Today, however, I installed BuddyPress on that same single-site installation and I notice that, when I post an update to a group, the update is successfully posted but the following error is temporarily displayed beneath it:


    Warning: Cannot modify header information – headers already sent by (output started at /home/wskill/public_html/wp-content/plugins/buddypress/bp-themes/bp-default/_inc/ajax.php:142) in /home/wskill/public_html/wp-content/plugins/cloudflare/cloudflare.php on line 57



    That warning disappears when the page next refreshes but, obviously, that would be alarming to users.

    I’ve tried several different BP themes, same error message shows every time an update is submitting.

    You can see the error in action here, registrations are open if anyone wants to test it: http://wordskill.com/groups/test-group/

    If anyone has any insights on why this is happening and how it might be possible to prevent it, I would very much appreciate your advice.

Viewing 3 replies - 1 through 3 (of 3 total)

  • Donnacha
    Participant

    @donnacha

    FIXED!

    Ian @ CloudFlare has dealt with the bug and pushed a new version to the plugin directory, my testing confirms that the error no longer occurs.

    Nice, fast response from those guys, very impressive.


    dinoraptor101
    Participant

    @dinoraptor101

    He didn’t fix the page caching.. it sends static pages.. and users who login still see themselves logged out..
    same goes for joining groups .. or making posts.. it’s all not visible.. until the cache re-cached or purged…

    Please allow the option to disable static page delivery, for buddy press and live-sites

    Thanks ^^


    LPH2005
    Participant

    @lph2005

    @dinoraptor101 – I see you posted this same idea in another thread, too.

    I use CloudFlare on buddypress sites and do not have the issues you describe. I am paying for the pro version for the sites and am able to change settings from Basic to Aggressive, etc. Maybe something else is happening on your site and there is a plugin conflict. For example, I removed WT3C because of issues with CloudFlare. Have you contacted CloudFlare?

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘CloudFlare plugin error, Warning: Cannot modify header information’ is closed to new replies.
Skip to toolbar