Hey,
I found the issue and a solution for that.
1. The files of the maxmind (wordfence/vendor/maxmind/Db) was missing, I had to pull them from the github.
2. These files should be loaded via autoload (vendor/autoload.php) but for some reason it didn’t do so the Reader.php (wordfence\vendor\geoip2\geoip2\src\Database) couldn’t find the DbReader class. After I included the files here manually:
require_once(WORDFENCE_PATH . ‘/vendor/MaxMind/Db/Reader.php’);
require_once(WORDFENCE_PATH . ‘/vendor/MaxMind/Db/Reader/Decoder.php’);
require_once(WORDFENCE_PATH . ‘/vendor/MaxMind/Db/Reader/InvalidDatabaseException.php’);
require_once(WORDFENCE_PATH . ‘/vendor/MaxMind/Db/Reader/Metadata.php’);
require_once(WORDFENCE_PATH . ‘/vendor/MaxMind/Db/Reader/Util.php’);
Fixed the issue.
-
This reply was modified 6 years, 3 months ago by daviidkovacs.