Title: PHP Error
Last modified: March 15, 2019

---

# PHP Error

 *  Resolved [Rob Art](https://wordpress.org/support/users/robword/)
 * (@robword)
 * [7 years, 2 months ago](https://wordpress.org/support/topic/php-error-312/)
 * Received this PHP error this morning after a block:
 * > Warning: fsockopen(): unable to connect to whois.arin.net:43 (Connection refused)
   > in /wp-content/plugins/blackhole-bad-bots/inc/blackhole-lookup.php on line 
   > 18
 * Thanks
 * Rob
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fphp-error-312%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

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

 *  Plugin Author [Jeff Starr](https://wordpress.org/support/users/specialk/)
 * (@specialk)
 * [7 years, 2 months ago](https://wordpress.org/support/topic/php-error-312/#post-11316425)
 * Is `fsockopen()` enabled on your server?
 *  Thread Starter [Rob Art](https://wordpress.org/support/users/robword/)
 * (@robword)
 * [7 years, 2 months ago](https://wordpress.org/support/topic/php-error-312/#post-11316437)
 * Sorry to sound like a newbie, but where would I check this?
 *  Plugin Author [Jeff Starr](https://wordpress.org/support/users/specialk/)
 * (@specialk)
 * [7 years, 2 months ago](https://wordpress.org/support/topic/php-error-312/#post-11316456)
 * Ask web host will be able to help with this. Some hosts disable `fsockopen()`
   by default but are happy to enable if requested by the customer.
 *  Thread Starter [Rob Art](https://wordpress.org/support/users/robword/)
 * (@robword)
 * [7 years, 2 months ago](https://wordpress.org/support/topic/php-error-312/#post-11316472)
 * OK, thanks I will check and get back to you.
 *  Plugin Author [Jeff Starr](https://wordpress.org/support/users/specialk/)
 * (@specialk)
 * [7 years, 2 months ago](https://wordpress.org/support/topic/php-error-312/#post-11327843)
 * It’s been a few days, gonna mark this post as resolved to keep things organized.
   Feel free to post again with any questions, feedback, etc. Always glad to help,
   thanks Rob.

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

The topic ‘PHP Error’ is closed to new replies.

 * ![](https://ps.w.org/blackhole-bad-bots/assets/icon-256x256.png?rev=1471215)
 * [Blackhole for Bad Bots](https://wordpress.org/plugins/blackhole-bad-bots/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/blackhole-bad-bots/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/blackhole-bad-bots/)
 * [Active Topics](https://wordpress.org/support/plugin/blackhole-bad-bots/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/blackhole-bad-bots/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/blackhole-bad-bots/reviews/)

## Tags

 * [blackhole](https://wordpress.org/support/topic-tag/blackhole/)
 * [block](https://wordpress.org/support/topic-tag/block/)
 * [bots](https://wordpress.org/support/topic-tag/bots/)
 * [php](https://wordpress.org/support/topic-tag/php/)

 * 5 replies
 * 2 participants
 * Last reply from: [Jeff Starr](https://wordpress.org/support/users/specialk/)
 * Last activity: [7 years, 2 months ago](https://wordpress.org/support/topic/php-error-312/#post-11327843)
 * Status: resolved