Title: Empty needle error after update
Last modified: September 22, 2016

---

# Empty needle error after update

 *  Resolved [montebianco](https://wordpress.org/support/users/montebianco/)
 * (@montebianco)
 * [9 years, 8 months ago](https://wordpress.org/support/topic/empty-needle-error-after-update/)
 * Since recent update our footer menu that has a link to My Account is showing 
   this error:
 * Warning: strpos(): Empty needle in …/wp-content/plugins/woo-poly-integration/
   src/Hyyan/WPI/Endpoints.php on line 231

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

 *  [decarvalhoaa](https://wordpress.org/support/users/decarvalhoaa/)
 * (@decarvalhoaa)
 * [9 years, 8 months ago](https://wordpress.org/support/topic/empty-needle-error-after-update/#post-8209961)
 * In line 231 of the Endpoints.php file replace
    `if (false !== ($pos = strpos(
   $item->url, $value))) {` with `if ($value && false !== ($pos = strpos($item->
   url, $value))) {`
 * I will prepare a bug fix for this issue (and other stuff) for a future release(
   probably 0.29).
 *  Thread Starter [montebianco](https://wordpress.org/support/users/montebianco/)
 * (@montebianco)
 * [9 years, 8 months ago](https://wordpress.org/support/topic/empty-needle-error-after-update/#post-8213042)
 * Thanks, fixed with above line of code.
 *  [decarvalhoaa](https://wordpress.org/support/users/decarvalhoaa/)
 * (@decarvalhoaa)
 * [9 years, 8 months ago](https://wordpress.org/support/topic/empty-needle-error-after-update/#post-8213317)
 * Good to hear it. Please mark this thread as solved/resolved,

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

The topic ‘Empty needle error after update’ is closed to new replies.

 * ![](https://ps.w.org/woo-poly-integration/assets/icon-128x128.png?rev=1139686)
 * [Hyyan WooCommerce Polylang Integration](https://wordpress.org/plugins/woo-poly-integration/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/woo-poly-integration/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/woo-poly-integration/)
 * [Active Topics](https://wordpress.org/support/plugin/woo-poly-integration/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/woo-poly-integration/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/woo-poly-integration/reviews/)

 * 3 replies
 * 2 participants
 * Last reply from: [decarvalhoaa](https://wordpress.org/support/users/decarvalhoaa/)
 * Last activity: [9 years, 8 months ago](https://wordpress.org/support/topic/empty-needle-error-after-update/#post-8213317)
 * Status: resolved