• Resolved GDM57

    (@gdm57)


    Hello
    I have seen several tread, of last months and now closed, on a similar topic but in no one possible solution, since the solution was to update WordFence, but on my site has just been installed, then last release (6.3.22) and WP 4.9.2
    The error_log file continuously increases in size and continually repeats the message:

    [17-Jan-2018 19:34:12 UTC] PHP Warning: inet_pton(): Unrecognized address in /home/xxxxxx/public_html/wp-content/plugins/wordfence/lib/wfUtils.php on line 311
    [17-Jan-2018 19:34:14 UTC] PHP Warning: inet_pton(): Unrecognized address in /home/xxxxxx/public_html/wp-content/plugins/wordfence/lib/wfUtils.php on line 311
    [17-Jan-2018 19:34:14 UTC] PHP Warning: inet_pton(): Unrecognized address in /home/xxxxxx/public_html/wp-content/plugins/wordfence/lib/wfUtils.php on line 311
    [17-Jan-2018 19:34:15 UTC] PHP Warning: inet_pton(): Unrecognized address in /home/xxxxxx/public_html/wp-content/plugins/wordfence/lib/wfUtils.php on line 311
    [17-Jan-2018 19:34:17 UTC] PHP Warning: inet_pton(): Unrecognized address in /home/xxxxxx/public_html/wp-content/plugins/wordfence/lib/wfUtils.php on line 311
    [17-Jan-2018 19:34:17 UTC] PHP Warning: inet_pton(): Unrecognized address in /home/xxxxxx/public_html/wp-content/plugins/wordfence/lib/wfUtils.php on line 311
    [17-Jan-2018 19:34:17 UTC] PHP Warning: inet_pton(): Unrecognized address in /home/xxxxxx/public_html/wp-content/plugins/wordfence/lib/wfUtils.php on line 311
    [17-Jan-2018 19:34:19 UTC] PHP Warning: inet_pton(): Unrecognized address in /home/xxxxxx/public_html/wp-content/plugins/wordfence/lib/wfUtils.php on line 311
    [17-Jan-2018 19:34:19 UTC] PHP Warning: inet_pton(): Unrecognized address in /home/xxxxxx/public_html/wp-content/plugins/wordfence/lib/wfUtils.php on line 311
    [17-Jan-2018 19:34:20 UTC] PHP Warning: inet_pton(): Unrecognized address in /home/xxxxxx/public_html/wp-content/plugins/wordfence/lib/wfUtils.php on line 311
    [17-Jan-2018 19:34:23 UTC] PHP Warning: inet_pton(): Unrecognized address in /home/xxxxxx/public_html/wp-content/plugins/wordfence/lib/wfUtils.php on line 311
    [17-Jan-2018 19:34:23 UTC] PHP Warning: inet_pton(): Unrecognized address in /home/xxxxxx/public_html/wp-content/plugins/wordfence/lib/wfUtils.php on line 311
    [17-Jan-2018 19:34:23 UTC] PHP Warning: inet_pton(): Unrecognized address in /home/xxxxxx/public_html/wp-content/plugins/wordfence/lib/wfUtils.php on line 311
    [17-Jan-2018 19:34:25 UTC] PHP Warning: inet_pton(): Unrecognized address in /home/xxxxxx/public_html/wp-content/plugins/wordfence/lib/wfUtils.php on line 311
    [17-Jan-2018 19:34:25 UTC] PHP Warning: inet_pton(): Unrecognized address in /home/xxxxxx/public_html/wp-content/plugins/wordfence/lib/wfUtils.php on line 311
    [17-Jan-2018 19:34:26 UTC] PHP Warning: inet_pton(): Unrecognized address in /home/xxxxxx/public_html/wp-content/plugins/wordfence/lib/wfUtils.php on line 311
    [17-Jan-2018 19:34:28 UTC] PHP Warning: inet_pton(): Unrecognized address in /home/xxxxxx/public_html/wp-content/plugins/wordfence/lib/wfUtils.php on line 311
    [17-Jan-2018 19:34:28 UTC] PHP Warning: inet_pton(): Unrecognized address in /home/xxxxxx/public_html/wp-content/plugins/wordfence/lib/wfUtils.php on line 311
    [17-Jan-2018 19:34:29 UTC] PHP Warning: inet_pton(): Unrecognized address in /home/xxxxxx/public_html/wp-content/plugins/wordfence/lib/wfUtils.php on line 311

    I checked IPv6 Support: enabled.

    What else to do? Is there anything in particular that I have to ask my hosting provider to get rid of this production of errors?

Viewing 7 replies - 1 through 7 (of 7 total)
  • Thread Starter GDM57

    (@gdm57)

    I have changed plugin for security.

    Hi,
    Sorry for didn’t catch this thread earlier, let me know in case you decided to install Wordfence again and encountered the same problem. I’ll need to know more details about your server configuration then.

    Thanks.

    Thanks @nwagtail for reporting this one, I’ve logged it to our dev team (internal reference number: #FB6659), it should be addressed in any of the plugin’s upcoming releases.
    These warnings won’t affect your website or the plugin performance, so for now if you can see them on the front-end of your website, you can edit “wp-config.php” file and add these lines:

    
    define('WP_DEBUG_LOG', true);
    define('WP_DEBUG_DISPLAY', false);
    

    after this one:
    define('WP_DEBUG', true);

    This will only log the warnings/errors to a file called “debug.log” located in (wp-content) directory and hide them from the front-end.

    Thanks.

    “>wfalaa
    Thanks for that Mate.

    Hi,
    I’ve checked that again with the team and I got a confirmation that the next plugin update will include a fix for this issue, although I don’t have an ETA yet, but following instructions in my previous reply should hide these warnings for now, I mean setting WP_DEBUG_DISPLAY to false, it’s not recommended to keep it set to “true” on a live website, however some hosts force showing PHP errors and warnings even with this constant set to false, if this was the case you might need to reach out to your hosting provider to know how you can modify “display_errors” PHP settings on your site.

    Thanks.

    I am on Siteground too Rod. It took me all day to remove Wordfence and the error was persistent even Siteground tech help could not fix it. I followed Wordfence removal instructions to fix it and removed all files and still had the error. Other site staff were affected too. In the end I had to do a site restore of “Files” as suggested by tech help from the previous day, twice because it updated itself the first time. I am now on previous version of Wordfence, stopped updates and removed the reminders to update .

    I am getting similar errors show on production e-commerce site.
    warning : …/wp-content/plugins/wordfence/vendor/wordfence/wf-waf/src/lib/utils.php line 27.

    I haven’t actually had on my screen but I use mouseflow and have seen video replays of this happening on visitors pages. I have uninstalled the plugin. Not a great experience to see this ! I am not sure how this warning is visible as I have explicitly turned off all php warnings etc.. on the production site.

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘inet_pton(): Unrecognized address…’ is closed to new replies.