Swiper errors? #468
-
I know that the Slider Image Gallery is a premium Component and perhaps this question should be asked somewhere else, but this component use to work and now I am unable to click through the thumbs and the next/prev arrows no longer work. When I inspect element, I am now seeing the error below in the console. So, I was wondering if there are new updates to this component that I might not have and or is something else going on here, such as needing to upgrade to a newer version of Swiper? I see that it still works on the FlyntWP Demo site. Uncaught TypeError: Cannot set properties of undefined (setting 'control') Any ideas? Thanks, |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
Hi @munts, I setup a blank WordPress instance (PHP 7.4, Node 12, Flynt 1.4.1, Premium Components 1.1.1) and tried to reproduce the issue – without success. Further I updated Swiper to 7 and 8 (latest) via the package.json (changed nothing else) and everything worked as aspected, so that the issue seems to be not related to a untouched, clean Flynt + Premium Components installation. Did you tried to remove |
Beta Was this translation helpful? Give feedback.
Hi @munts, I setup a blank WordPress instance (PHP 7.4, Node 12, Flynt 1.4.1, Premium Components 1.1.1) and tried to reproduce the issue – without success. Further I updated Swiper to 7 and 8 (latest) via the package.json (changed nothing else) and everything worked as aspected, so that the issue seems to be not related to a untouched, clean Flynt + Premium Components installation.
Did you tried to remove
node_modules
folder and install the dependencies again (notice that node 12 should be used)? Or did you try to use a new blank flynt installation?