Benjamin Pick
Forum Replies Created
-
Forum: Plugins
In reply to: [Geolocation IP Detection] Response timePlease give me more details about your config. Which data-source are you using? File-based databases are a lot quicker of course. Are you using AJAX mode? AJAX mode combined with page-caching will get the best response times.
Forum: Plugins
In reply to: [Geolocation IP Detection] PHP 8.3 issue?I’m sorry for replying this late, usually for fatal errors I try to be a lot quicker (but I was on holidays).
I fixed the error in 5.4.1
However, the error it was trying to show was that your WooCommerce Version is too old (at least 3.9.0 is needed).
- This reply was modified 1 year, 9 months ago by Benjamin Pick.
Forum: Plugins
In reply to: [Geolocation IP Detection] PHP 8.1 and higherThe plugin is working with PHP 8.1 / 8.2 without problems. I cannot really resolve the issues for two reasons:
- The plugins minimum PHP version is 7.2.5
- When committing the plugin to the wordpress SVN, the PHP files need to be syntactically valid in PHP 5.6 !
Both requirements should change at some point, but in the meantime, I cannot do anything.
Forum: Plugins
In reply to: [Geolocation IP Detection] Debug.logI saw it and learned something new! “Cron unschedule event error for hook: ghu_get_remote_plugin, Error code: could_not_set, Error message: The cron event list could not be saved.” Seems to be a wordpress bug, but without consequences.
If you are using a Page Cache (and Fastest Cache Plugin counts as such), you need to enable AJAX mode (otherwise he caches the IP, too).
Are you using AJAX mode?
Forum: Plugins
In reply to: [Geolocation IP Detection] operator=”or”You got it almost right. The problem is that WordPress can’t take two parameters with the same attribute name “city”, so instead you can write:
[geoip_detect2_show_if city=”Mönchengladbach,Erkelenz”]
Forum: Plugins
In reply to: [Geolocation IP Detection] Compatibility with Maxmind R2 presigned URLsUpdate – I misunderstood the documentation. My unit test shows that redirection should be followed without problem. So the current plugin version will continue to work.
Forum: Plugins
In reply to: [Geolocation IP Detection] Compatibility with Maxmind R2 presigned URLsThanks for the Heads-Up! No, currently the download URL does not follow redirect. I will try to release an update as soon as possible.
Forum: Plugins
In reply to: [Geolocation IP Detection] Getting Wrong IP InformationAre you using a page cache? In that case you should enable AJAX mode.
Currently this is possible like this:
jQuery(document).ready(function($) { geoip_detect.get_info().then(function(record) { if (record.get('country') == 'AU') { .... } }); });But yes, emitting a event could be an option, too… I am considering to add it in a future version.
Forum: Plugins
In reply to: [Geolocation IP Detection] Can’t uninstall pluginThe problem is that a different plugin is using a different version of the Maxmind libraries. If you know which plugin it is, please deactivate it for a moment, then uninstall my plugin.
The long-term fix will be namespacing the Maxmind library to avoid conflicting with other plugins:
Forum: Plugins
In reply to: [Geolocation IP Detection] Can’t UninstallI have found the issue, it will be fixed with the next minor release of the plugin.
Yes you will probably need the reverse proxy & known proxies option (I am not a Cloudflare expert). As you are using a page cache, AJAX should be enabled (with the shortcode option), yes.
Forum: Plugins
In reply to: [Geolocation IP Detection] Error Due to Old Maxmind LibrarySee https://ww.wp.xz.cn/support/topic/updating-geoip2-api/ – I cannot change the version of the GeoIP library used easily. Long-term I need to find a way that the version that I am using does not need to be the same as other plugins.