JQuery errors - by thomasebeyer - on WordPress WooCommerce support

This topic has 8 replies, 4 voices, and was last updated 6 years, 5 months ago ago by Rose Tyler

  • Avatar: thomasebeyer
    thomasebeyer
    Participant
    November 4, 2017 at 03:37

    Hello,

    This is my second website with XStore. It’s great, but I can’t seem to solve a problem with jquery I’m having on marbleclinic.ca.

    You’ll notice the problem if you put a product in your cart, on the cart page; or on other blog pages spread through the site. Please help me solve this problem. I’ve copied the errors from browser dev panel:

    Uncaught ReferenceError: Backbone is not defined
    at wp-backbone.min.js:1
    at wp-backbone.min.js:1
    media-models.min.js:1 Uncaught ReferenceError: Backbone is not defined
    at Object.d.2 (media-models.min.js:1)
    at e (media-models.min.js:1)
    at media-models.min.js:1
    at Object.d.1../models/attachment.js (media-models.min.js:1)
    at e (media-models.min.js:1)
    at a (media-models.min.js:1)
    at media-models.min.js:1
    wp-plupload.min.js:1 Uncaught TypeError: wp.media.model.Attachments is not a constructor
    at wp-plupload.min.js:1
    at wp-plupload.min.js:1
    media-views.min.js:1 Uncaught ReferenceError: Backbone is not defined
    at Object.d.19../controllers/collection-add.js (media-views.min.js:1)
    at e (media-views.min.js:1)
    at a (media-views.min.js:1)
    at media-views.min.js:1
    media-audiovideo.min.js:1 Uncaught ReferenceError: Backbone is not defined
    at Object.d.4 (media-audiovideo.min.js:1)
    at e (media-audiovideo.min.js:1)
    at media-audiovideo.min.js:1
    at Object.d.1../controllers/audio-details.js (media-audiovideo.min.js:1)
    at e (media-audiovideo.min.js:1)
    at a (media-audiovideo.min.js:1)
    at media-audiovideo.min.js:1
    embed.js:6 [Deprecation] Synchronous XMLHttpRequest on the main thread is deprecated because of its detrimental effects to the end user’s experience. For more help, check https://xhr.spec.whatwg.org/.
    p.getText @ embed.js:6
    embed.js Failed to load resource: the server responded with a status of 404 ()
    p.getText @ embed.js:6
    notes-common-v2.js:32 Uncaught ReferenceError: Backbone is not defined
    at notes-common-v2.js:32
    at notes-common-v2.js:158
    admin-bar-v2.js:2 Uncaught ReferenceError: Backbone is not defined
    at admin-bar-v2.js:2
    woocommerce.min.js:1 Uncaught ReferenceError: Cookies is not defined
    at HTMLDocument.<anonymous> (woocommerce.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)
    mpc-scripts.min.js:3 Uncaught ReferenceError: skrollr is not defined
    at mpc-scripts.min.js:3
    mpc-scripts.min.js:3 Uncaught ReferenceError: skrollr is not defined
    at b (mpc-scripts.min.js:3)
    at dispatch (jquery.js:3)
    at r.handle (jquery.js:3)
    at Object.trigger (jquery.js:3)
    at Object.a.event.trigger (jquery-migrate.min.js:2)
    at jquery.js:3
    at Function.each (jquery.js:2)
    at a.fn.init.each (jquery.js:2)
    at a.fn.init.trigger (jquery.js:3)
    at mpc-scripts.min.js:3
    b @ mpc-scripts.min.js:3
    dispatch @ jquery.js:3
    r.handle @ jquery.js:3
    trigger @ jquery.js:3
    a.event.trigger @ jquery-migrate.min.js:2
    (anonymous) @ jquery.js:3
    each @ jquery.js:2
    each @ jquery.js:2
    trigger @ jquery.js:3
    (anonymous) @ mpc-scripts.min.js:3

    7 Answers
    Avatar: Olga Barlow
    Olga Barlow
    Support staff
    November 4, 2017 at 10:30

    Hello,

    I don’t see these errors but see the other. Could you, please, provide me temporary admin panel and FTP access to find out what could be the reason of these errors?

    Also, next time it would be better to provide the screenshot of the errors than simple text, it’s difficult to read that text and understand the text of the errors.

    Regards

    Avatar: thomasebeyer
    thomasebeyer
    Participant
    November 4, 2017 at 12:42

    Info in Private Content

    Please, contact administrator
    for this information.
    Avatar: laranz
    Laranz
    Participant
    November 6, 2017 at 06:34

    Hi,

    Can you pass us this login details, https://marbleclinic.ca/wp-login.php so that we can login and check what is going wrong.

    In the mean time, try disable all the plugin you installed other than the theme’s bundled plugin, and refresh the cache and see that fixes the issue?

    Let us know,

    Thanks,
    laranz.

    Avatar: thomasebeyer
    thomasebeyer
    Participant
    November 6, 2017 at 16:26
    Please, contact administrator
    for this information.
    Avatar: Olga Barlow
    Olga Barlow
    Support staff
    November 6, 2017 at 17:12

    Hello,

    Errors on the cart page caused by code that you added on the cart page http://prntscr.com/h6y3d0 and these errors appear even with default theme http://prntscr.com/h6y30q

    Once I remove the code any error appears. So, contact Mail Chimp plugin author to find out why you need this code on the cart page and do you really need that code there?

    Regards

    Avatar: thomasebeyer
    thomasebeyer
    Participant
    November 9, 2017 at 18:21

    Thank you for your help! That fixed the jquery error on cart page. I’m still seeing errors on additional pages. Screenshot here: https://prnt.sc/h8c33x

    Avatar: Rose Tyler
    Rose Tyler
    Support staff
    November 10, 2017 at 09:48

    Hello,

    You’re welcome!
    I’ve checked your site console and do not see errors that relate to our theme files http://prntscr.com/h8l383 Please clear cache and check.
    Is your problem solved?

    Regards

  • Viewing 8 results - 1 through 8 (of 8 total)

You must be logged in to reply to this topic.Log in/Sign up

We're using our own and third-party cookies to improve your experience and our website. Keep on browsing to accept our cookie policy.