Hi,
My host gave a warning my disk space was getting low which I didn’t understand as sites are not very heavy. Then I found that this plugin is keeping all logs and they are very big.
The logs/temp files go to this folder:
public_html/wp-content/uploads
Files are
IP2LOCATION-LITE-DB1.IPV6_.BIN-individualcode.tmp
and
IP2LOCATION-LITE-DB1.BIN-individualcode.tmp
Where in the settings of the plugin can I change this?
Thanks in advance, best,
Mirjam
]]>When I tried to activate this plugin I got this error message:
Plugin could not be activated because it triggered a fatal error.
]]>Hello. I would like to know if this plugin can block specific pages from being accessed by certain countries or, simply put, a page can only be accessed by one country.
Best regards
]]>Hello. Seems ipv6 blocking of network doesn’t work. Can you confirm it?
See image https://disk.yandex.ru/i/o6I3w2RFij5OlQ
]]>All the links in your plugin and your domain itself do not work: “Sorry, your request cannot be accepted.” SO I can’t read the docs. ??
My location: de
]]>Hello,
There is a conflict of this plugin with the plugin trackthe.click.
When you enter the dashboard of trackthe.click the page load all in white, without any data, but when you remome “ip-location-block-auth-nonce” from parameters of the url, data shows without any problem.
for example:
https://www.my.url/wp-admin/admin.php?page=track-the-click&ip-location-block-auth-nonce=7jj0535221 doesn’t work
but manual removing parameter: https://www.my.url/wp-admin/admin.php?page=track-the-click works right
Thanks for your support.
]]>Maybe I missed it but I cannot find anything in the docs about setting this up as an MU Plugin. The info page says it can be done but am I missing the how/where to enable this?
]]>Doesn’t seem to be gone, one line number is different though. This was last night, and the site had definitely updated before.
2024-09-27_23:53:50_PHP Warning: Trying to access array offset on value of type null in /srv/data/web/vhosts/MYSITE.COM/htdocs/wp-content/plugins/ip-location-block/classes/class-ip-location-block-apis.php on line 677
2024-09-27_23:53:50_PHP Warning: Trying to access array offset on value of type null in /srv/data/web/vhosts/MYSITECOM/htdocs/wp-content/plugins/ip-location-block/classes/class-ip-location-block.php on line 825
A couple few weeks ago in the settings I noticed I had IP2Location, GeoLite2, and IP Location Block all turned on in your plugin. Seeing (Recommended) for your plugin and not the others, I unchecked the radio buttons for the first two, leaving only IP Location Block on. I also had to delete the GeoLite2 API because turning if off wouldn’t actually turn it off unless the data field was empty.
I just now noticed that Google is no longer indexing the site when typing in the domain. If I search it without the .com, it eventually shows up. Editing the above settings is the only thing done to the website in a long time so I’m wondering if Google’s not finding it anymore and is relying on older indexing to call up the non-domain reference. Your plugin is set to turn away all visitors except for the U.S. since the website doesn’t yet do business outside that country.
Sadly, your plugin is still not compatible with the Divi platform and I have to turn it off every time I need to make edits – before I start editing the website, or it won’t let me save the edits.
Hello, I am getting these warnings with WP 6.6.1:
[28-Aug-2024 10:42:36 UTC] PHP Warning: Trying to access array offset on value of type null in /srv/data/web/vhosts/mysite.com/htdocs/wp-content/plugins/ip-location-block/classes/class-ip-location-block-apis.php on line 664
[28-Aug-2024 10:42:38 UTC] PHP Warning: Trying to access array offset on value of type null in /srv/data/web/vhosts/mysite.com/htdocs/wp-content/plugins/ip-location-block/classes/class-ip-location-block.php on line 825
Any ideas what to do? The problem apparently already existed (maybe elsewhere in the code?) and was solved, bit I still see these two errors regularly
]]>Hello,
I tried to put only one IP address in the white list to allow access to the back-end. Didn’t work, it didn’t block anything and allowed all.
I had to put at least one country in the “country” list, so it allows only the IP (and the country).
Would be good if we can allow only IP (or IPs), we manage a few sites from one small IP class.
Thank you
]]>Hello, I am trying your plugin and so far it’s really impressive. But its putting out deprecation warning every time I just messing around in the settings.
Deprecated: Creation of dynamic property IP_Location_Block_API_GeoLite2::$template is deprecated in?/home/***/public_html/wp-content/plugins/ip-location-block/classes/class-ip-location-block-apis.php on line 79
Thanks.
]]>Hey! it would be a great feature to have an automated option to block know tor nodes. It can use a database to be always updated, like
https://secureupdates.checkpoint.com/IP-list/TOR.txt
https://github.com/SecOps-Institute/Tor-IP-Addresses
I know tor is used for free of speech, but also to attack, just like geoip from specific countries
]]>Some of my shop managers get randomly kicked out of the site. I have a screenshot attached, is there any way to avoid this? All of them are in countries that are not blocked. It only happens on occasion.
Hi,
I have WordPress 6.5.3, WooCommerce 8.9.1 and PHP 8.3 installed and the plugin IP Location Block presents several warning messages with Query Monitor.
Message:?Trying to access array offset on null.
Location:
Please correct, thank you.
]]>When I disable IP Location Block plugin, I can save my page edited with divi builder; But when I enable the plugin I get the following:
Your Save Has Failed
An error has occurred while saving your page. Various problems can cause a save to fail, such as a lack of server resources, firewall blockages, plugin conflicts or server misconfiguration. You can try saving again by clicking Try Again, or you can download a backup of your unsaved page by clicking Download Backup. Backups can be restored using the portability system while next editing your page.
Contacting your host and asking them to increase the following PHP variables may help: memory_limit, max_execution_time, upload_max_filesize, post_max_size, max_input_time, max_input_vars. In addition, auditing your firewall error log (such as ModSecurity) may reveal false positives that are preventing saves from completing.
Lastly, it is recommended that you temporarily disable all WordPress plugins and browser extensions and try to save again to determine if something is causing a conflict.
Any help?
Thank you
]]>Hello, I am trying to block:
but these do not work. I tested them with a VPN set to those countries and my resulting IP was indeed from those countries, and I still managed to visit my website.
I can provide some proof like a video.
]]>Hi,
I’m using the plugin for a month and it’s pretty great, thanks.
I have an issue now in my wp-admin, some of the links are not working anymore. For example: I’m using woocommerce, in the settings where I can define sending zone, links are not working anymore. Also, when I want to use part of links that appears when the mouse is over a page title, some are not working.
If the ip-location-block plugin is deactivated, all links are working fine.
]]>I use WP Rocket. It apparently doesn’t work with it. Countries on the blocking list are not blocked. As soon as I deactivate WP Rocket, it works perfect. What do I need to set in WP Rocket for it to work? I am testing the function via VPN. It’s strange that I can load the website without any problems, but in the log area of IP Location Block, the IP i use is shown as blocked.
]]>Hello,
I am not very knowledgeable on wordpress but I’ve just heredate an old wordpress and I’m trying to configure some plugins for security.
I installed ip location block, and had it working for some weeks but I just wanted to load this plugin with mu-plugin as stated here https://iplocationblock.com/codex/i-still-have-access-from-blacklisted-country/ (because I didn’t want “false-positives” on wordfence) and after that change, everytime I want to make a change on “Ip location block” it says “You do not have sufficient permissions to access this page.”
I indeed have permissions, because there is only one user in this wordpress, which is, of course, an admin and I can change options on other plugins
As I don’t know what changes I have made to break this plugin, is there any way of manual delete all data and start a new clean installation?
I cannot attach diagnostic information because when I click the button, It just does nothing… another buttons as export configuration, default settings doesn’t work neither
PS: Sorry for bad english. Is not my main language
]]>I am located in Germany. When I add “DE” to the whitelist, my access to the frontend is blocked. When I add DE to the blacklist, the access is not blocked. Can I assume that in this case all other countries are blocked? Actually, I want to use the plugin to only allow certain countries, in the sense of a whitelist. When I only add “CN” to the blacklist, my access is also not blocked. But I have no idea whether China has access in this case or not. The behavior and function of the plugin is completely opaque to me. What do I need to set so that, for example, Germany, Switzerland, and Austria have access and all others are blocked?
]]>is this safe ? Maxminddb.c file labeled as Suspicious file
here the msg after scan —
‘/public_html/wp-content/plugins/ip-location-block/classes/db-providers/maxmind/vendor/maxmind-db/reader/ext/maxminddb.c’
#Suspicious file type [application/x-c]
]]>After installing the plugin, the “IP2LOCATION-LITE-DB1.BIN” and “IP2LOCATION-LITE-DB1.IPV6.BIN” would not download automatically so that my country code could not be scanned.
So, I copied the bin-files from another project and then uploaded them manually to this new project. My country code was then correctly recognized.
Will this still cause a problem down the road?
]]>I had a front-end targeting configuration and kept a whitelist with IP addresses, but a recent update seems to indicate that this format is no longer accepted.
Is it possible to create a whitelist with IP addresses as before, separated by commas?
And if not, what is the appropriate format?
Please let me know as I could not understand the contents of the following link.
https://iplocationblock.com/codex/supported-geo-location-rule-formats/
We are sorry, but we would appreciate your response.
]]>Is the plugin usable from MalCare they will not block each other
]]>When I try to go to your website, I get this warning:
Secure Connection Failed
An error occurred during a connection to iplocationblock.com. SSL received a record that exceeded the maximum permissible length.Error code: SSL_ERROR_RX_RECORD_TOO_LONG
This is a nice plugin. However I could not determine the behavior when then setting “Max failed login attempts per IP address” is set to “Disable” for users in the Whitelist. The “Login Form” >”Block by location” and “Privacy and record settings” > “Record “IP address cache”” setting are enabled.
Does it block the user at first login failed? I tried to login with incorrect credentials on my phone and it did not block me. So I struggle to understand the “failed” log lines for whitelisted users.
]]>Hi there,
It’s so annoying, I’m trying to delete the plugin, but it’s not deleting… I tried with FileZilla and WP admin… Still, it’s there… I don’t use this plugin anymore.
Hello tech gods,
I installed IP Location Block a couple a days ago. No one can access my site from the front end. There are no conflicts with other plugins. For reasons I cannot figure out, my site is not accessible on the front end.
Any suggestions?
On the Validation logs, it shows “badcap”
City
State
Request
POST[443]:/wp-cron.php?doing_wp_cron=1707963183.8779549598693847656250
User agent
o553SkCbbQgX
HTTP headers
HTTP_AUTHORIZATION=
$_POST data
I download this plugin before, but never experience this kind of issue. whenever I try to activate different version it return this error:
PHP message: PHP Fatal error: Uncaught Error: Undefined constant “NONCE_KEY” in /www/262/public/wp-content/plugins/ip-location-block/classes/class-ip-location-block-logs.php:152
Stack trace:
#0 /www/262/public/wp-content/plugins/ip-location-block/classes/class-ip-location-block-logs.php(1383): IP_Location_Block_Logs::cipher_mode_key()
#1 /www/262/public/wp-content/plugins/ip-location-block/classes/class-ip-location-block-actv.php(36): IP_Location_Block_Logs::delete_cache_entry()
#2 /www/262/public/wp-content/plugins/ip-location-block/classes/class-ip-location-block-actv.php(54): IP_Location_Block_Activate::activate_blog()
#3 /www/262/public/wp-content/plugins/ip-location-block/ip-location-block.php(57): IP_Location_Block_Activate::activate(false)
#4 /www/262/public/wp-includes/class-wp-hook.php(324): ip_location_block_activate(false)
#5 /www/262/public/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters(”, Array)
#6 /ww” while reading response header from upstream, client: 136.158.11.35, server: domain.com, request: “GET /wp-admin/plugins.php?action=activate&plugin=ip-location-block%2Fip-location-block.php&plugin_status=all&paged=1&s&_wpnonce=db55be6efc HTTP/2.0”, upstream: “fastcgi://unix:/var/run/php8.2-fpm-domain.sock:”, host: “domain.com:58243”, referrer: “https://domain.com/wp-admin/plugins.php”
]]>