Title: PHP Warning: strpos(): Empty needle
Last modified: February 3, 2025

---

# PHP Warning: strpos(): Empty needle

 *  Resolved [sectorx](https://wordpress.org/support/users/sectorx/)
 * (@sectorx)
 * [1 year, 4 months ago](https://wordpress.org/support/topic/php-warning-strpos-empty-needle-4/)
 * Hello,
 * I’m using plugin version 5.1 and it gives me this warning with php8.4
 * `PHP Warning: strpos(): Empty needle in /wp-content/plugins/mailchimp-for-woocommerce/
   includes/class-mailchimp-woocommerce-service.php on line 843`
 * Cau you please fix this in next release?

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

 *  Plugin Support [KJ](https://wordpress.org/support/users/kjvextras/)
 * (@kjvextras)
 * [1 year, 4 months ago](https://wordpress.org/support/topic/php-warning-strpos-empty-needle-4/#post-18285104)
 * Hello! [@sectorx](https://wordpress.org/support/users/sectorx/) Your wish is 
   our command! We just rolled out v5.2 and it includes this fix. Please update 
   your plugin and let us know if you experience this error going forward.
 * Thank you for letting us know!
    -  This reply was modified 1 year, 4 months ago by [KJ](https://wordpress.org/support/users/kjvextras/).
 *  Thread Starter [sectorx](https://wordpress.org/support/users/sectorx/)
 * (@sectorx)
 * [1 year, 4 months ago](https://wordpress.org/support/topic/php-warning-strpos-empty-needle-4/#post-18287552)
 * Hello,
 * thank you very much for quick fix! It is working OK now.
 *  Plugin Support [KJ](https://wordpress.org/support/users/kjvextras/)
 * (@kjvextras)
 * [1 year, 4 months ago](https://wordpress.org/support/topic/php-warning-strpos-empty-needle-4/#post-18290383)
 * Awesome!
 * Glad to hear that fixed the issue! If anything else pops up, don’t hesitate to
   reach back out to us. We appreciate you using the plugin.
 * If you’re happy with this integration, please consider leaving a [5-star review](https://wordpress.org/support/plugin/mailchimp-for-woocommerce/reviews/).
   Your feedback helps other WooCommerce customers find this integration and helps
   support future development

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

The topic ‘PHP Warning: strpos(): Empty needle’ 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: [KJ](https://wordpress.org/support/users/kjvextras/)
 * Last activity: [1 year, 4 months ago](https://wordpress.org/support/topic/php-warning-strpos-empty-needle-4/#post-18290383)
 * Status: resolved