WordPress.org

Support

Support » Plugins and Hacks » [Plugin: Bad Behavior] 2.0.21 Creates Errors not present with 2.0.20

[Plugin: Bad Behavior] 2.0.21 Creates Errors not present with 2.0.20

  • Installation of 2.0.21 creates array associated errors with posting / editing topics and even deactivating the plugin. These issues do not appear with 2.0.20 and I have reverted for the moment.

Viewing 5 replies - 1 through 5 (of 5 total)
  • More detail –

    Warning: Wrong parameter count for array_key_exists() in /home/httpd/vhosts/httpdocs/wp-content/plugins/bad-behavior/bad-behavior/post.inc.php on line 33

    Warning: Cannot modify header information – headers already sent by (output started at /home/httpd/vhosts/httpdocs/wp-content/plugins/bad-behavior/bad-behavior/post.inc.php:33) in /home/httpd/vhosts/httpdocs/wp-content/plugins/bad-behavior/bad-behavior/screener.inc.php on line 8

    Warning: Cannot modify header information – headers already sent by (output started at /home/httpd/vhosts/httpdocs/wp-content/plugins/bad-behavior/bad-behavior/post.inc.php:33) in /home/httpd/vhosts/httpdocs/wp-includes/pluggable.php on line 770

    I’ve tried this on several different environments – same story.

    I have exactly the same problem. Most annoying!

    Tried several times and via several routes with the same result.

    Changing Line 33 to the following fixes the error for me:

    if (array_key_exists('Referer', $package['headers_mixed']) && stripos($package['headers_mixed']['Referer'], $package['headers_mixed']['Host']) === FALSE) {

    Upgrade to the current version.

    And don’t post about Bad Behavior on these forums if you expect a response from the developer. I don’t read here much. 🙂

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘[Plugin: Bad Behavior] 2.0.21 Creates Errors not present with 2.0.20’ is closed to new replies.
Skip to toolbar