WordPress.org

Ready to get started?Download WordPress

Forums

[Plugin: Bad Behavior] 2.0.21 Creates Errors not present with 2.0.20 (6 posts)

  1. greencurmudgeon
    Member
    Posted 5 years ago #

    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.

  2. greencurmudgeon
    Member
    Posted 5 years ago #

    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.

  3. carminecoyote
    Member
    Posted 5 years ago #

    I have exactly the same problem. Most annoying!

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

  4. PeteHoliday
    Member
    Posted 5 years ago #

    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) {
  5. Sanapaino
    Member
    Posted 5 years ago #

  6. error
    Member
    Posted 5 years ago #

    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. :)

Topic Closed

This topic has been closed to new replies.

About this Topic