tjestus
Forum Replies Created
-
I think I may have discovered the issue. My give forms that are displayed in the theme do not have any data attributes so when the focus/blur functions on the .give-donation-amount .give-text-input field is called the unFormatCurrency function is failing when it runs because the getInfo(“decimal_seperator”, i) function is returning “undefined”. I added a custom script that added the data attributes to the form by the forms ID and just like that the error is gone and everything works just fine. Now to find where to add the data attributes to the theme templates forms to fix it with out the custom script hack.
@webdevmattcrom I have installed the Health Check plugin and indeed the error persists only when the Goodwish theme is active even if all other plugin besides the give plugin are off. Back to the theme developer. Thank you for your patience.
I am not on a multisite environment. However, I am using this plugin on another site for a client who bought the paid version and is having the same error. He is using a different theme as well so the error is consistent across multiple themes and wordpress set ups.
I am having the same issue with this using the Goodwish Theme on a site I am working on. Below is my console output. You can see the error by going to the link below and then clicking one of the pre-set donation amounts. The total on the bottom does not update. The donation works fine and the correct amount gets sent to paypal to complete the donatation. Just the visual total at the bottom does not update because of the error.
https://www.destinyinternational.us/donations/general-donation/
CONSOLE OUTPUT:
TypeError: t is undefined give.all.min.js:8:1371unFormatCurrency /give/assets/js/frontend/give.all.min.js:8:1371
autoSetMultiLevel /give/assets/js/frontend/give.all.min.js:8:6286
<anonymous> /give/assets/js/frontend/give.all.min.js:8:13143
dispatch /jquery.js:3:12392
add/r.handle /jquery.js:3:9156