Title: PHP Error &#039;empty needle&#039;
Last modified: August 30, 2016

---

# PHP Error 'empty needle'

 *  Resolved [stefhz](https://wordpress.org/support/users/stefhz/)
 * (@stefhz)
 * [10 years, 7 months ago](https://wordpress.org/support/topic/php-error-empty-needle/)
 * Hi – Looks like the last update had a bug creep in:
 * PHP Warning: strpos(): Empty needle in /…/wp-content/plugins/404-to-301/public/
   class-404-to-301-public.php on line 249
 * Lots of those in my error log.
 * Thx
 * [https://wordpress.org/plugins/404-to-301/](https://wordpress.org/plugins/404-to-301/)

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

 *  Plugin Author [Joel James](https://wordpress.org/support/users/joelcj91/)
 * (@joelcj91)
 * [10 years, 7 months ago](https://wordpress.org/support/topic/php-error-empty-needle/#post-6700366)
 * Have you entered anything in Exclude path option?
 *  Thread Starter [stefhz](https://wordpress.org/support/users/stefhz/)
 * (@stefhz)
 * [10 years, 7 months ago](https://wordpress.org/support/topic/php-error-empty-needle/#post-6700368)
 * nope, didn’t touch the field. Just updated the plugin.
 * The exact same error shows up on all the sites where I use your plugin, BTW.
 *  [LeoKesler](https://wordpress.org/support/users/leokesler/)
 * (@leokesler)
 * [10 years, 7 months ago](https://wordpress.org/support/topic/php-error-empty-needle/#post-6700372)
 * Same error, with “Exclude path” blank .
 *  Plugin Author [Joel James](https://wordpress.org/support/users/joelcj91/)
 * (@joelcj91)
 * [10 years, 7 months ago](https://wordpress.org/support/topic/php-error-empty-needle/#post-6700394)
 * Hi all,
 * Please follow [this ticket](https://wordpress.org/support/topic/php-warning-strpos-after-upgrade-to-version-208)
 * I am closing this ticket since there are multiple tickets for same issue. Kindly
   add your replies to the given link
 *  Plugin Author [Joel James](https://wordpress.org/support/users/joelcj91/)
 * (@joelcj91)
 * [10 years, 7 months ago](https://wordpress.org/support/topic/php-error-empty-needle/#post-6700400)
 * Hi all,
 * Please update to the latest version and check

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

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

 * ![](https://ps.w.org/404-to-301/assets/icon.svg?rev=3548123)
 * [404 to 301 - Redirect, Log and Notify 404 Errors](https://wordpress.org/plugins/404-to-301/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/404-to-301/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/404-to-301/)
 * [Active Topics](https://wordpress.org/support/plugin/404-to-301/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/404-to-301/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/404-to-301/reviews/)

## Tags

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

 * 5 replies
 * 3 participants
 * Last reply from: [Joel James](https://wordpress.org/support/users/joelcj91/)
 * Last activity: [10 years, 7 months ago](https://wordpress.org/support/topic/php-error-empty-needle/#post-6700400)
 * Status: resolved