Support » Plugin: Bad Behavior » PHP Notice: Undefined variable: cookie_value in screener.inc.php

  • Notice: Undefined variable: cookie_value in wp-content/plugins/bad-behavior/bad-behavior/screener.inc.php on line 14

    The $cookie_value variable is the problem:

    
    function bb2_screener_cookie($settings, $package, $cookie_name, $cookie_value)
    {
    	// Delete existing cookie, if any
    	setcookie($cookie_name, $cookie_value, 1, bb2_relative_path());
    }
    
    function bb2_screener($settings, $package)
    {
    	bb2_screener_cookie($settings, $package, BB2_COOKIE, $cookie_value);
    }
    
  • The topic ‘PHP Notice: Undefined variable: cookie_value in screener.inc.php’ is closed to new replies.