Title: inet_ntop() and inet_pton() Errors
Last modified: February 9, 2018

---

# inet_ntop() and inet_pton() Errors

 *  Resolved [mperry8304](https://wordpress.org/support/users/mperry8304/)
 * (@mperry8304)
 * [8 years, 4 months ago](https://wordpress.org/support/topic/inet_ntop-and-inet_pton-errors/)
 * I’m using Cerber 6.2 and I just had a site visitor send me a screenshot of error
   messages in the top of my site. I’m not seeing the errors myself, but I do see
   them in my error log:
 * [09-Feb-2018 14:56:20 UTC] PHP Warning: inet_ntop(): Invalid in_addr value in…/
   wp-content/plugins/wp-cerber/common.php on line 422
    [09-Feb-2018 15:02:12 UTC]
   PHP Warning: inet_pton(): Unrecognized address … in …wp-content/plugins/wp-cerber/
   common.php on line 422
 * It looks like they started on the 7th when I upgraded to the current version.

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

 *  Plugin Author [gioni](https://wordpress.org/support/users/gioni/)
 * (@gioni)
 * [8 years, 4 months ago](https://wordpress.org/support/topic/inet_ntop-and-inet_pton-errors/#post-9959212)
 * What version of PHP do you have? You can find out it on the Tools / Diagnostic
   page.
 *  Thread Starter [mperry8304](https://wordpress.org/support/users/mperry8304/)
 * (@mperry8304)
 * [8 years, 4 months ago](https://wordpress.org/support/topic/inet_ntop-and-inet_pton-errors/#post-9960120)
 * I have 5.4.45
 * I rolled back to an older version of Cerber and no errors have been generated
   since then.
 *  Plugin Author [gioni](https://wordpress.org/support/users/gioni/)
 * (@gioni)
 * [8 years, 4 months ago](https://wordpress.org/support/topic/inet_ntop-and-inet_pton-errors/#post-9960218)
 * It’s something wrong with your hosting or the PHP environment. You should upgrade
   PHP to a newer version.
 *  Thread Starter [mperry8304](https://wordpress.org/support/users/mperry8304/)
 * (@mperry8304)
 * [8 years, 4 months ago](https://wordpress.org/support/topic/inet_ntop-and-inet_pton-errors/#post-9960385)
 * I updated PHP to 5.5.38 and updated Cerber to 6.2. The error reoccured.
 * I’ve updated PHP to 5.6.33 and am watching to see what happens.
 *  Thread Starter [mperry8304](https://wordpress.org/support/users/mperry8304/)
 * (@mperry8304)
 * [8 years, 3 months ago](https://wordpress.org/support/topic/inet_ntop-and-inet_pton-errors/#post-9962571)
 * It’s been about 24 hours and the site has had about about 1,200 visitors. There’s
   no new error log. So I think we’re good. Thanks so much for your help!
 *  Plugin Author [gioni](https://wordpress.org/support/users/gioni/)
 * (@gioni)
 * [8 years, 3 months ago](https://wordpress.org/support/topic/inet_ntop-and-inet_pton-errors/#post-9962659)
 * Good news!

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

The topic ‘inet_ntop() and inet_pton() Errors’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/wp-cerber_77a9bf.svg)
 * [WP Cerber Security, Anti-spam & Malware Scan](https://wordpress.org/plugins/wp-cerber/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wp-cerber/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wp-cerber/)
 * [Active Topics](https://wordpress.org/support/plugin/wp-cerber/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wp-cerber/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wp-cerber/reviews/)

## Tags

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

 * 6 replies
 * 2 participants
 * Last reply from: [gioni](https://wordpress.org/support/users/gioni/)
 * Last activity: [8 years, 3 months ago](https://wordpress.org/support/topic/inet_ntop-and-inet_pton-errors/#post-9962659)
 * Status: resolved