Hi @joeleem0n,
I’ve updated to 1.3.3:
1 – I can’t see the sentence that states that WP Engine is required to run the geolocation (no bid deal)
2 – First thing that i’ve notice is this PHP fatal error that crashes the site
[Tue Apr 21 15:26:17.743069 2020] [:error] [pid 30871] [client 68.192.44.174:53780] PHP Fatal error: Uncaught Error: Call to undefined method MaxMind\\Db\\Reader::getWithPrefixLen() in /var/www/html/my_site/wp-content/plugins/warehouse-popups-woocommerce/public/vendor/geoip2/geoip2/src/Database/Reader.php:246\nStack trace:\n#0 /var/www/html/my_site/wp-content/plugins/warehouse-popups-woocommerce/public/vendor/geoip2/geoip2/src/Database/Reader.php(217): GeoIp2\\Database\\Reader->getRecord(‘City’, ‘City’, ‘68.192.44.174’)\n#1 /var/www/html/my_site/wp-content/plugins/warehouse-popups-woocommerce/public/vendor/geoip2/geoip2/src/Database/Reader.php(73): GeoIp2\\Database\\Reader->modelFor(‘City’, ‘City’, ‘68.192.44.174’)\n#2 /var/www/html/my_site/wp-content/plugins/warehouse-popups-woocommerce/public/class-warehouse-popups-woocommerce-public.php(368): GeoIp2\\Database\\Reader->city(‘68.192.44.174’)\n#3 /var/www/html/my_site/wp-content/plugins/warehouse-popups-woocommerce/public/class-warehouse-popups-woocommerce-public.php(430): Warehouse_Popups_Woocommerce_Public::auto_warehou in /var/www/html/my_site/wp-content/plugins/warehouse-popups-woocommerce/public/vendor/geoip2/geoip2/src/Database/Reader.php on line 246
3 – I’ve tried wpengine-geoip but the plugin will not work without a subscription:
WP Engine GeoTarget requires a WP Engine account with GeoTarget enabled for full functionality. Only testing queries will work on this site.
4 – Why not use “Geolocation IP Detection” that rates 5 stars, with 44 reviews, used by more than 20K sites and that is free? you would call instead:
geoip_detect2_get_info_from_ip($ip, $locales = array(‘en’), $options = array())
The plugin also updates the ip databases automatically from MaxMind and others.
5 – Oh, i’ve noticed that you are using a database of IP directly in the plugin but i still get the error on point 2