WP 5.5.1 + WOO 4.5.2 Uncaught ReferenceError: product_id is not defined
-
Hi,
I have the following error on my product pages – chrome console.autoptimize_78116ca0d4be12970ddc8ca9c3896a76.js:187 Uncaught ReferenceError: product_id is not defined at HTMLFormElement.<anonymous> (autoptimize_78116ca0d4be12970ddc8ca9c3896a76.js:187) at HTMLFormElement.dispatch (jquery.js:3) at HTMLFormElement.r.handle (jquery.js:3) at Object.trigger (jquery.js:3) at HTMLInputElement.<anonymous> (jquery.js:3) at Function.each (jquery.js:2) at n.fn.init.each (jquery.js:2) at n.fn.init.trigger (jquery.js:3) at HTMLInputElement.<anonymous> (autoptimize_78116ca0d4be12970ddc8ca9c3896a76.js:187) at HTMLFormElement.dispatch (jquery.js:3) (anonymous) @ autoptimize_78116ca0d4be12970ddc8ca9c3896a76.js:187 dispatch @ jquery.js:3 r.handle @ jquery.js:3 trigger @ jquery.js:3 (anonymous) @ jquery.js:3 each @ jquery.js:2 each @ jquery.js:2 trigger @ jquery.js:3 (anonymous) @ autoptimize_78116ca0d4be12970ddc8ca9c3896a76.js:187 dispatch @ jquery.js:3 r.handle @ jquery.js:3 trigger @ jquery.js:3 (anonymous) @ jquery.js:3 each @ jquery.js:2 each @ jquery.js:2 trigger @ jquery.js:3 n.fn.<computed> @ jquery.js:4 init @ autoptimize_78116ca0d4be12970ddc8ca9c3896a76.js:187 (anonymous) @ autoptimize_78116ca0d4be12970ddc8ca9c3896a76.js:187 each @ jquery.js:2 each @ jquery.js:2 (anonymous) @ autoptimize_78116ca0d4be12970ddc8ca9c3896a76.js:187 i @ jquery.js:2 fireWith @ jquery.js:2 ready @ jquery.js:2 J @ jquery.js:2
on “Exclude scripts from Autoptimize:” I have “wp-includes/js/dist/, wp-includes/js/tinymce/ , js/jquery/jquery.js, kirki/modules/webfont-loader/vendor-typekit/webfontloader.js, wp-includes/js/dist/i18n.min.js”
Any idea how can I fix it?
Thanks.
Viewing 9 replies - 1 through 9 (of 9 total)
Viewing 9 replies - 1 through 9 (of 9 total)
- The topic ‘WP 5.5.1 + WOO 4.5.2 Uncaught ReferenceError: product_id is not defined’ is closed to new replies.