• Resolved Hrohh

    (@hrohh)


    PHP Fatal error: Uncaught TypeError: method_exists(): Argument #1 ($object_or_class) must be of type object|string, null given in /public_html/test/wp-content/plugins/geoip-detect/data-sources/manual.php:166

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter Hrohh

    (@hrohh)

    FIX
    if ( !is_object( $reader ) || !method_exists( $reader, ‘metadata’) )
    return __(‘Maxmind File Database (file does not exist or is not readable)’, ‘geoip-detect’);

    Thanks for the headsup, I have fixed in in master. As PHP 8.0 is not stable yet, I don’t release the plugin version right now, it will be fixed with the next version of the plugin.

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘PHP8.0 fatal error’ is closed to new replies.