• Resolved johnbunk

    (@johnbunk)


    I’m using a theme called Goodwish which has Give bundles as a plugin. Although I have the current 2.0.6 version of the plugin, the donation total at bottom will not update on any changes. Could there be a plugin file that needs updating in the bundled version although it says I am current?

Viewing 15 replies - 1 through 15 (of 21 total)
  • Plugin Author Devin Walker

    (@dlocc)

    Hey @johnbunk – I’m sorry to hear about the issue you’re experiencing with the donation total not updating. This sounds like a JS issue if the form total isn’t being updated properly when an amount is updated. Can you provide a link to your donation form so we can see it live to confirm? If not, you can check with the debug bar plugin if there’s an issue.

    Plugin Author Matt Cromwell

    (@webdevmattcrom)

    HI @johnbunk just following up on this. We can help best if we can see the problem live. Can you provide a link to the form that is having that problem?

    Since Give came with your theme, I’d recommend reaching out to the theme author as well, but we’d love to help if we can see it.

    Thanks!

    Thread Starter johnbunk

    (@johnbunk)

    Hi. You can see the issue at:

    https://www.blockislandwebsites.com/bira/donations/make-a-donation-to-bira/

    • This reply was modified 6 years, 11 months ago by johnbunk.
    Thread Starter johnbunk

    (@johnbunk)

    As usually happens, the theme developer says to contact you after going through support with them. They say it is a plugin issue and not related to theme.

    Thread Starter johnbunk

    (@johnbunk)

    These are the console errors I am receiving.

    [Error] ReferenceError: Can’t find variable: WOW
    Global Code (make-a-donation-to-bira:1976)
    [Error] TypeError: undefined is not an object (evaluating ‘t.trim’)
    unFormatCurrency (give.all.min.js:8:1381)
    (anonymous function) (give.all.min.js:8:11270)
    dispatch (jquery.js:3:12450)
    handle (jquery.js:3:9179)
    trigger (jquery.js:3:11579)
    trigger (jquery-migrate.min.js:2:8280)
    simulate (jquery.js:3:15013)
    c (jquery.js:3:18152)
    [Error] TypeError: undefined is not an object (evaluating ‘t.trim’)
    unFormatCurrency (give.all.min.js:8:1381)
    getMinimumAmount (give.all.min.js:8:4441)
    (anonymous function) (give.all.min.js:8:12017)
    dispatch (jquery.js:3:12450)
    handle (jquery.js:3:9179)
    trigger (jquery.js:3:11579)
    trigger (jquery-migrate.min.js:2:8280)
    simulate (jquery.js:3:15013)
    c (jquery.js:3:18152)

    Thread Starter johnbunk

    (@johnbunk)

    I have cleared up the wow.js issue. What remains appear to be just the give plugin errors.

    Plugin Author Matt Cromwell

    (@webdevmattcrom)

    Hi @johnbunk — I just did a test donation and it went through perfectly fine. How can I replicate the problem that you’re seeing? No errors appear in the console at all at the moment and the donation goes through exactly right.

    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:1371

    unFormatCurrency /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

    Thread Starter johnbunk

    (@johnbunk)

    That is the exact same issue I am having and it is still not resolved. Theme developer says it is not them. I don’t know why this got marked as resolved, the issue persists. @tjestus, although I feel your pain with this, as it has now been a month for me with no resolution, it is good to hear someone is having the same issue.

    Are you on a multisite environment, as I am, by any chance?

    Thread Starter johnbunk

    (@johnbunk)

    As a follow-up, I’ve done everything I can think of to fix this. I’ve tried making Give plugin total network privileges…no dice. I’ve tried changing permissions of the plugin, just to test…nada.

    Just keep on getting that TypeError: t is undefined in give.all.min.js:8:1371 every time I try to update a total.

    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.

    Thread Starter johnbunk

    (@johnbunk)

    @tjestus I downloaded version 2.0.3 and installed it. Works fine. So yes, there is something going on with the newer versions. Hope they figure it out.

    Plugin Author Devin Walker

    (@dlocc)

    @johnbunk @tjestus – This appears to be a conflict with the theme’s JS. Have you been able to contact the theme author? It’s a premium theme which bundles our plugin so they should be prompt with supporting it. As I don’t have a copy of the theme it will be hard for me to diagnose the issue.

    Thread Starter johnbunk

    (@johnbunk)

    @dlocc please read above. It is happening with another theme as well. I downgraded Give to 2.0.3 and all works just fine. I contacted theme developer and they say it isn’t them. They’ve been on my site admin and no dice.

    Plugin Author Matt Cromwell

    (@webdevmattcrom)

    @tjestus and @johnbunk

    We’re not able to reproduce this locally with default WordPress themes or other combination of plugins or addons. So while you’re both experiencing this with multiple themes, it still looks to be a very specific conflict with either both of those themes or perhaps specific plugins that we currently haven’t tested against.

    I’d suggest using the Health Check plugin to troubleshoot that. It will allow you to deactivate all plugins and put your site on a default theme ONLY for yourself — your live visitors will not see that. We have a write-up on that here:
    https://givewp.com/documentation/resources/troubleshoot-wordpress-websites-health-check/

    Then you can enable plugins one at a time and test again until you see the problem again. Then let me know which plugin (or theme) caused the conflict and I can take a closer look at replicating the issue for you.

    Thanks!

Viewing 15 replies - 1 through 15 (of 21 total)
  • The topic ‘Donation Total in 2.0.6 bundled with theme not updating’ is closed to new replies.