JS error on all pages except for product pages
-
We are seeing a JS error on all site pages except product pages coming from this plugin’s frontend.js file on line 104:
“Unexpected token u in JSON at position 0”
Line 104: product_attr = jQuery.parseJSON( $(“.variations_form”).attr(“data-product_variations”) ),
parseJSON is probably trying to parse “undefined” because there is no product on the page? Is there a check anywhere for whether a product exists?
This site does have an absurd number of plugins installed so it could be a plugin conflict, but I thought I’d start here to see if anyone else can recreate the issue.
The page I need help with: [log in to see the link]
- The topic ‘JS error on all pages except for product pages’ is closed to new replies.