• Resolved bumbon4ik

    (@bumbon4ik)


    i have a trouble after last update of woocommerce

    /wp-content/plugins/woocommerce/assets/js/frontend/cart-fragments.min.js?ver=3.3.1

    Uncaught TypeError: Cannot read property 'toString' of undefined
        at HTMLDocument.<anonymous> (cart-fragments.min.js?ver=3.3.1:1)
        at i (jquery.js?ver=1.12.4:2)
        at Object.fireWith [as resolveWith] (jquery.js?ver=1.12.4:2)
        at Function.ready (jquery.js?ver=1.12.4:2)
        at HTMLDocument.K (jquery.js?ver=1.12.4:2)

    in variable product prices do not update because of this error. Can anybody help with this?

    • This topic was modified 7 years, 1 month ago by bumbon4ik.

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

Viewing 6 replies - 1 through 6 (of 6 total)
  • Thread Starter bumbon4ik

    (@bumbon4ik)

    i tryed to disable cart fragments, but it makes new error with the same property

    Uncaught TypeError: Cannot read property 'toString' of undefined
        at HTMLFormElement.e.onFindVariation (add-to-cart-variation.min.js?ver=3.3.1:1)
        at HTMLFormElement.dispatch (jquery.js?ver=1.12.4:3)
        at HTMLFormElement.r.handle (jquery.js?ver=1.12.4:3)
        at Object.trigger (jquery.js?ver=1.12.4:3)
        at Object.a.event.trigger (jquery-migrate.min.js?ver=1.4.1:2)
        at HTMLFormElement.<anonymous> (jquery.js?ver=1.12.4:3)
        at Function.each (jquery.js?ver=1.12.4:2)
        at a.fn.init.each (jquery.js?ver=1.12.4:2)
        at a.fn.init.trigger (jquery.js?ver=1.12.4:3)
        at HTMLSelectElement.e.onChange (add-to-cart-variation.min.js?ver=3.3.1:1)

    I had the same error and gave up on it.

    Fix: in plugin view type in wp rollback , activate and install plugin.

    Then rollback woocommerce to Version 3.2.6, after rollback it will ask you to activate plugin, go ahead.

    You will not loose any data and site will be back up running. The error caused many of my pages to throw a 500 and actually broke my site.

    Im not touching this update for a while!

    Hope this helps

    Thread Starter bumbon4ik

    (@bumbon4ik)

    Thanks a lot! it helps!

    Good to hear ??

    itelmenko

    (@itelmenko)

    Hello! But why did you mark it as resolved?
    Look like it is bug in new version of WooCommerce.

    Hello everyone,
    Posting this if it helps someone. We faced this issue in a website that we have worked for a client.

    We tried different solutions and after a lot of hassle we found out that a plugin named “WooCommerce Poor Guys Swiss Knife” was the reason for the message. The plugin was out dated and discontinued. We disabled it and it was working fine again.

    If you face this issue, you can
    (1) Disable all the plugins on a staging copy except WooCommerce or just the bare minimum. The issue should go away.
    (2) Then try to re-enable plugins one by one and see which one causing the issue.

    For details, you can read a blog post here:
    https://www.79mplus.com/updating-woocommerce-shows-cart-fragments-js-error-and-cannot-add-to-cart/

    Thanks again,
    Team 79mplus

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘error with /cart-fragments.min.js?ver=3.3.1’ is closed to new replies.