• Hello

    my users are reporting an error when they try to add product in their cart.

    The error is

    Warning: count(): Parameter must be an array or an object that implements Countable in /homepages/28/d463027390/htdocs/clickandbuilds/wp-content/plugins/canada-post-shipping-for-woocommerce-premium/canada-post-shipping-for-woocommerce-canada-post.php on line 60

    how can I resolve this?

    Thanks

    The page I need help with: [log in to see the link]

Viewing 5 replies - 1 through 5 (of 5 total)
  • Thread Starter sniperkill

    (@sniperkill)

    Here is the screenshot of the error https://imgur.com/gxuJDQ0

    Plugin Author smallfishes

    (@smallfishes)

    Hey

    Thanks for reporting the bug.

    I’ll see if I can replicate it on my end and issue a fix in the next few days.

    Thread Starter sniperkill

    (@sniperkill)

    @smallfishes To replicate the issue, please do the following

    1 – Create a variable product with 2 different variations
    2 – Add 1st variation to cart.
    3 – Once the first variation has been added to cart, Then add 2nd variation and choose quantity 2-3 for the 2nd variation.

    4 – The issue will appear.

    The issue normally appears when we add different variations to the cart of same product.

    Hope it helps

    Thanks

    • This reply was modified 5 years, 8 months ago by sniperkill.
    Thread Starter sniperkill

    (@sniperkill)

    @smallfishes I hope you are doing good, any luck with fixing the error?

    Plugin Author smallfishes

    (@smallfishes)

    @sniperkill I’m incredibly sorry this slipped through the cracks. I’ll try and get a fix out to you by this evening.

    Can you send me an email at [email protected] so I can reply with a version of the plugin for you to test before I release it?

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Getting error while adding product to cart’ is closed to new replies.