Random script errors causing site problems
-
I just finished troubleshooting an issue I’ve been having on my website for about 2 weeks or so. I disabled and reenabled all 40-ish plugins and the Mailchimp for WooCommerce is the one causing my error.
It’s random, but happens when refreshing the site (when enabled) at least 1 in 8 times. What it was causing for me is my variation pricing would not load on my product pages and folks were able to order higher priced items for the lowest variation price. I assume because of the script error it caused this. Below is a sampling of the error that is generated when this plugin is enabled (has been fine for a long time – but I see last update involved the “notes”?):
Uncaught ReferenceError: Backbone is not defined
at notes-common-v2.js?ver=8.9.1-202041:32
at notes-common-v2.js?ver=8.9.1-202041:158
admin-bar-v2.js?ver=8.9.1-202041:2 Uncaught ReferenceError: Backbone is not defined
at admin-bar-v2.js?ver=8.9.1-202041:2
(index):2079 Uncaught TypeError: Cannot read property ‘setDefaults’ of undefined
at HTMLDocument.<anonymous> ((index):2079)
at i (jquery.js?ver=1.12.4-wp:2)
at Object.fireWith [as resolveWith] (jquery.js?ver=1.12.4-wp:2)
at Function.ready (jquery.js?ver=1.12.4-wp:2)
at HTMLDocument.J (jquery.js?ver=1.12.4-wp:2)
embed.js:6 [Deprecation] Synchronous XMLHttpRequest on the main thread is deprecated because of its detrimental effects to the end user’s experience. For more help, check https://xhr.spec.whatwg.org/.
q.getText @ embed.js:6
embed.js:6 Failed to load resource: the server responded with a status of 404 (Not Found)
q.getText @ embed.js:6
embed.js:20 Uncaught Error: xhrFailed
at p (embed.js:2)
at Function.q.getText (embed.js:6)
at ra (embed.js:23)
at b (embed.js:2)
at embed.js:11
at ka (embed.js:20)
at oa (embed.js:11)
at embed.js:24
at b (embed.js:2)
at Ya (embed.js:24)):It would also cause the core jquery not to load. I currently have plugin disabled and all is running fine.
- The topic ‘Random script errors causing site problems’ is closed to new replies.