Quantcast
Channel: WordPress.org Forums » All Topics
Viewing all articles
Browse latest Browse all 59525

Locked out and IP whitelist function doesn’t work

$
0
0

Replies: 0

I disabled the plugin to get back in to the admin dashboard but these are the error messages I got:

This feature is forbidden temporarily for security reason. Try login again.

I enabled debugging mode and got these messages:
Deprecated: Required parameter $options follows optional parameter $info in /{URL}/wp-content/mu-plugins/kinsta-mu-plugins/shared/class-shared.php on line 148

Undefined array key “HTTP_HOST” in /{URL}/public/wp-content/plugins/defender-security/src/controller/mask-login.php on line 179

Plugin ‘defender-security’ deactivated.

I tried the IP whitelist code suggested in the read.me file but it didn’t work:

add_filter( ‘ip_lockout_default_whitelist_ip’, function ( $ips ) {
$ip = ‘YOUR IP HERE’;
$ips[] = $ip;
return $ips;
} );

  • This topic was modified 35 minutes ago by jojo888.

Viewing all articles
Browse latest Browse all 59525

Trending Articles