Hi @shahank
It looks like this may be caused due to a theme conflict, or possibly a third-party plugin. I’d recommend the conflict-testing steps here to isolate the source of the issue: https://docs.woocommerce.com/document/how-to-test-for-conflicts/
The best way to determine if the issue is being caused by a theme and/or plugin is to do the following:
– Temporarily switch your theme back to a default theme, such as Storefront
– Disable all plugins except for WooCommerce.
– Clear your browser cache, and the cache on your site if you have one there.
– Test to see if the issue has been resolved.
If that resolves the issue, then one-by-one you can switch back your theme and re-enable your plugins, testing in between, until the problem appears again. This will then give you an idea about which plugin is the one causing the conflict.
Since these tests will impact the look and functionality of the site, we strongly recommend using a staging site where you can do your testing.
If you don’t already have a staging site set up, check with your hosting company as many offer this as part of their packages. Otherwise, you can use a free plugin such as WP Staging to set one up.
Thank you for the help guys, figured out my issue it was SiteGrounds Optimizer plugin, I turned off Defer Render-Blocking JS and my errors went away. Some issues with that setting causing the errors. Thanks again.