JavaScript error in public.js
-
Hi there, since updating to the latest plugin version, 9.3.5 a couple of days ago, we’ve been getting a JS/jQuery error which is then preventing other javascript from running, for example, loading forms on pages.
Although I’ve linked to the above, we’ve had to disable the plugin on the site as our client has a campaign at the moment linking to the form and we need it available.
If you could look into this, that would be appreciated.
The error appears to be caused by code in the public.js file:
Uncaught TypeError: Cannot read properties of undefined (reading ‘length’)
at Function.each (jquery.min.js:2:2732)
at HTMLDocument. (public.js:2106:15)
at j (jquery.min.js:2:26794)
at Object.fireWith as resolveWith
at Function.ready (jquery.min.js:2:29401)
at HTMLDocument.I (jquery.min.js:2:29592)Which is the following loop:
$.each(Utils.utmTerms, function (index, name) {
Cookies.remove(‘pys_’ + name)
});Thank you.
Jon
The page I need help with: [log in to see the link]
The topic ‘JavaScript error in public.js’ is closed to new replies.