Fatal Error after update to v2.06
-
After updating to v2.06 we were getting a fatal error at wooCommerce checkout.
Checking the logs this is the error:
[08-Jan-2021 15:34:02 UTC] PHP Fatal error: Uncaught Error: Call to undefined method MaxMind\Db\Reader::getWithPrefixLen() in /public_html/wp-content/plugins/woocommerce-eu-vat-assistant/src/embedded-framework/wc-aelia-foundation-classes-embedded/src/vendor/geoip2/geoip2/src/Database/Reader.php:246 Stack trace: #0 /public_html/wp-content/plugins/woocommerce-eu-vat-assistant/src/embedded-framework/wc-aelia-foundation-classes-embedded/src/vendor/geoip2/geoip2/src/Database/Reader.php(217): GeoIp2\Database\Reader->getRecord('City', 'City', '80.229.83.73') #1 /public_html/wp-content/plugins/woocommerce-eu-vat-assistant/src/embedded-framework/wc-aelia-foundation-classes-embedded/src/vendor/geoip2/geoip2/src/Database/Reader.php(73): GeoIp2\Database\Reader->modelFor('City', 'City', '80.229.83.73') #2 /public_html/wp-content/plugins/woocommerce-eu-vat-assistant/src/embedded-framework/wc-aelia-fou in /public_html/wp-content/plugins/woocommerce-eu-vat-assistant/src/embedded-framework/wc-aelia-foundation-classes-embedded/src/vendor/geoip2/geoip2/src/Database/Reader.php on line 246
Rolling back to 1.14 resolves the issue.
Note that the business this affects is based in Portugal so should not be affected by the Brexit change.
thanks,
John
Viewing 9 replies - 1 through 9 (of 9 total)
Viewing 9 replies - 1 through 9 (of 9 total)
- The topic ‘Fatal Error after update to v2.06’ is closed to new replies.