Illegal string errors appearing on wc single product page

This topic has 6 replies, 2 voices, and was last updated 6 years, 6 months ago ago by Rose Tyler

  • Avatar: booteeki
    booteeki
    Participant
    June 18, 2018 at 00:12

    Hi there, I am getting an error appear on single product page on my site and hope you might be able to help – was fine before updating woocommerce and xstore. It appears to be something to do with the Add to Cart function – when I disable cart (catalog only) the error disappears. Screenshot is below. Help would be much appreciated!

    screenshot

    Please, contact administrator
    for this information.
    5 Answers
    Avatar: Rose Tyler
    Rose Tyler
    Support staff
    June 18, 2018 at 11:22

    Hello,

    Please provide us with FTP access.

    Regards

    Avatar: booteeki
    booteeki
    Participant
    June 19, 2018 at 08:15

    OKay FTP details below, thanks

    Please, contact administrator
    for this information.
    Avatar: Rose Tyler
    Rose Tyler
    Support staff
    June 19, 2018 at 09:27

    Hello,

    Fixed. Please check now.

    Regards

    Avatar: booteeki
    booteeki
    Participant
    June 19, 2018 at 14:26

    Thats great! Many thanks for your help it much appreciated.

    Just so I know, what was the problem and the fix? I have a staging site too so will need to aply the same fix.

    Many thanks,

    James

    Avatar: Rose Tyler
    Rose Tyler
    Support staff
    June 19, 2018 at 15:05

    You’re welcome!
    We’ve added if ( ! is_array( $args ) ) $args = array(); in xstore/framework/woo.php – https://prnt.sc/jwr1o9
    Also, the fix will be included in next theme update.

    Regards

  • Viewing 6 results - 1 through 6 (of 6 total)

You must be logged in to reply to this topic.Log in/Sign up

We're using our own and third-party cookies to improve your experience and our website. Keep on browsing to accept our cookie policy.