Swiper: Uncaught TypeError: Cannot read property 'addClass' of undefined

Created on 28 Jan 2021  Â·  7Comments  Â·  Source: nolimits4web/swiper

  • Swiper Version: 6.4.9
  • Platform/Target and Browser Versions: macOS, CHROME, SAFARI, etc. (doesn't matter)

What You Did

I used the version via https://unpkg.com/swiper/swiper-bundle.min.js – it stopped working with todays update.

Demo

https://swiperjs6.4.9-bug.jelley.fish/

Expected Behavior

Should be working like before.

Actual Behavior

Cannot read property 'addClass' of undefined.
swiperjs-6 4 9-bug-console

Most helpful comment

@nilskoppelmann temporary fix: <script src="https://unpkg.com/[email protected]/swiper-bundle.min.js"></script>

All 7 comments

I'm having the same issue.

@nilskoppelmann temporary fix: <script src="https://unpkg.com/[email protected]/swiper-bundle.min.js"></script>

@j3ll3yfi5h in your example you try to init none existent slider, you shouldn't do it

@nolimits4web "closed" means it is my problem? or are you going to fix it?

It was working without any problems until 2-3 hours ago or more, but I solved by removing { init: true } part.

Same issue today

Same issue for me too

Was this page helpful?
0 / 5 - 0 ratings

Related issues

Danetag picture Danetag  Â·  3Comments

RyanGosden picture RyanGosden  Â·  3Comments

callumacrae picture callumacrae  Â·  3Comments

syedongit picture syedongit  Â·  3Comments

magic-77 picture magic-77  Â·  3Comments