Hi,
Can you please do a database update under the plugin settings and try again?
It looks like there is a problem with the lookup result.
Hi,
Thanks for your support, I performed the action you described.
But yesterday I noticed the same error again
[15-May-2022 02:52:58 UTC] PHP Warning: Trying to access array offset on value of type bool in /www/wp-content/plugins/ip2location-country-blocker/ip2location-country-blocker.php on line 2956
[15-May-2022 02:52:58 UTC] PHP Warning: Trying to access array offset on value of type bool in /www/wp-content/plugins/ip2location-country-blocker/ip2location-country-blocker.php on line 2957
Any suggestions?
Peter
I made some fixes to this issue. Please update to version 2.26.12.
Hi, This morning I updated my site with the patch.
3 hours later no errors yet, but I think we will have to wait a bit longer.
Then tomorrow I will let you know if it is fixed with this patch
Thanks for the quick support!
Peter
Hi,
Checked my logging and noticed the following errors
[17-May-2022 16:51:06 UTC] PHP Warning: Undefined variable $caches in /www/wp-content/plugins/ip2location-country-blocker/ip2location-country-blocker.php on line 3057
[17-May-2022 16:51:06 UTC] PHP Warning: Undefined variable $caches in /www/wp-content/plugins/ip2location-country-blocker/ip2location-country-blocker.php on line 3058
[17-May-2022 16:51:06 UTC] PHP Warning: Trying to access array offset on value of type null in /www/wp-content/plugins/ip2location-country-blocker/ip2location-country-blocker.php on line 3058
[17-May-2022 16:51:06 UTC] PHP Warning: Undefined variable $caches in /www/wp-content/plugins/ip2location-country-blocker/ip2location-country-blocker.php on line 3059
I hope this helps you find a solution
Peter
Can you update to the latest version for this fix?
Hi,
Just checked my site, there are currently no more errors present
So it seems to be resolved
Thanks for the quick fixes
Peter