Title: PHP Warning on error log
Last modified: August 9, 2023

---

# PHP Warning on error log

 *  Resolved [zarinadev](https://wordpress.org/support/users/zarinadev/)
 * (@zarinadev)
 * [2 years, 10 months ago](https://wordpress.org/support/topic/php-warning-on-error-log/)
 * Hi, this error has been appearing in the error log of my site for a while now.
   I think it may also be the culprit of my site giving a 500 error. Is there a 
   solution for this?
 * [23-Mar-2023 10:26:16 UTC] PHP Warning: A non-numeric value encountered in /home3/
   marysalas/public_html/wp-content/plugins/mailchimp-for-woocommerce/includes/processes/
   class-mailchimp-woocommerce-pull-last-campaign.php on line 51
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fphp-warning-on-error-log%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

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

 *  Plugin Support [khungate](https://wordpress.org/support/users/khungate/)
 * (@khungate)
 * [2 years, 10 months ago](https://wordpress.org/support/topic/php-warning-on-error-log/#post-16963963)
 * Hi [@zarinadev](https://wordpress.org/support/users/zarinadev/),
 * Thank you for reaching out. To address the error you’re experiencing and the 
   500 error on your site, I recommend taking the following steps:
    1. Test for plugin or theme conflicts: Switch to the default WooCommerce theme 
       and deactivate all plugins except for WooCommerce and the Mailchimp for WooCommerce
       plugin. Then, test the scenario again to see if the issue persists. This will
       help identify if there are any conflicts causing the error.
    2. Update the Mailchimp for WooCommerce plugin: Make sure you are using the latest
       version of the plugin (3.1). Plugin updates often include bug fixes that can
       resolve issues like the one you’re encountering.
    3. If you’re still experiencing issues, please enable Remote Diagnostics, and provide
       your store URL.
 * I hope this helps! Let me know if you have any other questions.
 *  Plugin Support [khungate](https://wordpress.org/support/users/khungate/)
 * (@khungate)
 * [2 years, 9 months ago](https://wordpress.org/support/topic/php-warning-on-error-log/#post-16981083)
 * Hi [@zarinadev](https://wordpress.org/support/users/zarinadev/), we just wanted
   to check back with you to see if this was still a problem for you. Please let
   us know when you get a moment, we’ll be happy to help troubleshoot further if
   necessary; otherwise we’ll be closing this ticket out in the next few days.
 *  Plugin Support [khungate](https://wordpress.org/support/users/khungate/)
 * (@khungate)
 * [2 years, 9 months ago](https://wordpress.org/support/topic/php-warning-on-error-log/#post-16990442)
 * Hi [@zarinadev](https://wordpress.org/support/users/zarinadev/) we’re going to
   close out this ticket for now since it’s been a little while since we’ve been
   in touch.
 * Please let us know if you still need any help and we’ll be glad to reopen and
   troubleshoot further. Please note, that the best way to reach us is over at the
   GitHub plugin page: [https://github.com/mailchimp/mc-woocommerce/](https://github.com/mailchimp/mc-woocommerce/).
   From there, you can receive direct responses from the development team, log new
   issues, download the latest version, and track existing support tickets.

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

The topic ‘PHP Warning on error log’ is closed to new replies.

 * ![](https://ps.w.org/mailchimp-for-woocommerce/assets/icon-256x256.png?rev=1509501)
 * [Mailchimp for WooCommerce](https://wordpress.org/plugins/mailchimp-for-woocommerce/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/mailchimp-for-woocommerce/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/mailchimp-for-woocommerce/)
 * [Active Topics](https://wordpress.org/support/plugin/mailchimp-for-woocommerce/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/mailchimp-for-woocommerce/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/mailchimp-for-woocommerce/reviews/)

 * 3 replies
 * 2 participants
 * Last reply from: [khungate](https://wordpress.org/support/users/khungate/)
 * Last activity: [2 years, 9 months ago](https://wordpress.org/support/topic/php-warning-on-error-log/#post-16990442)
 * Status: resolved