'Warning: Cannot modify header information' when not logged in

With the last version of this theme this warning is shown when I go to Activity or Members pages and I'm not logged in:
'Warning: Cannot modify header information - headers already sent by (output started at [...]/wp-content/themes/bp-social/activity/index.php:12) in [...]/wp-includes/pluggable.php on line 934'.

When I'm logged in it goes well. Also with the previous version.

In BuddyPress Social Theme Options, BuddyPress Settings, Global privacy is enable (only logged in user can view members profile and members directory) as it's shown in the screenshot. When it is disable, everything is ok.

    Philip John


    I've just done a test in my own install and I get the same behaviour too so it looks like you found a bug!

    I'll pass this onto the developer for a fix...



    its the issue with activity/index.php
    try remove any spacing on top and bottom or you can just replace them with the attach.
    this should go to bp-soaicl/activity/index.php

    seem like the spacing <?php ?> is effecting all index.php for bp-components.
    any redirect will have the header error...suggest submit ticket to buddypress core team..


We pride ourselves on our level of customer support and responsiveness to member requests. Your WordPress experience will never be the same

Become a member

  • PayPal Partner