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. 🙂