• Hi,
    I upgraded to 2.0.9 and some parts of my site turned blank. At source code these blocks exist, but in front they are not visible.

    In console, i see there is an error with a function:
    Uncaught TypeError: jQuery(…).select2 is not a function
    at HTMLDocument.<anonymous> (um-scripts.min.js:1)
    at i (jquery.js:2)
    at Object.fireWith [as resolveWith] (jquery.js:2)
    at Function.ready (jquery.js:2)
    at HTMLDocument.K (jquery.js:2)

    Any suggestions please;
    Are the developers going to fix the problems since version 2, or we have to search for alternatives?

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Support calumallison

    (@calumallison)

    Hi,

    Sorry for the issue. Can you please contact us via our site: https://ultimatemember.com/contact/sales/ so we can add this to our helpdesk system and help you with this issue.

    Thanks

    Thread Starter manoskav

    (@manoskav)

    I fixed a bug.

    All my problems solved by deleting these pieces of code from /wp-content/plugins/ultimate-member/assets/js/um-scripts.min.js

    e.select2(“destroy”),
    e.select2({data:r,allowClear:!0,minimumResultsForSearch:10}),
    jQuery(“.um-s1”).select2({allowClear:!0}),
    jQuery(“.um-s2”).select2({allowClear:!1,minimumResultsForSearch:10}),

    jet0o

    (@jet0o)

    Hello,
    I have the same error message :
    fr_FR.js?ver=2.0.13:1 Uncaught TypeError: Cannot read property ‘defaults’ of undefined
    at fr_FR.js?ver=2.0.13:1
    um-scripts.min.js?ver=4.9.6:1 Uncaught TypeError: jQuery(…).tipsy is not a function
    at HTMLDocument.<anonymous> (um-scripts.min.js?ver=4.9.6:1)
    at i (jquery.js?ver=1.12.4:2)
    at Object.fireWith [as resolveWith] (jquery.js?ver=1.12.4:2)
    at Function.ready (jquery.js?ver=1.12.4:2)
    at HTMLDocument.K (jquery.js?ver=1.12.4:2)
    (anonymous) @ um-scripts.min.js?ver=4.9.6:1
    i @ jquery.js?ver=1.12.4:2
    fireWith @ jquery.js?ver=1.12.4:2
    ready @ jquery.js?ver=1.12.4:2
    K @ jquery.js?ver=1.12.4:2

    I Don’t know why,
    could you please help ?

    I did try to delete the pieces of code but still not working.

    Thread Starter manoskav

    (@manoskav)

    Hi,

    You have to delete other piece of code, not the same as i did. Can you send me a link of your site?

Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘Function causing error’ is closed to new replies.