getting the same error. Not sure what happened, but cant view settings.
Can you please take a look at the following support post (https://wordpress.org/support/topic/copy-and-paste-this-code-into-your-plugin-please-1?replies=1) that I made. I love your plugin and I am not sure that you got to see this. I modified the plugin (changed 3 lines of code or so) so that it allows for whitelisting of domains as well as IP addresses. I feel like this improves the functionality drastically because in many examples, IP addresses are dynamic, and this allows for the whitelist to work better.
function allow_ip_addresses( $bool ) {
$ip_addresses = $this->get_allowed_ip_addresses();
foreach($ip_addresses as $ip){
if ( $_SERVER['REMOTE_ADDR'] === gethostbyname($ip) ) {
$bool = false; break;
}
}
return $bool;
}
I keep having to update your plugin and having to update this function over and over so I would really appreciate it if you could include this in your plugin.
Sorry to post off topic, wasn’t sure how to get your attention.
Thank you very much for your help.