• Resolved DCLVBS

    (@decalvibes)


    Hi there,

    I am getting the following error code if woocommerce cart is empty or cleared. I am using WC Blocks for Cart Page (OceanWP MyLibrary – Shortcode).

    Unexpected error in: woocommerce/empty-cart-block

    Error: Minified React error #60; visit https://reactjs.org/docs/error-decoder.html?invariant=60 for the full message or use the non-minified dev environment for full errors and additional helpful warnings.

    If found out that the issue is related to the WP FullPicture Plugin. Could you pls fix this?
    I am using latest version of your Plugin.

    Many thanks in advance for your efforts!
    Br, Alex

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

Viewing 8 replies - 1 through 8 (of 8 total)
  • Plugin Author Krzysztof Planeta

    (@chrisplaneta)

    Hi Alex

    Thank you for the bug report. I will investigate it and get back to you as soon as I find out what is going on.

    Have a nice day!

    Plugin Author Krzysztof Planeta

    (@chrisplaneta)

    I installed OceanWP but I cannot find this block. Is it available in the free version of the theme?

    Plugin Author Krzysztof Planeta

    (@chrisplaneta)

    One more thing. We had issues with OceanWP before. The theme modifies WordPress’s theme customzier and makes the controls for designing the consent banner unavailable. Unfortunately, I cannot do anything about. It took me about 30 hours to re-make customizer to work with OceanWPs custom solution but nothing worked. If the cart block is another Ocean’s custom solution, then I won’t be able to help. WP Full Picture is made to work with solutions that do not change how WP or WooCommerce work.

    Thread Starter DCLVBS

    (@decalvibes)

    Hi @chrisplaneta

    thank you for your quick response!

    No I am using the standard WordPress/WooCommerce Cart Block. I’ve just created a template within OceanWP Library and then integrated it with a shortcode and Elementor onto the page. So in free version.

    I also found out that the issue is related to the “WooCommerce Tracking”-Extension. The issue occurs only if this extension is activated.

    I am looking forward to hearing from you soon.
    Many thanks in advance for your efforts!
    Br, Alex

    Plugin Author Krzysztof Planeta

    (@chrisplaneta)

    Hi Alex

    I just wanted to let you know that I have diagnosed the problem, I have found the reason why it occurs, and I have a temporary solution (but not the best one).

    What causes the problem

    The problem is caused by inconsistent behaviour of WooCommerce. The “newest products” block that is a part of the “empty cart” section behaves differently than when it is used on other pages.

    Unfortunately, at the moment I see no way to fix it without rebuilding how WP FP tracks products in 5 different blocks (because they use the same function as the unfortunate one in the cart). However I don’t want to do this because:

    1. Doing this would take about a week of work.
    2. The method I would need to use is less accurate and can cause other issues

    What to do to fix it (at the moment)

    To fix the problem, you will have to remove the “newest products” block from the cart block, like I show below.

    After you do this, you can re-add the same block under the cart block and it will work just fine. Unfortunately, it will not disappear when the cart is full.

    Plugin Author Krzysztof Planeta

    (@chrisplaneta)

    It looks like adding images doesn’t work in thsi editor. Here’s the link to the image https://www.dropbox.com/scl/fi/l3okn0eniwi3hyni4f25u/cart-block-what-to-remove.png?rlkey=uehzkg99a6luu1t9tcf8qnhp8&dl=0

    Thread Starter DCLVBS

    (@decalvibes)

    Hi @chrisplaneta

    thank you so much for your quick response and help! I really appreciate your efforts! I’ve done the steps you wrote and I want to let you know that it works! I am good with the fact that the “newest products”-block won’t disappear if the cart is full.

    You helped a lot!
    Stay safe and healthy!
    Br Alex

    Plugin Author Krzysztof Planeta

    (@chrisplaneta)

    You too! I’m glad I could help. Have a great day Alex!

Viewing 8 replies - 1 through 8 (of 8 total)
  • You must be logged in to reply to this topic.