Error when adding a variable product from a category to the cart
-
Hello!
I get an error in the console when I try to add a product to the cart from a category:
add-to-cart-variation.min.js?ver=4.7.1:1
Uncaught TypeError: Cannot read property ‘length’ of null
at t.isMatch (add-to-cart-variation.min.js?ver=4.7.1:1)
at t.findMatchingVariations (add-to-cart-variation.min.js?ver=4.7.1:1)
at HTMLSelectElement.<anonymous> (add-to-cart-variation.min.js?ver=4.7.1:1)
at Function.each (jquery.js?ver=1.12.4-wp:2)
at n.fn.init.each (jquery.js?ver=1.12.4-wp:2)
at HTMLFormElement.t.onUpdateAttributes (add-to-cart-variation.min.js?ver=4.7.1:1)
at HTMLFormElement.dispatch (jquery.js?ver=1.12.4-wp:3)
at HTMLFormElement.r.handle (jquery.js?ver=1.12.4-wp:3)
at Object.trigger (jquery.js?ver=1.12.4-wp:3)
at HTMLFormElement.<anonymous> (jquery.js?ver=1.12.4-wp:3).
Hello,
Thank you for choosing our theme and for contacting us.
Please deactivate all the plugins not related to the theme and switch the parent theme, check the issue, If the problem has gone, activate the plugins one by one, checking the issue to detect which one causes the problem.
if the problem remains, even after the plugins deactivated leave the plugins deactivated for us to check and provide your site admin access to the private area.
Best Regards
Plugins have been deactivated, the problem persists
Hello,
Please make the full backup of your site as well as the Theme settings export and check the issue on the Storefront theme to detect if our theme causes the problem. Storefront is a free theme developed by Woocommerce.
Best Regards
I checked on storefront theme, no errors occur there
Problem still exists, tell me what to do, please
Hello,
We have switched to the Storefront and see the same error. http://prntscr.com/vtctyg
This error is not caused by our theme, please check your plugins once more.
Best Regards