magnify
Home WordPress Bad Behavior 2.2.9
formats

Bad Behavior 2.2.9

Bad Behavior 2.2.9 has been released. This is a maintenance release and is recommended for all users.

Changes

The following changes have been made since version 2.2.8:

  • Several patterns associated with malicious activity such as SQL injection and vulnerability scanning have been identified and blocked.
  • WordPress: A code change regarding display of the whitelist in the administrative page was reverted due to unforeseen issues.

Download

Download Bad Behavior now.

Notes

While reviewing the site for the recent disaster recovery, I noted that some ports of Bad Behavior had not been updated in a very long time and do not use the new 2.2 code base, and some which appear to have been abandoned. These have been noted on the list of ports as “legacy” and “abandoned” respectively. If you are a port maintainer, or you think you may want to be, please check the list for your platform.

I also noted that some current ports were released under the GPL version 2 only. Since Bad Behavior 2.2 uses the LGPL version 3 (or any later version) the license is not compatible with GPLv2 only connectors. I’ll be contacting port maintainers individually about these to attempt to resolve these issues, but if you are one and you are aware of this, please update your license to GPLv3 or later, or LGPLv2.1 or later.

Finally, thank you to all of you who provided kind words, offers of technical assistance and of course donations during this very stressful disaster recovery. If you haven’t contributed lately, or at all, please help me keep Bad Behavior going by donating today.

 
 Share on Facebook Share on Twitter Share on Reddit Share on LinkedIn
15 Comments  comments 

