• Resolved stilldreaming

    (@stilldreaming)


    Inputting something that is not an IP address in the Whois Lookup will result in a PHP fatal error.

    PHP Fatal error: Uncaught wfAPICallErrorResponseException: WordFence API error: Unable to perform a WHOIS lookup on the value provided. in /home/public/sites/www.example.com/wp-content/plugins/wordfence/lib/wfAPI.php:102

Viewing 5 replies - 1 through 5 (of 5 total)
  • Hey @stilldreaming,

    Thanks for sharing this. I’ve shared it with the developers and will report back here when I know more.

    Thanks,

    Gerroald

    Plugin Support wfphil

    (@wfphil)

    Hi @stilldreaming

    We have created an internal bug case number for this. All future fixes are reported in our changelog here:

    https://www.ads-software.com/plugins/wordfence/#developers

    Thread Starter stilldreaming

    (@stilldreaming)

    Hi @wfphil,

    In the changelog for update 7.4.1 I see the notification:
    Improvement: Updated the WHOIS lookup for better reliability.

    So, I’ve checked it. The result is that entering something that is not an IP address does not result in a PHP error anymore, but it results in the blue button going to “LOADING…”, never to return.
    That is better than it used to be, but probably not what could be done. It’s not a big deal. Just reporting what I found.

    Thread Starter stilldreaming

    (@stilldreaming)

    And another remark:

    Looking up an incorrect IP address, like ‘abc’ results in:

    PHP Fatal error: Uncaught wfAPICallErrorResponseException: WordFence API error: Unable to perform a WHOIS lookup on the value provided. in myURL/wp-content/plugins/wordfence/lib/wfAPI.php:102

    You don’t see that, because of the blue button staying on “LOADING”, but the error is in the debug log.

    Plugin Support wfphil

    (@wfphil)

    Hi @stilldreaming

    The improvement in version 7.4.1 was for a different issue.

    The bug case you reported is still open.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Whois Lookup, faulty input — PHP fatal error’ is closed to new replies.