Page 1 of 1

Error after Smart Checkout module - Synchronous XMLHttpRequest on the main thread

Posted: Sun Oct 15, 2017 5:54 pm
by hrisi87
Hi all,

After I install Smart Checkout module on my opencart 1.5.6.4 version, I have this error message "VM6429 jquery-1.10.2.js:8672 [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/." In this version of jquery on line 8672 is "else { xhr.open( s.type, s.url, s.async ); }" I don't know how to fix it. Is anybody have an idea? Because of that error I can not completed product order.
I'm attached to images with the error and jquery code
http://prntscr.com/gxmisl
http://prntscr.com/gxmj4x

Thank you in advance

Re: Error after Smart Checkout module - Synchronous XMLHttpRequest on the main thread

Posted: Mon Oct 16, 2017 4:47 am
by yodapt
Show the url. That error is most likely due to async being set to false.

Re: Error after Smart Checkout module - Synchronous XMLHttpRequest on the main thread

Posted: Mon Oct 16, 2017 8:41 am
by hrisi87
yodapt wrote:
Mon Oct 16, 2017 4:47 am
Show the url. That error is most likely due to async being set to false.
At the moment is only in my local version. I'm using Xampp.

Re: Error after Smart Checkout module - Synchronous XMLHttpRequest on the main thread

Posted: Tue Oct 17, 2017 1:15 am
by yodapt
Somehere in a javascript block you will find this :

Code: Select all

async: false,
change it to true