Fatal errors on my website
-
WP Statistics keeps causing fatal errors on my website and I then have to use Recovery Mode to get in and disable the plugin. Here are the error details. How do I fix this? (*** used to obfuscate my website information) (I have the latest version of WP Statistics.)
Error Details
=============
An error of type E_ERROR was caused in line 246 of the file /***/wp-content/plugins/wp-statistics/includes/vendor/geoip2/geoip2/src/Database/Reader.php. Error message: Uncaught Error: Call to undefined method MaxMind\Db\Reader::getWithPrefixLen() in /***/wp-content/plugins/wp-statistics/includes/vendor/geoip2/geoip2/src/Database/Reader.php:246
Stack trace:
#0 /***/wp-content/plugins/wp-statistics/includes/vendor/geoip2/geoip2/src/Database/Reader.php(217): GeoIp2\Database\Reader->getRecord()
#1 /***/wp-content/plugins/wp-statistics/includes/vendor/geoip2/geoip2/src/Database/Reader.php(90): GeoIp2\Database\Reader->modelFor()
#2 /***/wp-content/plugins/wp-statistics/includes/class-wp-statistics-geoip.php(183): GeoIp2\Database\Reader->country()
#3 /***/wp-content/plugins/wp-statistics/includes/class-wp-statistics-exclusion.php(377): WP_STATISTICS\GeoIP::getCountry()
#4 /***/wp-content/plugins/wp-statistics/includes/class-wp-statistics-exclusion.php
- The topic ‘Fatal errors on my website’ is closed to new replies.