Continuous jQuerry errors with woocommerce integration

If you are integrating with WordPress or WooCommerce, start here.
sai647
Posts: 2
Joined: Mon Feb 22, 2021 2:28 pm
Contact:

Continuous jQuerry errors with woocommerce integration

Postby sai647 » Mon Feb 22, 2021 3:00 pm

The embedded viewer loads the 360 product view without problems, but it keeps throwing an error as long as the website is open.
The latest Wordpress version is installed v3.2.0
The error in question:

Code: Select all

jquery.min.js?ver=3.5.1.1611574746:2 Uncaught Error: Syntax error, unrecognized expression: #wr360placer_wr360_2719_playeridMon Feb 22 2021 23:54:41 GMT+0100 (Central European Standard Time)
    at Function.se.error (jquery.min.js?ver=3.5.1.1611574746:2)
    at se.tokenize (jquery.min.js?ver=3.5.1.1611574746:2)
    at se.select (jquery.min.js?ver=3.5.1.1611574746:2)
    at Function.se (jquery.min.js?ver=3.5.1.1611574746:2)
    at Function.s.find (jquery-migrate.min.js?ver=3.3.2.1611574746:2)
    at S.fn.init.find (jquery.min.js?ver=3.5.1.1611574746:2)
    at s.fn.init.S.fn.init (jquery.min.js?ver=3.5.1.1611574746:2)
    at new s.fn.init (jquery-migrate.min.js?ver=3.3.2.1611574746:2)
    at S (jquery.min.js?ver=3.5.1.1611574746:2)
    at WR360.ImageRotator.oT (eval at <anonymous> (imagerotator.js?ver=3.2.0.1611574746:4), <anonymous>:1:84333)


Here is the site in question: https://bosniabayti.com/product/audi-a6/

If you need any further information I'll be sure to provide it and thanks in advance for any replies.

WebSupport
Posts: 1120
Joined: Thu Aug 23, 2012 11:35 am
Location: Pasadena, CA
Contact:

Re: Continuous jQuerry errors with woocommerce integration

Postby WebSupport » Mon Feb 22, 2021 4:44 pm

Hi, this one was fun to troubleshoot!

So the issue is caused by a rogue plugin so to speak :) as it breaks native JavaScript functionality and specifically it overrides the native javascript Date.now() function that returns a numeric time-stamp and makes it return a full date string (e.g Mon Feb 22 2021 23:54:41 GMT+0100 (Central European Standard Time) )

2021-02-22_16-36-49.png


This will be breaking other plugins and native WP & WooCommerce functionality going forward I expect, so I suggest to consider updating or removing the booking plugin. Note that the date.js file the plugin includes that does this is from 2006-2007...

sai647
Posts: 2
Joined: Mon Feb 22, 2021 2:28 pm
Contact:

Re: Continuous jQuerry errors with woocommerce integration

Postby sai647 » Wed Feb 24, 2021 3:24 pm

Thank you a lot for the quick and precise response! :)


Return to “WordPress and WooCommerce Integration”

cron