• Hi

    plugins/limit-login-attempts-reloaded/core/LimitLoginAttempts.php:296:

    (! isset( $valid[ $ip ] ) && ! isset( $valid[ $this->getHash($ip) ] )) ||
     (time() > $valid[ $ip ] && time() > $valid[ $this->getHash($ip) ])

    Can produce:

    Notice: Undefined index: x.x.x.x (ip address)

    Presumably because $valid[ $this->getHash($ip) ] is set but $valid[ $ip ] is not.

    Cheers
    Jamie

    Plugin version: 2.16.0
    WP version: 5.5.3
    PHP 7.3

  • The topic ‘Notice: Undefined index: (ip address) LimitLoginAttempts.php’ is closed to new replies.