Hello,
I have just checked your website.
After selecting the year dropdown select the javascript error appears:
Cannot read property ‘_super’ of undefined
For WordPress version 5.9 and greater you should replace the line:
selected.vehicles.sort(this.sortCaseIns);
with:
selected.vehicles.sort($.proxy(this.sortCaseIns, this));
in the file:
wp-content/plugins/ymm-search/view/frontend/web/main.js
Then refresh your browser cache.
Stanislav
Thread Starter
fwuk
(@fwuk)
Thank you for very quick response. But
line#116 is already same as your suggested replacement.
line#116 selected.vehicles.sort($.proxy(this.sortCaseIns, this));
The website is hosted at GoDaddy.I wonder if that has something to do with my problem.
Thank you.
-
This reply was modified 1 year, 5 months ago by
fwuk.
Hello,
I see it works now.
Try to refresh your browser cache.
Stanislav
Thread Starter
fwuk
(@fwuk)
Yes it does. Super.You’re a star!!