Title: PHP warning
Last modified: December 9, 2021

---

# PHP warning

 *  Resolved [ArtGoddess](https://wordpress.org/support/users/artgoddess/)
 * (@artgoddess)
 * [4 years, 6 months ago](https://wordpress.org/support/topic/php-warning-325/)
 * Hello [@benjaminpick](https://wordpress.org/support/users/benjaminpick/),
 * I can see this PHP warning in debug file:
 * `PHP Notice: _geoip_detect_get_external_ip_adress_without_cache(): Curl error(
   http://bot.whatismyipaddress.com): cURL error 6: Could not resolve host: bot.
   whatismyipaddress.com in /home/user/domain.com/wp-content/plugins/geoip-detect/
   geoip-detect-lib.php on line 486`
 * My config:
    PHP 8.0 WordPress 5.8.2
 * Just in case it helps. Many thanks for your plugin.

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

 *  [Benjamin Pick](https://wordpress.org/support/users/benjamin4/)
 * (@benjamin4)
 * [4 years, 6 months ago](https://wordpress.org/support/topic/php-warning-325/#post-15148814)
 * Thanks – this was fixed already:
    [https://wordpress.org/support/topic/getting-external-ip-throws-a-php-notice/](https://wordpress.org/support/topic/getting-external-ip-throws-a-php-notice/)
   So it will go away when I release the next version of the plugin.
 *  Thread Starter [ArtGoddess](https://wordpress.org/support/users/artgoddess/)
 * (@artgoddess)
 * [4 years, 6 months ago](https://wordpress.org/support/topic/php-warning-325/#post-15148822)
 * Ops sorry. Thank you. 🙂

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

The topic ‘PHP warning’ is closed to new replies.

 * ![](https://ps.w.org/geoip-detect/assets/icon-256x256.jpg?rev=978998)
 * [Geolocation IP Detection](https://wordpress.org/plugins/geoip-detect/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/geoip-detect/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/geoip-detect/)
 * [Active Topics](https://wordpress.org/support/plugin/geoip-detect/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/geoip-detect/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/geoip-detect/reviews/)

 * 2 replies
 * 2 participants
 * Last reply from: [ArtGoddess](https://wordpress.org/support/users/artgoddess/)
 * Last activity: [4 years, 6 months ago](https://wordpress.org/support/topic/php-warning-325/#post-15148822)
 * Status: resolved