Can be, however we tried to reinstall the plugin many times but didn’t help because of the second issue. There must be something around the auto load as well. Maybe this is related to the old PHP version.
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 7 years, 6 months ago by daviidkovacs.