Title: IPv6 issues
Last modified: January 20, 2017

---

# IPv6 issues

 *  Resolved [reign1](https://wordpress.org/support/users/reign1/)
 * (@reign1)
 * [9 years, 4 months ago](https://wordpress.org/support/topic/ipv6-issues/)
 * Hi,
 * my hosting provider does not support IPv6 and I get these errors on my website:
   
   Warning: inet_pton(): Unrecognized address fc00:: in /home/i4lt/domains/linamoti.
   com/public_html/wp-content/plugins/wp-statistics/vendor/s1lentium/iptools/src/
   IP.php on line 35 Warning: inet_ntop(): Invalid in_addr value in /home/i4lt/domains/
   linamoti.com/public_html/wp-content/plugins/wp-statistics/vendor/s1lentium/iptools/
   src/IP.php on line 134 Warning: inet_ntop(): Invalid in_addr value in /home/i4lt/
   domains/linamoti.com/public_html/wp-content/plugins/wp-statistics/vendor/s1lentium/
   iptools/src/IP.php on line 136
 * How do I fix it if I don’t have an option to enable IPv6?
    I’ve tried adding 
   fc00::/7 to “Excluded IP address list” but got twice as much of the same errors.
   Any suggestions?
 * Gytis

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

 *  Plugin Contributor [Greg Ross](https://wordpress.org/support/users/gregross/)
 * (@gregross)
 * [9 years, 4 months ago](https://wordpress.org/support/topic/ipv6-issues/#post-8678251)
 * You’ll need to talk to your hosting provider, they either need to disable IPv6
   at the network layer so you don’t receive requests from IPv6 addresses or enable
   IPv6 in PHP so it can handle them.
 * From the FAQ:
 * = IPv6 Support =
 * WP Statistics supports IPv6 as of version 11.0, however PHP must be compiled 
   with IPv6 support enabled, otherwise you may see warnings when a visitor from
   an IPv6 address hits your site.
 * You can check if IPv6 support is enabled in PHP by visiting the “Optimization-
   >Resources/Information->Version Info->PHP IPv6 Enabled” section.
 * If IPv6 is not enabled, you may see an warning like:
 *  Warning: inet_pton() [function.inet-pton]: Unrecognized address 2003:0006:1507:
   5d71:6114:d8bd:80c2:1090
 *  Thread Starter [reign1](https://wordpress.org/support/users/reign1/)
 * (@reign1)
 * [9 years, 4 months ago](https://wordpress.org/support/topic/ipv6-issues/#post-8678348)
 * Hi Greg,
 * thanks for the reply. So you are saying there is nothing I can do from my/wordpress/
   plugin side? No code to edit or what so ever?
 *  Plugin Contributor [Greg Ross](https://wordpress.org/support/users/gregross/)
 * (@gregross)
 * [9 years, 4 months ago](https://wordpress.org/support/topic/ipv6-issues/#post-8678664)
 * No, this is a limitation of the IP address library we use verify/parse IP addresses.
 * The only other option you have would be to go back to an older version of WP 
   Statistics (pre 11.0), but that’s not recommended and you’ll still loose the 
   IPv6 info as while the older code doesn’t throw an warning, it does just silently
   fail.
 * If your hosting provider has enabled IPv6 on their network, they should really
   enable it in PHP as well.
 *  Thread Starter [reign1](https://wordpress.org/support/users/reign1/)
 * (@reign1)
 * [9 years, 4 months ago](https://wordpress.org/support/topic/ipv6-issues/#post-8678671)
 * They refused to do so but at the same time I find it strange I can’t turn IPv6
   support via plugin. I bet it’s a commond issue and you should be able to have
   a check mark in the plugin settings “track IPv6” Yes/No or something.
    -  This reply was modified 9 years, 4 months ago by [reign1](https://wordpress.org/support/users/reign1/).
 *  Plugin Contributor [Greg Ross](https://wordpress.org/support/users/gregross/)
 * (@gregross)
 * [9 years, 4 months ago](https://wordpress.org/support/topic/ipv6-issues/#post-8679332)
 * The problem is that PHP doesn’t support IPv6 without it being enabled at compile
   time, so the functions we used to detect what version of IP is being used only
   recognize IPv4 and throw the above warning when the encounter IPv6.

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

The topic ‘IPv6 issues’ is closed to new replies.

 * ![](https://ps.w.org/wp-statistics/assets/icon.svg?rev=3081064)
 * [WP Statistics – Simple, privacy-friendly Google Analytics alternative](https://wordpress.org/plugins/wp-statistics/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wp-statistics/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wp-statistics/)
 * [Active Topics](https://wordpress.org/support/plugin/wp-statistics/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wp-statistics/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wp-statistics/reviews/)

## Tags

 * [ipv6](https://wordpress.org/support/topic-tag/ipv6/)

 * 5 replies
 * 2 participants
 * Last reply from: [Greg Ross](https://wordpress.org/support/users/gregross/)
 * Last activity: [9 years, 4 months ago](https://wordpress.org/support/topic/ipv6-issues/#post-8679332)
 * Status: resolved