• Notice: Undefined index: act in ~/wp-content/plugins/image-captcha/image-captcha.php on line 69

    Granted you don’t see this if debug mode is off, but it is nice to be able to run websites in debug mode. Also it would slightly help performance if this was fixed.

    Old code:

    public function action_init()
      {
        if($_GET['act'] == 'refresh-image-captcha') {
          echo $this->image();
          die;
        }
      }

    Fixed code:

    public function action_init()
      {
        if(!empty($_GET['act']) && $_GET['act'] == 'refresh-image-captcha') {
          echo $this->image();
          die;
        }
      }

    https://www.ads-software.com/plugins/image-captcha/

  • The topic ‘Undefined index warning’ is closed to new replies.