• Resolved mrgrt

    (@mrgrt)


    We just updated the plugin to the latest version on one of our client sites and we’re getting the following error:

    Site domain removed for privacy:

    2023/09/14 08:45:44 [error] 2384931#2384931: *1269387 FastCGI sent in stderr: "PHP message: PHP Fatal error: Uncaught Error: Undefined constant "caches" in /var/www/{domain}htdocs/wp-content/plugins/ip2location-country-blocker/ip2location-country-blocker.php:3309 Stack trace:

    This looks to be the bit of code causing the error:

     if (!is_file(IP2LOCATION_DIR . get_option('ip2location_country_blocker_database'))) {
                                            $this->write_debug_log('Database not found.', 'ERROR');
    
                                            return caches;
                                    }

    Please let me know if you need any more info to help resolve this.

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘Fatal ERror’ is closed to new replies.