Title: Warning strpos(): Empty needle
Last modified: August 21, 2016

---

# Warning strpos(): Empty needle

 *  [Ciprian Dracea (Drake)](https://wordpress.org/support/users/dracea/)
 * (@dracea)
 * [11 years, 10 months ago](https://wordpress.org/support/topic/warning-strpos-empty-needle/)
 * I don’t know for sure if the problem appear after migration of our shops to a
   new host or after last updates of Jigoshop.
    On Checkout page after completing
   all required fields, when we try to finalize the order we receive: _Warning strpos():
   Empty needle in jigoshop\_checkout.class.php on line 665_ then all form fields
   don’t validate. All fields are completed but Jigoshop keep asking for info for
   billing/shipping.
 * On the new host php version is 5.4.29
 * Can see the problem at [http://e-panouri.eu/magazin/](http://e-panouri.eu/magazin/).
 * [https://wordpress.org/plugins/jigoshop/](https://wordpress.org/plugins/jigoshop/)

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

 *  Thread Starter [Ciprian Dracea (Drake)](https://wordpress.org/support/users/dracea/)
 * (@dracea)
 * [11 years, 10 months ago](https://wordpress.org/support/topic/warning-strpos-empty-needle/#post-5129005)
 * Yes, I tested 1.10.4 on a server with PHP 5.3. and everything goes fine…
 * But really… What policy is this? You cannot ask from your users to stay captive
   on PHP 5.3.
 * 5.2. was obsolete but what it is now???
 *  [megawebmaster](https://wordpress.org/support/users/megawebmaster/)
 * (@megawebmaster)
 * [11 years, 10 months ago](https://wordpress.org/support/topic/warning-strpos-empty-needle/#post-5129136)
 * We are not saying users should be captive of PHP 5.3 – to be honest I’m always
   testing Jigoshop on 5.5 and 5.4 versions and did not encounter such problem. 
   Although it seems it might be a problem in certain circumstances, the fix will
   be available in Jigoshop 1.10.6
 *  Thread Starter [Ciprian Dracea (Drake)](https://wordpress.org/support/users/dracea/)
 * (@dracea)
 * [11 years, 10 months ago](https://wordpress.org/support/topic/warning-strpos-empty-needle/#post-5129181)
 * Thank you for looking into this. Yes, 1.10.6 solved the first part of the problem–
   no more “empty needle in the haystack”
 * But the fields still don’t validate:
 *     ```
       Prenume (facturare) camp necesar.
       Nume (facturare) camp necesar.
       Adresa (facturare) camp necesar.
       Oras (facturare) camp necesar.
       Tara (facturare) camp necesar.
       Cod Postal (facturare) camp necesar.
       Telefon (facturare) camp necesar.
       Adresa Email (facturare) camp necesar.
       ```
   
 * (the messages say that all those fields are “required”, but they are already 
   correctly completed in the form).

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

The topic ‘Warning strpos(): Empty needle’ is closed to new replies.

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

## Tags

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

 * 3 replies
 * 2 participants
 * Last reply from: [Ciprian Dracea (Drake)](https://wordpress.org/support/users/dracea/)
 * Last activity: [11 years, 10 months ago](https://wordpress.org/support/topic/warning-strpos-empty-needle/#post-5129181)
 * Status: not resolved