Title: Catch E_ERROR RuntimeException
Last modified: December 1, 2020

---

# Catch E_ERROR RuntimeException

 *  Resolved [Mikhail Alferov](https://wordpress.org/support/users/malferov/)
 * (@malferov)
 * [5 years, 6 months ago](https://wordpress.org/support/topic/catch-e_error-runtimeexception/)
 * Got an automated email last night:
 * WordPress 5.5.3
    Theme: Store WP Plugin: Geolocation IP Detection (v 3.2.0) PHP
   7.4.11
 * **Подробности ошибки**
    =================================== Ошибка с типом E_ERROR
   возникла на строке 120 файла …/wp-content/plugins/geoip-detect/lib/vendor/symfony/
   http-foundation/IpUtils.php. Сообщение об ошибке: Uncaught RuntimeException: 
   Unable to check Ipv6. Check that PHP was not compiled with option “disable-ipv6”.
   in …/wp-content/plugins/geoip-detect/lib/vendor/symfony/http-foundation/IpUtils.
   php:120
 * **Stack trace:**
    #0 …/wp-content/plugins/geoip-detect/lib/vendor/symfony/http-
   foundation/IpUtils.php(47): Symfony\Component\HttpFoundation\IpUtils::checkIp6(‘
   2a00:1fa1:3f7:3…’, ‘108.208.26.166/…’) #1 …/wp-content/plugins/geoip-detect/geoip-
   detect-lib.php(333): Symfony\Component\HttpFoundation\IpUtils::checkIp(‘2a00:
   1fa1:3f7:3…’, Array) #2 …/wp-content/plugins/geoip-detect/lib/ccpa.php(79): geoip_detect_is_ip_equal(‘
   2a00:1fa1:3f7:3…’, ‘108.208.26.166/…’) #3 …/wp-content/plugins/geoip-detect/lib/
   ccpa.php(65): YellowTree\GeoipDetect\Lib\CcpaBlacklistOnLookup->doesIpMatchRow(‘
   2a00:1fa1:3f7:3…’, Array) #4 …/wp-content/plugin

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

 *  [Benjamin Pick](https://wordpress.org/support/users/benjamin4/)
 * (@benjamin4)
 * [5 years, 6 months ago](https://wordpress.org/support/topic/catch-e_error-runtimeexception/#post-13730139)
 * Oh, ok.
    Do you have WP_DEBUG on? Because the Exception is currently caught, 
   but not if WP_DEBUG is on. I could remove this debug check, though.
 *  Thread Starter [Mikhail Alferov](https://wordpress.org/support/users/malferov/)
 * (@malferov)
 * [5 years, 6 months ago](https://wordpress.org/support/topic/catch-e_error-runtimeexception/#post-13731642)
 * In my wp-config.php the constant WP_DEBUG is true.
 *  [Benjamin Pick](https://wordpress.org/support/users/benjamin4/)
 * (@benjamin4)
 * [5 years, 6 months ago](https://wordpress.org/support/topic/catch-e_error-runtimeexception/#post-13732244)
 * Ok can you try out my fix please?
 * [https://github.com/yellowtree/geoip-detect/archive/master.zip](https://github.com/yellowtree/geoip-detect/archive/master.zip)
 * [https://github.com/yellowtree/geoip-detect/wiki/Beta-Testing](https://github.com/yellowtree/geoip-detect/wiki/Beta-Testing)
 *  Thread Starter [Mikhail Alferov](https://wordpress.org/support/users/malferov/)
 * (@malferov)
 * [5 years, 6 months ago](https://wordpress.org/support/topic/catch-e_error-runtimeexception/#post-13734269)
 * I install 3.2.1-beta. How can i check the fix? I found out about the error from
   a WordPress email. I don’t know what caused it.
 *  [Benjamin Pick](https://wordpress.org/support/users/benjamin4/)
 * (@benjamin4)
 * [5 years, 6 months ago](https://wordpress.org/support/topic/catch-e_error-runtimeexception/#post-13734312)
 * According to the log you posted, you would have to visit your server with any
   IPv6 to trigger the error.
 * The problem is that the PHP used on your server is compiled without IPv6 support(
   you should see a notice at the bottom of the plugin’s options page about that),
   but your server seems reachable from IPv6 adresses. This is may be something 
   that you should bring up at your hosting company’s support as it might have implications
   for other applications as well.
    -  This reply was modified 5 years, 6 months ago by [Benjamin Pick](https://wordpress.org/support/users/benjamin4/).
 *  Thread Starter [Mikhail Alferov](https://wordpress.org/support/users/malferov/)
 * (@malferov)
 * [5 years, 6 months ago](https://wordpress.org/support/topic/catch-e_error-runtimeexception/#post-13734358)
 * OK, waiting IP6-visitor 😉

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

The topic ‘Catch E_ERROR RuntimeException’ 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/)

 * 6 replies
 * 2 participants
 * Last reply from: [Mikhail Alferov](https://wordpress.org/support/users/malferov/)
 * Last activity: [5 years, 6 months ago](https://wordpress.org/support/topic/catch-e_error-runtimeexception/#post-13734358)
 * Status: resolved