I have some Account Update links in a plugin (MemberMouse)

I have some Account Update links in a plugin (MemberMouse) that are not working. They call the account update forms with a jquery call, and I’m seeing a jQuery error, but suspect it’s on the theme side, and not the plugin. The plugin allows me to disable jQuery in it’s UI (using the theme’s) and that doesn’t help. So I suspect the theme’s jQuery version doesn’t support the action requested of the plugin’s script. The conflict I get in the element inspector is below:

Uncaught TypeError: undefined is not a function jquery-ui-1.10.3.custom.min.js?ver=2.2.2:6

e.Widget._createWidget jquery-ui-1.10.3.custom.min.js?ver=2.2.2:6

e.(anonymous function).(anonymous function) jquery-ui-1.10.3.custom.min.js?ver=2.2.2:6

(anonymous function) jquery-ui-1.10.3.custom.min.js?ver=2.2.2:6

e.extend.each jquery-1.7.2.min.js?ver=1.7.2:2

e.fn.e.each jquery-1.7.2.min.js?ver=1.7.2:2

e.fn.(anonymous function) jquery-ui-1.10.3.custom.min.js?ver=2.2.2:6

MM_Core.extend.updateAccountDetails mm-myaccount.js?ver=2.2.2:20

(anonymous function) VM536:1

You can see this at http://www.hgpresearch.com/myaccount/

I guess, if the issue is outdated jQuery, is how can I update the theme’s jQuery??

  • Vaughan
    • Support/SLS MockingJay

    Hi Eyal,

    Hope you’re well?

    I can’t see that page as it asks for login. Could you grant support access via the dashboard plugin so we can take a look? See https://premium.wpmudev.org/manuals/wpmu-dev-dashboard-enabling-staff-login/

    If you wish to change the jquery version in the theme, it’s just a matter of replacing the jquery library. Then altering the jquery register in the theme depending how it’s implemented in the theme itself.

    Search for the following in the theme functions.php

    wp_register_script

    Then look for one that mentions jquery in it.

    Hope this helps

  • Eyal
    • WPMU DEV Initiate

    I can grant you support access (and have), but you’ll need an actual user login to see the issue (admin logins will show an error on the account page).

    Where can I send you account credentials to test with?

    (But if you can help confirm that the jQuery version is indeed the issue first, that would be extremely helpful!)

  • Vinod Dalvi
    • WP Unicorn

    Hi Eyal,

    Thank you for your reply.

    Could you please check whether it’s a conflict issue between the theme that you are using and the plugin (MemberMouse)?

    To check the conflict try using the default WordPress theme like Twenty Thirteen.

    If it’s not the theme conflict then this can also be due to other plugin conflict.

    You can just try on your development site using default WordPress theme like Twenty Thirteen and deactivating all other plugins as displayed in the flowchart on the following page to know which theme/plugin is conflicting if any.

    https://premium.wpmudev.org/manuals/getting-support/

    You can send log in info through our secured contact form: https://premium.wpmudev.org/contact/

    – Choose “I have a different question”

    – Include my name in the subject “Vinod Dalvi”

    – Include the URL of this post in your message so that I may track this issue better

    – Include login information (WordPress admin info username + password )

    Regards,

    Vinod Dalvi

Thank NAME, for their help.

Let NAME know exactly why they deserved these points.

Gift a custom amount of points.