This topic has 7 replies, 3 voices, and was last updated 3 years, 1 months ago ago by Olga Barlow
I just added several pictures to the product image gallery. The left/right arrows do not work and the description/review/etc. tabs down the page no longer work.
I see the following error in the browser console:
Uncaught TypeError: h[(“swiper-” + i)].update is not a function
swiperFunc https://airtitesmokers.com/wp-content/themes/xstore/js/etheme.min.js:1
jQuery 2
swiperFunc https://airtitesmokers.com/wp-content/themes/xstore/js/etheme.min.js:1
init https://airtitesmokers.com/wp-content/themes/xstore/js/etheme.min.js:1
jQuery 13
etheme.min.js:1:155971
swiperFunc https://airtitesmokers.com/wp-content/themes/xstore/js/etheme.min.js:1
jQuery 2
swiperFunc https://airtitesmokers.com/wp-content/themes/xstore/js/etheme.min.js:1
init https://airtitesmokers.com/wp-content/themes/xstore/js/etheme.min.js:1
jQuery 13
e
t
(Async: setTimeout handler)
l
c
fireWith
fire
c
fireWith
ready
B
(Async: EventListener.handleEvent)
Any ideas what might be going on here?
Hello,
Try to disable all the third-party plugins, that do not come bundled with XStore https://xstore.helpscoutdocs.com/article/36-included-plugins , clear cache, and check how it works then.
If this doesn’t help, provide temporary wp-admin access.
Regards
I disabled all nonessential plugins and cleared the cache. I can’t disable all plugins because this is a live site. The problem persists so I’ve added credentials to the private content area. Thanks.
Hello. Were you able to figure it out?
Hello,
As you can see, there is no such error on our demo.
Did you make changes in theme files?
To find out the reason for the problem we need to disable all 3rd party plugins and maybe doing other tests. If your site is live, create a staging site (full copy of the existing one), provide us with temporary wp-admin and FTP access.
Regards
I figured it out. The product short description somehow had an invisible Elementor section appended to it. That section contained a div with an id the same as the the swiper. Just redoing the short description fixed the problem.
Hello,
Glad to hear that you sorted it out.
Regards
The issue related to '‘Uncaught TypeError: h[("swiper-" + i)].update is not a function’' has been successfully resolved, and the topic is now closed for further responses