Join GitHub today
GitHub is home to over 31 million developers working together to host and review code, manage projects, and build software together.Sign up
Maxmind fails "PHP Fatal error: Cannot declare class MaxMind\Db\Reader, because the name is already in use in /Users/davetbo/Documents/MAMP_Sites/uhills.dev/wp-content/plugins/owa/modules/maxmind_geoip/includes/MaxMind-DB-Reader-php-1.0.3/src/MaxMind/Db/Reader.php on line 14" #385
I am following the instructions on this page:
As soon as I activate the MaxMind module in the OWA Modules config, I get this error:
It looks like maybe that class is already being loaded by WordFence. If I disable WordFence it stops crashing with this error. Could you write your code to check if that class exists before instantiating it?