• Resolved Jason

    (@zushiba)


    Hi, we’re experiencing an issue with the 5.5 update of WordPress. It’s rendered our donation page inoperable.

    Clicking or updating the total no longer updates the total at the bottom of the page.

    There is a console error.

    give.js?ver=2.9.5:15 Uncaught TypeError: Cannot read property 'trim' of undefined
        at Object.unFormatCurrency (give.js?ver=2.9.5:15)
        at Object.autoSetMultiLevel (give.js?ver=2.9.5:15)
        at HTMLButtonElement.<anonymous> (give.js?ver=2.9.5:35)
        at HTMLDocument.dispatch (jquery.js?ver=1.12.4-wp:3)
        at HTMLDocument.r.handle (jquery.js?ver=1.12.4-wp:3)

    The page I need help with: [log in to see the link]

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Contributor Ben Meredith

    (@benmeredithgmailcom)

    Hi @zushiba,

    Glad you reached out here! Usually errors like that (especially in conjunction with an update to WordPress 5.5) point to a conflict with your site and the plan to update the version of jQuery that ships with WordPress. WordPress 5.5 was the beginning of that.

    For that release, the WordPress team created this plugin: https://www.ads-software.com/plugins/enable-jquery-migrate-helper/

    That adds back in the jQuery Migrate Helper which resolves most issues.

    To be clear: GiveWP itself (as well as all premium add-ons) are fully compatible with both WordPress 5.5 and 5.6, but many themes and other plugins still require jQuery Migrate to be installed.

    If adding that plugin resolves things, the next step will be to identify which other plugins or the theme need to be updated. Luckily, that’s the other function of that helper plugin.

    ??Let me know if that resolves things, or if you need further assistance. ?Thanks for using GiveWP! Have a great day.

    Thread Starter Jason

    (@zushiba)

    Hi Ben, I gave the jquery migrate helper plugin a go, and it solved some other issues we’ve had with updating the site to 5.5 but it did not solve this particular issue. The plugin is notifying me of several depreciations but not on the donations form page.

    The only error I’m getting is that one above. And it’s only for the total area, the actual box where you can type in your donation number actually updates fine when you press a button.

    Uncaught TypeError: can't access property "trim", t is undefined
        unFormatCurrency https://www.taftcollege.edu/foundation/wp-content/plugins/give/assets/dist/js/give.js?ver=2.9.5:15
        autoSetMultiLevel https://www.taftcollege.edu/foundation/wp-content/plugins/give/assets/dist/js/give.js?ver=2.9.5:15
        497 https://www.taftcollege.edu/foundation/wp-content/plugins/give/assets/dist/js/give.js?ver=2.9.5:35
        jQuery 2
            dispatch
            handle
    give.js:15:49799
    

    is the only error in the console and jquery migrate helper detects no issues on the page itself.

    • This reply was modified 4 years, 2 months ago by Jason.
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Total not updating on donation page’ is closed to new replies.