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.
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.
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) {Install BB 2.0.22. http://wordpress.org/support/topic/194456
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. :)
This topic has been closed to new replies.