Support » Plugin: Blackhole for Bad Bots » cron errors

  • Resolved Fredrick Miller


    Please tell me how to fix this error “Warning: gethostbyaddr(): Address is not a valid IPv4 or IPv6 address in /home/mysite/public_html/wp-content/plugins/blackhole-bad-bots/inc/blackhole-helpers.php on line 39” thanks

Viewing 1 replies (of 1 total)
  • Plugin Author Jeff Starr



    Glad to help. It’s a bug (warning not an error) that will be fixed in the next plugin update. In the meantime you can stop the Warning by adding the following code:

    function blackhole_enable_host_check() { return false; }
    add_filter('blackhole_enable_host_check', 'blackhole_enable_host_check');

    Thanks for reporting, @discountamerica.

Viewing 1 replies (of 1 total)
  • The topic ‘cron errors’ is closed to new replies.