15 Responses

  1. Andreas Schamanek

    Apparently, there is an unfortunate typo in line 176 of blacklist.inc.php. It should read “url” not “utl”. E.g., my WP 3.4.1 says:

    PHP Warning: Invalid argument supplied for foreach() in /var/www/wp-content/plugins/bad-behavior/bad-behavior/blacklist.inc.php on line 176

  2. Mike Goodstadt

    Had to step back to 2.2.8 because of the following errors:
    Warning: Invalid argument supplied for foreach() in /my/host/public_html/wp/wp-content/plugins/bad-behavior/bad-behavior/blacklist.inc.php on line 176

    Warning: Cannot modify header information - headers already sent by (output started at /my/host/public_html/wp/wp-content/plugins/bad-behavior/bad-behavior/blacklist.inc.php:176) in /my/host//public_html/wp/wp-content/plugins/bad-behavior/bad-behavior/screener.inc.php on line 9

    Warning: session_start() [function.session-start]: Cannot send session cache limiter - headers already sent (output started at /my/host/public_html/wp/wp-content/plugins/bad-behavior/bad-behavior/blacklist.inc.php:176) in /my/host/public_html/wp/wp-content/plugins/my-own-plugin/myownplugin.php on line 46

  3. Just updated the badbehavior plugin for wordpress to version 2.2.9

    Had an error immediatly afterwards, this is due to a typo on page blacklist.inc line 176 where it reads

    foreach ($bb2_spambots_utl as $spambot) {
    but should read
    foreach ($bb2_spambots_url as $spambot) {

    a simple typo, but may throw non tech users.

    Just thought I would pass this on.

    Great system keep up the good work, John.

  4. I received this following errors after installing this version.

    Warning: Invalid argument supplied for foreach() in /home/statman/public_html/wp/wp-content/plugins/bad-behavior/bad-behavior/blacklist.inc.php on line 176

    Warning: Cannot modify header information – headers already sent by (output started at /home/statman/public_html/wp/wp-content/plugins/bad-behavior/bad-behavior/blacklist.inc.php:176) in /home/statman/public_html/wp/wp-content/plugins/bad-behavior/bad-behavior/screener.inc.php on line 9

    I’ve deactivated the plugin. Can you help with fixing this?

  5. After installing 2.2.9 in my blog, I began getting these warnings (long paths reduced for readability):

    Warning: Invalid argument supplied for foreach() in …./blacklist.inc.php on line 176

    Warning: Cannot modify header information – headers already sent by (output started at …./blacklist.inc.php:176) in …./screener.inc.php on line 9

    I hope this helps!

  6. Carsten B.

    After updating to this version, WordPress 3.4.1 keeps telling me that there’s issues with Bad Behavior and consequently with the Counterize plugin:

    Warning: Invalid argument supplied for foreach() in SERVER_ROOT/wp-content/plugins/bad-behavior/bad-behavior/blacklist.inc.php on line 176

    Warning: session_start() [function.session-start]: Cannot send session cache limiter – headers already sent (output started at SERVER_ROOT/wp-content/plugins/bad-behavior/bad-behavior/blacklist.inc.php:176) in SERVER_ROOT/wp-content/plugins/counterize/counterize.php on line 16

  7. With last update 2.2.9 getting the following warnings in the admin panel. have Deactivated. edited path to show only wp-content.

    Warning: Invalid argument supplied for foreach() in /…../wp-content/plugins/bad-behavior/bad-behavior/blacklist.inc.php on line 176

    Warning: Cannot modify header information – headers already sent by (output started at …../wp-content/plugins/bad-behavior/bad-behavior/blacklist.inc.php:176) in /home/xxxxx/public_html/beerkitreviews.com/wp-content/plugins/bad-behavior/bad-behavior/screener.inc.php on line 9

    Warning: session_start() [function.session-start]: Cannot send session cache limiter – headers already sent (output started at …/wp-content/plugins/bad-behavior/bad-behavior/blacklist.inc.php:176) in …../wp-content/plugins/bminstant/bminstant.php on line 30

  8. Hi. I’ve just upgraded plugin to v2.2.9 on one of my sites and get an error at line 176 of blacklist.inc.php. The line says….

    foreach ($bb2_spambots_utl as $spambot) {

    but I suspect it should be….

    foreach ($bb2_spambots_url as $spambot) {

  9. Chris

    I get this after the upgrade:

    Warning: Invalid argument supplied for foreach() in /home/[user]/public_html/sitewp/wp-content/plugins/bad-behavior/bad-behavior/blacklist.inc.php on line 176

    Warning: Cannot modify header information - headers already sent by (output started at /home/[user]/public_html/sitewp/wp-content/plugins/bad-behavior/bad-behavior/blacklist.inc.php:176) in /home/[user]/public_html/sitewp/wp-content/plugins/bad-behavior/bad-behavior/screener.inc.php on line 9

  10. Tom

    Received this error on installation:

    The plugin generated 219 characters of unexpected output during activation. If you notice “headers already sent” messages, problems with syndication feeds or other issues, try deactivating or removing this plugin.

    Ths appears on the WP page:

    Warning: Invalid argument supplied for foreach() in /home/content/s/c/i/scicoplv/html/dryadsgarden/wordpress/wp-content/plugins/bad-behavior/bad-behavior/blacklist.inc.php on line 176

    Warning: Cannot modify header information – headers already sent by (output started at /home/content/s/c/i/scicoplv/html/dryadsgarden/wordpress/wp-content/plugins/bad-behavior/bad-behavior/blacklist.inc.php:176) in /home/content/s/c/i/scicoplv/html/dryadsgarden/wordpress/wp-content/plugins/bad-behavior/bad-behavior/screener.inc.php on line 9

  11. Your latest release 2.2.9 creates serious errors & makes admin login disfunctional without reinstalling previous version. See errors here:

    Warning: Invalid argument supplied for foreach() in …/wp-content/plugins/bad-behavior/bad-behavior/blacklist.inc.php on line 176

    Warning: session_start() [function.session-start]: Cannot send session cookie – headers already sent by (output started at /…/plugins/bad-behavior/bad-behavior/blacklist.inc.php:176) in /…/plugins/count-per-day/counter-core.php on line 200

    Warning: session_start() [function.session-start]: Cannot send session cache limiter – headers already sent (output started at /…/plugins/bad-behavior/bad-behavior/blacklist.inc.php:176) in /…/plugins/count-per-day/counter-core.php on line 200

    Warning: Cannot modify header information – headers already sent by (output started at /…/plugins/bad-behavior/bad-behavior/blacklist.inc.php:176) in /…/plugins/firstimer.php on line 87

    Warning: Cannot modify header information – headers already sent by (output started at /…/plugins/bad-behavior/bad-behavior/blacklist.inc.php:176) in /…/wp-includes/pluggable.php on line 881

  12. butchs

    blacklist.inc.php failed my audit. You need to change $bb2_spambots_utl to $bb2_spambots_url.

  13. Li Chong

    I updated the plugin today and sent me this error:

    Warning: Invalid argument supplied for foreach() in /home4/public_html/wp-content/plugins/bad-behavior/bad-behavior/blacklist.inc.php on line 176

    Warning: Cannot modify header information – headers already sent by (output started at /home4/public_html/wp-content/plugins/bad-behavior/bad-behavior/blacklist.inc.php:176) in /home4/feuvcl/public_html/wp-content/plugins/bad-behavior/bad-behavior/screener.inc.php on line 9

  14. mike

    just updated to 2.2.9 and get the following error displayed in admin on on my site. had to deactivate plugin.

    Warning: Invalid argument supplied for foreach() in public_html/wp-content/plugins/bad-behavior/bad-behavior/blacklist.inc.php on line 176

    Warning: Cannot modify header information – headers already sent by (output started at public_html/wp-content/plugins/bad-behavior/bad-behavior/blacklist.inc.php:176) in /home/mrking/public_html/wp-content/plugins/bad-behavior/bad-behavior/screener.inc.php on line 9

  15. I’m having this error with the 2.2.9 version of the wordpress plugin on the bad behaviour log page

    Warning: Invalid argument supplied for foreach() in /path/to/wp/wp-content/plugins/bad-behavior/bad-behavior/blacklist.inc.php on line 176

    Warning: Cannot modify header information - headers already sent by (output started at /path/to/wp/wp-content/plugins/bad-behavior/bad-behavior/blacklist.inc.php:176) in /path/to/wp/wp-content/plugins/bad-behavior/bad-behavior/screener.inc.php on line 9