error in PHP error log
-
I’m seeing this error all the time in the error log file:
How do i fix it?
PHP Fatal error: Uncaught GeoIp2\Exception\AddressNotFoundException: The address 127.0.0.1 is not in the database. in /home/customer/www/-/public_html/wp-content/plugins/shamor/vendor/geoip2/geoip2/src/Database/Reader.php:253
Stack trace: 0 /home/customer/www/-/public_html/wp-content/plugins/shamor/vendor/geoip2/geoip2/src/Database/Reader.php(221): GeoIp2\Database\Reader->getRecord(‘City’, ‘City’, ‘127.0.0.1’) 1 /home/customer/www/-/public_html/wp-content/plugins/shamor/vendor/geoip2/geoip2/src/Database/Reader.php(84): GeoIp2\Database\Reader->modelFor(‘City’, ‘City’, ‘127.0.0.1’) 2 /home/customer/www/-/public_html/wp-content/plugins/shamor/wp-shamor.php(57): GeoIp2\Database\Reader->city(‘127.0.0.1’) 3 /home/customer/www/-/public_html/wp-content/plugins/shamor/wp-shamor.php(66): Shamor->get_location_data_from_ip() 4 /home/customer/www/-/public_html/wp-content/plugins/shamor/wp-shamor.php(177): Shamor->get_shabbat_times() 5 /home/customer/www/-/public_html/wp-includes/class-wp-hook.php(324): Shamor->move_out_of_site(‘/home/customer/…’) 6 /home/customer/www/-/public_html/wp-includes/plugin.php(205): WP_Hook->apply_filters(‘/home/customer/…’, Array) 7 /home/customer/www/-/public_html/wp-includes/template-loader.php(104): apply_filters(‘template_includ…’, ‘/home/customer/…’) 8 /home/customer/www/-/public_html/wp-blog-header.php(19): require_once(‘/home/customer/…’) 9 /home/customer/www/-/public_html/index.php(17): require(‘/home/customer/…’) 10 {main}thrown in /home/customer/www/-/public_html/wp-content/plugins/shamor/vendor/geoip2/geoip2/src/Database/Reader.php on line 253
The topic ‘error in PHP error log’ is closed to new replies.