• Resolved rogerlos

    (@rogerlos)


    Hi, I just tried updating to 4.0.0 on two sites I have, one a multisite network and another a regular install, and 4.0.0 bricks both of them, to the point where WP_DEBUG set to true doesn’t have a chance to echo the error to the screen. All that you get is a “WordPress has encountered a critical error” screen. This is latest version of WordPress running PHP 7.4.9

Viewing 10 replies - 1 through 10 (of 10 total)
  • I’m experiencing the same issue. Please revert the plugin or test more thoroughly before pushing updates.

    • This reply was modified 3 years, 8 months ago by ryanklimt.
    Thread Starter rogerlos

    (@rogerlos)

    I just tried to update a site on my dev box running PHP 7.3.21, and GeoIP 4.0.0 seems to work there. So possibly a conflict with PHP 7.4.9?

    Thread Starter rogerlos

    (@rogerlos)

    Error Details
    =============
    An error of type E_COMPILE_ERROR was caused in line 86 of the file /wp-content/plugins/wordfence/vendor/geoip2/geoip2/src/Database/Reader.php. Error message: Declaration of GeoIp2\Database\Reader::country($ipAddress) must be compatible with GeoIp2\ProviderInterface::country(string $ipAddress): GeoIp2\Model\Country

    Plugin Author Benjamin Pick

    (@benjamin4)

    @ryanklimt
    Well, I requested beta testers for several weeks now and there was no response, so releasing it seemed plausible (it works fine for me). Sorry for any inconvenience though.

    Thanks for the PHP Error – it means that wordfence also has a the same Maxmind library installed, but a different version. I will revert to the old Maxmind code for now until we sort that out … 4.0.1 will be out soon.

    Plugin Author Benjamin Pick

    (@benjamin4)

    It’s released now – tell me if it works now please ??

    Thread Starter rogerlos

    (@rogerlos)

    No worries, I’ll give it a try here in a bit. I know how this stuff goes. ??

    Thread Starter rogerlos

    (@rogerlos)

    4.0.1 appears to be the ticket. Thanks!

    Plugin Author Benjamin Pick

    (@benjamin4)

    Great! Would you be interested in joining the Beta Testing Team that I am trying to establish?

    https://github.com/yellowtree/geoip-detect/discussions/100

    Matt

    (@braquopronos)

    Hello,

    What do we need to do in order to get it working back?

    Regards

    Plugin Author Benjamin Pick

    (@benjamin4)

    Update to 4.0.1 and you should be fine to go … If you can’t access the admin, upload it via ftp

Viewing 10 replies - 1 through 10 (of 10 total)
  • The topic ‘4.0.0 Bricks WordPress’ is closed to new replies.