• Resolved visionaryweb

    (@visionaryweb)


    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

    (@richardgabriel)

    Hey @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

    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

    Here is an image of what happens when I view an order:

    Order Screen

    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

    (@richardgabriel)

    Hey @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

    (@richardgabriel)

    Hey @gameroomdesigns & @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 7 years, 10 months ago by richardgabriel. Reason: adding @ mention

    Hi Richard,

    An updated file would be great. You could email it to me at [email protected]. (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

    (@richardgabriel)

    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

    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

    (@richardgabriel)

    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.