Bad Behavior
[resolved] error on upgrade to the latest 2.2.9 (2 posts)

  1. banata
    Posted 3 years ago #

    I get this after upgrade, like mja_adam

    Warning: Invalid argument supplied for foreach() in /public_html/blog/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/blog/wp-content/plugins/bad-behavior/bad-behavior/blacklist.inc.php:176) in 
    /public_html/blog/wp-content/plugins/bad-behavior/bad-behavior/screener.inc.php on line 9

    please help, all other plugin has been deactivated but still those error occured


  2. pbeckley
    Posted 3 years ago #

    2.2.9 contains a typo in the blacklist.inc.php

    the last foreach loop says

    foreach ($bb2_spambots_utl as $spambot)

    it should say

    foreach ($bb2_spambots_url as $spambot)

    I know not everyone feels comfortable changing things like this themselves, but you can do it from the plugin editor inside WordPress if you're adventurous enough.

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Bad Behavior
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic


No tags yet.