jQuery problem
-
Hi,
For the following pages containing Give forms I am getting problems on first load of those forms. The error seems to stem from non-updating of the donation field using any of the multi-level options – it is not updating the Total unless I refresh the page and start again and then it works.
https://wellsforzoe.org/donate/
https://wellsforzoe.org/donate-offline-by-standing-order/
A refresh clears the problem but of course that doesn’t solve the problem I have for donors.
These are the various browser console error messages for different variables:
Error from Chrome:
api.js:213 Uncaught TypeError: Cannot set property ‘amount_21’ of undefined
at Object.setCache (api.js:213)
at HTMLInputElement.<anonymous> (give-donations.js:212)
at HTMLDocument.dispatch (jquery.js?ver=1.12.4:3)
at HTMLDocument.r.handle (jquery.js?ver=1.12.4:3)
at Object.trigger (jquery.js?ver=1.12.4:3)
at Object.a.event.trigger (jquery-migrate.min.js?ver=1.4.1:2)
at HTMLInputElement.<anonymous> (jquery.js?ver=1.12.4:3)
at Function.each (jquery.js?ver=1.12.4:2)
at a.fn.init.each (jquery.js?ver=1.12.4:2)
at a.fn.init.trigger (jquery.js?ver=1.12.4:3)api.js:213 Uncaught TypeError: Cannot set property ‘amount_15’ of undefined
at Object.setCache (api.js:213)
at HTMLInputElement.<anonymous> (give-donations.js:212)
at HTMLDocument.dispatch (jquery.js?ver=1.12.4:3)
at HTMLDocument.r.handle (jquery.js?ver=1.12.4:3)
at Object.trigger (jquery.js?ver=1.12.4:3)
at Object.a.event.trigger (jquery-migrate.min.js?ver=1.4.1:2)
at HTMLInputElement.<anonymous> (jquery.js?ver=1.12.4:3)
at Function.each (jquery.js?ver=1.12.4:2)
at a.fn.init.each (jquery.js?ver=1.12.4:2)
at a.fn.init.trigger (jquery.js?ver=1.12.4:3)Error from Firefox:
TypeError: o.cache[(“form_” + o.form.fn.getInfo(…))] is undefined[Learn More] api.js:213:26
setCache api.js:213:26
<anonymous> give-donations.js:212:2
dispatch https://wellsforzoe.org/wp-includes/js/jquery/jquery.js:3:12392
add/r.handle https://wellsforzoe.org/wp-includes/js/jquery/jquery.js:3:9156
trigger https://wellsforzoe.org/wp-includes/js/jquery/jquery.js:3:11571
a.event.trigger https://wellsforzoe.org/wp-includes/js/jquery/jquery-migrate.min.js:2:8273
trigger/< https://wellsforzoe.org/wp-includes/js/jquery/jquery.js:3:18983
each https://wellsforzoe.org/wp-includes/js/jquery/jquery.js:2:2879
each https://wellsforzoe.org/wp-includes/js/jquery/jquery.js:2:844
trigger https://wellsforzoe.org/wp-includes/js/jquery/jquery.js:3:18962
autoSetMultiLevel form.js:511:3
<anonymous> give-donations.js:299:2
dispatch https://wellsforzoe.org/wp-includes/js/jquery/jquery.js:3:12392
add/r.handle https://wellsforzoe.org/wp-includes/js/jquery/jquery.js:3:9156Error from Edge:
SCRIPT5007: SCRIPT5007: Unable to set property ‘amount_180’ of undefined or null reference api.js (213,5)
I did notice that the floating labels were not always loading correctly in the past and also needed a refresh to load correctly but it didn’t appear to be affecting the donation fields and I could live with it.
I hope you can help,
éamonn
The page I need help with: [log in to see the link]
- The topic ‘jQuery problem’ is closed to new replies.