• Resolved defthaus

    (@defthaus)


    Hi,

    I’ve had a problem with one of my sites since the latest Give update.

    The site works, but it is preventing some elements of the WP backend from working.

    The error in developer tools is this…

    Uncaught TypeError: jQuery(…).qtip is not a function
    at b (admin-scripts.min.js:2)
    at HTMLDocument.<anonymous> (admin-scripts.min.js:2)
    at i (load-scripts.php?c=1&load[]=jquery-core,jquery-migrate,utils,jquery-ui-core,jquery-ui-widget,jquery-ui-mouse,jquery-ui-draggable,jquery-ui-slider,jquery-tou&load[]=ch-punch,iris,wp-color-picker&ver=4.9.2:2)
    at Object.fireWith [as resolveWith] (load-scripts.php?c=1&load[]=jquery-core,jquery-migrate,utils,jquery-ui-core,jquery-ui-widget,jquery-ui-mouse,jquery-ui-draggable,jquery-ui-slider,jquery-tou&load[]=ch-punch,iris,wp-color-picker&ver=4.9.2:2)
    at Function.ready (load-scripts.php?c=1&load[]=jquery-core,jquery-migrate,utils,jquery-ui-core,jquery-ui-widget,jquery-ui-mouse,jquery-ui-draggable,jquery-ui-slider,jquery-tou&load[]=ch-punch,iris,wp-color-picker&ver=4.9.2:2)
    at HTMLDocument.K (load-scripts.php?c=1&load[]=jquery-core,jquery-migrate,utils,jquery-ui-core,jquery-ui-widget,jquery-ui-mouse,jquery-ui-draggable,jquery-ui-slider,jquery-tou&load[]=ch-punch,iris,wp-color-picker&ver=4.9.2:2)
    b @ admin-scripts.min.js:2
    (anonymous) @ admin-scripts.min.js:2
    i @ load-scripts.php?c=1&load[]=jquery-core,jquery-migrate,utils,jquery-ui-core,jquery-ui-widget,jquery-ui-mouse,jquery-ui-draggable,jquery-ui-slider,jquery-tou&load[]=ch-punch,iris,wp-color-picker&ver=4.9.2:2
    fireWith @ load-scripts.php?c=1&load[]=jquery-core,jquery-migrate,utils,jquery-ui-core,jquery-ui-widget,jquery-ui-mouse,jquery-ui-draggable,jquery-ui-slider,jquery-tou&load[]=ch-punch,iris,wp-color-picker&ver=4.9.2:2
    ready @ load-scripts.php?c=1&load[]=jquery-core,jquery-migrate,utils,jquery-ui-core,jquery-ui-widget,jquery-ui-mouse,jquery-ui-draggable,jquery-ui-slider,jquery-tou&load[]=ch-punch,iris,wp-color-picker&ver=4.9.2:2
    K @ load-scripts.php?c=1&load[]=jquery-core,jquery-migrate,utils,jquery-ui-core,jquery-ui-widget,jquery-ui-mouse,jquery-ui-draggable,jquery-ui-slider,jquery-tou&load[]=ch-punch,iris,wp-color-picker&ver=4.9.2:2

    My site is running on WP 4.9.2 and using theme ‘Pro version 1.1.1’ – I have tried updating the theme to latest version but still encounter this problem.

    When I go into ‘pages’ and choose to edit a page, I can no longer see the ‘Visual, Text, Pro’ tabs – pro is missing. The Yoast snippet for the page also doesn’t work, and beneath ‘page settings’ it is also showing ‘portfolio settings’ despite me not using any portfolio functions.

    If I deactivate Give then everything works ok.

    Can you suggest a possible solution please?

    Thanks,
    Simon

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

    (@dlocc)

    Hey @defthaus – are you running the latest versions of any Give add-ons as well? We removed the “qtip” library from Give core 2.0+ and this error may be due to an older version of an add-on still referencing it.

    Thread Starter defthaus

    (@defthaus)

    Hi Devin, thanks for getting back to me. No, I’m not running any add-ons at all.

    I have an almost identical site which has the previous version of Give installed and that all works fine. I copied across the Give plugin files into the affected site so it too was running the previous version but I’m still getting the JS errors.

    Any ideas how I may rectify the problem? Thanks.

    • This reply was modified 7 years, 1 month ago by defthaus.

    Hi,

    I’ve just updated and having the same issue. I noticed you said you’ve removed “qtip” library from core 2.0+, but I’ve just downloaded 2.0.1 zip from WP and there is still reference to qtip in /give/assets/js/admin/admin-scripts.js line 2680.

    I am only running Give without any addons.

    Plugin Author Devin Walker

    (@dlocc)

    @defthaus – I’m thinking there may some sort of caching going on there that it causing the issue. I’m unable to reproduce it and it would be great to take a closer look if possible. Can you reach out to us via our contact form: https://givewp.com/contact-us/ and select “I’m responding to a request to contact us”.

    Hey @georgexx – The reference is in an unused function. I’ve removed it entirely in 2.0.2 – if you remove that function does it fix the issue for you?

    Thread Starter defthaus

    (@defthaus)

    Thanks @dlocc

    I have sent you an email as requested but not sure if it sent, this appeared…

    The email parameter should include an email, euid, or leid key

    If you haven’t received it please let me know and I’ll try again.

    (edit – think it has gone now, the error before may have had something to do with me signing up to your newsletter with a co.uk email suffix?)

    Thanks.

    • This reply was modified 7 years, 1 month ago by defthaus.

    Hi @dlocc – I removed the function “give_add_qtip()” and the back-end is loading fine without error.

    Plugin Author Devin Walker

    (@dlocc)

    Thanks for the follow up @georgexx – I have confirmed that function is removed and will be released in 2.0.2 so you should be good to go.

    @defthaus – I responded to your email.

    Thread Starter defthaus

    (@defthaus)

    Thanks @dlocc

    My mistake, have replied to your email with a new login.

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘Latest Give update creating jQuery error which breaks WP backend’ is closed to new replies.