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”

http://codex.wordpress.org/Plugin_API/Action_Reference/init

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.

Daniel

  • aecnu
    • WP Unicorn

    Greetings Daniel,

    Thank you for letting us know about your error and the response from Wordfence.

    It is quite the norm in the software arena that two producers point the finger at each other, I have seen it 100 times and neither makes an effort to help you, but not here on WPMU Dev.

    I am going to see about getting the lead developer in here to review the error above and to offer his advice/advise as to what he believes the problem is and most likely how to fix it.

    Though this may take a bit longer then a normal ticket, I will see if I can get him in here asap.

    Cheers, Joe

  • bayareamarketingmedia
    • Flash Drive

    You are correct, Buddypress Sitewide Activity Widget was where the error was. It does not appear in the Buddy Press Activity Plus..... my mistake.

    After reviewing the site, it appears that I get the same error for any widget that filters. It's fine on load, but when you click a link to filter the data, it displays the error.

    Perhaps, you guys could create a widget that mimics your BuddyPress Activity Plus, so we could put it on the homepage?

    That would be awesome!

Thank NAME, for their help.

Let NAME know exactly why they deserved these points.

Gift a custom amount of points.