Title: PHP Warning with this plugin
Last modified: August 30, 2016

---

# PHP Warning with this plugin

 *  Resolved [iSaumya](https://wordpress.org/support/users/isaumya/)
 * (@isaumya)
 * [10 years, 6 months ago](https://wordpress.org/support/topic/php-warning-with-this-plugin/)
 * Hi, I was recently checking my php error log and I see these warning for mailbag
   plugin.
 *     ```
       [11-Nov-2015 12:03:29 UTC] PHP Warning:  fsockopen(): unable to connect to us4.api.mailchimp.com:80 (Connection timed out) in /home/xxx/public_html/wp-content/plugins/mailbag/mailchimp/MCAPI.class.php on line 2864
       [11-Nov-2015 12:05:02 UTC] PHP Warning:  fsockopen(): unable to connect to us4.api.mailchimp.com:80 (No route to host) in /home/xxx/public_html/wp-content/plugins/mailbag/mailchimp/MCAPI.class.php on line 2864
       [11-Nov-2015 12:05:05 UTC] PHP Warning:  fsockopen(): unable to connect to us4.api.mailchimp.com:80 (Connection timed out) in /home/xxx/public_html/wp-content/plugins/mailbag/mailchimp/MCAPI.class.php on line 2864
       [11-Nov-2015 12:05:15 UTC] PHP Warning:  fsockopen(): unable to connect to us4.api.mailchimp.com:80 (Connection timed out) in /home/xxx/public_html/wp-content/plugins/mailbag/mailchimp/MCAPI.class.php on line 2864
       [11-Nov-2015 12:08:39 UTC] PHP Warning:  fsockopen(): unable to connect to us4.api.mailchimp.com:80 (Connection timed out) in /home/xxx/public_html/wp-content/plugins/mailbag/mailchimp/MCAPI.class.php on line 2864
       [11-Nov-2015 12:10:25 UTC] PHP Warning:  fsockopen(): unable to connect to us4.api.mailchimp.com:80 (Connection timed out) in /home/xxx/public_html/wp-content/plugins/mailbag/mailchimp/MCAPI.class.php on line 2864
       [11-Nov-2015 12:10:34 UTC] PHP Warning:  fsockopen(): unable to connect to us4.api.mailchimp.com:80 (Connection timed out) in /home/xxx/public_html/wp-content/plugins/mailbag/mailchimp/MCAPI.class.php on line 2864
       ```
   
 * Any idea?
 * Looking forward to a reply and fix.
 * P.S: I’m running on PHP 7.
 * [https://wordpress.org/plugins/mailbag/](https://wordpress.org/plugins/mailbag/)

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

 *  Plugin Author [ArrayHQ](https://wordpress.org/support/users/okaythemes/)
 * (@okaythemes)
 * [10 years, 5 months ago](https://wordpress.org/support/topic/php-warning-with-this-plugin/#post-6759311)
 * Hi Saumya,
 * Looks like this could either be a DNS issue, or perhaps a service interruption
   at MailChimp. You might also want to check that fsockopen is available and enabled
   on your server.
 *  Thread Starter [iSaumya](https://wordpress.org/support/users/isaumya/)
 * (@isaumya)
 * [10 years, 5 months ago](https://wordpress.org/support/topic/php-warning-with-this-plugin/#post-6759380)
 * I have checked on my server and `fsockopen` is enabled. So this is definitely
   not my server issue.
 *  Plugin Author [ArrayHQ](https://wordpress.org/support/users/okaythemes/)
 * (@okaythemes)
 * [10 years, 5 months ago](https://wordpress.org/support/topic/php-warning-with-this-plugin/#post-6759381)
 * We haven’t had this issue reported over the years. Because the error listed above
   is coming from the MailChimp library and not our code, it may just be an incompatibility
   with your setup. You might try the more feature packed MailChimp for WordPress
   plugin as an alternative. [https://wordpress.org/plugins/mailchimp-for-wp/](https://wordpress.org/plugins/mailchimp-for-wp/)
 *  Thread Starter [iSaumya](https://wordpress.org/support/users/isaumya/)
 * (@isaumya)
 * [10 years, 5 months ago](https://wordpress.org/support/topic/php-warning-with-this-plugin/#post-6759382)
 * I never said it’s your fault. I just saw those errors in my error log so I thought
   it would be better if I share it with you. Thats all.
 *  Plugin Author [ArrayHQ](https://wordpress.org/support/users/okaythemes/)
 * (@okaythemes)
 * [10 years, 5 months ago](https://wordpress.org/support/topic/php-warning-with-this-plugin/#post-6759383)
 * We really appreciate the heads up. We’ll take a look, but if you’re in a rush,
   feel free to check out that other plugin. May have more features for your site
   as well.
 *  Thread Starter [iSaumya](https://wordpress.org/support/users/isaumya/)
 * (@isaumya)
 * [10 years, 5 months ago](https://wordpress.org/support/topic/php-warning-with-this-plugin/#post-6759384)
 * I’m happy with your plugin. And for more feature thing, I already have bloom.

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

The topic ‘PHP Warning with this plugin’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/mailbag_93aab9.svg)
 * [Mailbag](https://wordpress.org/plugins/mailbag/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/mailbag/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/mailbag/)
 * [Active Topics](https://wordpress.org/support/plugin/mailbag/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/mailbag/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/mailbag/reviews/)

 * 6 replies
 * 2 participants
 * Last reply from: [iSaumya](https://wordpress.org/support/users/isaumya/)
 * Last activity: [10 years, 5 months ago](https://wordpress.org/support/topic/php-warning-with-this-plugin/#post-6759384)
 * Status: resolved