Conflict with Wordfence..... they blame you

OK, love this plugin, but started getting an error.

I started started using Wordfence, a Wordpress security plugin.
Now, in the Activity Plus widget, it displays an error message, each time a filter is selected:

Here is the error message:

Warning: Cannot modify header information - headers already sent by (output started at /home/xxxxx/public_html/wp-content/plugins/buddypress-sitewide-activity-widget/bp-sitewide-activity.php:417) in /home/xxxxx/public_html/wp-content/plugins/wordfence/lib/wordfenceClass.php on line 1046

Here is what Wordfence is saying:

mark wrote:

The routine in Wordfence that you’re getting the message from runs during the ‘init’ action. As per the documentation:

“Runs after WordPress has finished loading but before any headers are sent. Useful for intercepting $_GET or $_POST triggers”

So it looks like the bp-sitewide-activity widget is sending headers before it’s supposed to. So this isn’t a conflict, it’s caused because we are trying to send headers at the correct stage of execution and something else (BP plugin in this case) has already sent headers.

I’d recommend checking your error log to see what is wrong with the BP plugin.


Any help would be appreciated.