Title: strpos issue
Last modified: April 21, 2017

---

# strpos issue

 *  Resolved [visionaryweb](https://wordpress.org/support/users/visionaryweb/)
 * (@visionaryweb)
 * [9 years, 1 month ago](https://wordpress.org/support/topic/strpos-issue/)
 * I’m not sure how it’s related, but we get the following error when looking at
   the Products area of WooCommerce in our WP dashboard:
 * Warning: strpos() expects parameter 1 to be string, array given in /home/XXXXX/
   public_html/wp-content/plugins/easy-testimonials/include/lib/easy_testimonials_custom_columns.
   php on line 131
 * Any thoughts on why that would be?
 * Thanks!

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

 *  Plugin Contributor [richardgabriel](https://wordpress.org/support/users/richardgabriel/)
 * (@richardgabriel)
 * [9 years, 1 month ago](https://wordpress.org/support/topic/strpos-issue/#post-9057141)
 * Hey [@visionaryweb](https://wordpress.org/support/users/visionaryweb/)!
 * While I’m not sure why it would be causing an issue with WooCommerce, the line
   you’ve posted has to do with showing our shortcode in the list of Testimonials
   on the admin side of things.
 * It sounds like there is a minor issue with WooCommerce, then, and this line, 
   causing a Warning on your site. We’ll take a look and address in our next patch
   as needed!
 * Best,
    Richard
 *  [gameroomdesigns](https://wordpress.org/support/users/gameroomdesigns/)
 * (@gameroomdesigns)
 * [9 years, 1 month ago](https://wordpress.org/support/topic/strpos-issue/#post-9070446)
 * Has any progress been made on this? I am having the same problem, and whenever
   I am in the backend of the site, it’s affecting a number of items with Woocommerce.
   For example, when viewing my product list, the strpos() error appears on up to
   fifty lines, prior to displaying the information about my products. It also appears
   in my work orders and invoices.
 * Here is an image of what happens when I click “Products”:
 * ![Products Tab](https://i0.wp.com/i.imgur.com/bInPwEq.png)
 * Here is an image of what happens when I view an order:
 * ![Order Screen](https://i0.wp.com/i.imgur.com/0TQMOs2.png)
 * As you can see, the directory affected is the same, leading me to believe that
   somehow, the plugin in interfering with more than just one aspect of Woocommerce’s
   functionality.
 * All of this corruption started happening with the latest update of Woocommerce,
   and unfortunately, because of this, I have had to disable the Easy Testimonials
   plugin so that it does not continue to affect the functionality of my site.
 * Please let me know if this is under investigation.
 * Thank you!
 * Rick
 *  Plugin Contributor [richardgabriel](https://wordpress.org/support/users/richardgabriel/)
 * (@richardgabriel)
 * [9 years, 1 month ago](https://wordpress.org/support/topic/strpos-issue/#post-9073853)
 * Hey [@gameroomdesigns](https://wordpress.org/support/users/gameroomdesigns/)!
 * Thanks for the thorough follow up report! Yes we will have this fixed in our 
   next update, which should be out very soon!
 * I wouldn’t worry about it affecting more than dashboard screens, but I understand
   disabling it to be safe. The script in question is there to add a few more columns
   to our post type in dashboard lists and it looks like it is running more than
   it should, now. It should be a pretty simple change for us if that is correct.
 * Stay tuned!
 * Best,
    Richard
 *  Plugin Contributor [richardgabriel](https://wordpress.org/support/users/richardgabriel/)
 * (@richardgabriel)
 * [9 years, 1 month ago](https://wordpress.org/support/topic/strpos-issue/#post-9074678)
 * Hey [@gameroomdesigns](https://wordpress.org/support/users/gameroomdesigns/) &
   [@visionaryweb](https://wordpress.org/support/users/visionaryweb/) –
 * Would you be willing to try an updated version of the plugin on your site, to
   see if your issue is resolved?
 * We are unable to reproduce the issue on our test environment – there must be 
   a specific combination of settings / extensions to produce it, but we do believe
   we have a fix in place to address the issue. If we could confirm the fix working
   on your site that would be quite helpful.
 * If its OK then just let me know where I should e-mail the file.
 * Best,
    Richard
    -  This reply was modified 9 years, 1 month ago by [richardgabriel](https://wordpress.org/support/users/richardgabriel/).
      Reason: adding @ mention
 *  [gameroomdesigns](https://wordpress.org/support/users/gameroomdesigns/)
 * (@gameroomdesigns)
 * [9 years, 1 month ago](https://wordpress.org/support/topic/strpos-issue/#post-9074814)
 * Hi Richard,
 * An updated file would be great. You could email it to me at [arcadeshop@gameroomdesigns.ca](https://wordpress.org/support/topic/strpos-issue/arcadeshop@gameroomdesigns.ca?output_format=md).(
   For the record, it does currently affect one extra item than the backend screens–
   the orders and invoices I produce on PDF’s are printing out with the errors in
   place, and as these are commonly provided to customers, we can’t have the error
   on the printout when we pass these along.)
 * If you can send the update, I can test today, and get back to you asap.
 * Thanks!
 * Rick
 *  Plugin Contributor [richardgabriel](https://wordpress.org/support/users/richardgabriel/)
 * (@richardgabriel)
 * [9 years, 1 month ago](https://wordpress.org/support/topic/strpos-issue/#post-9075723)
 * Hey Rick!
 * We had an update scheduled to go out today that may also fix the issue you are
   experiencing.
 * Can you try out version 2.2.4 and let me know if the issues are resolved? There
   was definitely one clear issue that has been addressed related to WooCommerce
   and query ordering on their lists.
 * If that update doesn’t address all of your issues please let me know.
 * Best,
    Richard
 *  [gameroomdesigns](https://wordpress.org/support/users/gameroomdesigns/)
 * (@gameroomdesigns)
 * [9 years, 1 month ago](https://wordpress.org/support/topic/strpos-issue/#post-9083211)
 * It’s looking good so far. The issue is not presenting itself when viewing the
   products list. I haven’t had any new orders affected by the issue, and will continue
   to monitor the plugin for any anomalies. Thanks for the update!
 *  Plugin Contributor [richardgabriel](https://wordpress.org/support/users/richardgabriel/)
 * (@richardgabriel)
 * [9 years, 1 month ago](https://wordpress.org/support/topic/strpos-issue/#post-9086269)
 * Very glad to hear it. Everything appears good from this end as well so we are
   marking this topic resolved.
 * Thanks for your help!
 * Best,
    Richard

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

The topic ‘strpos issue’ is closed to new replies.

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

## Tags

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

 * 8 replies
 * 3 participants
 * Last reply from: [richardgabriel](https://wordpress.org/support/users/richardgabriel/)
 * Last activity: [9 years, 1 month ago](https://wordpress.org/support/topic/strpos-issue/#post-9086269)
 * Status: resolved