Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Hey there,
Getting this error when I have more than one Views Slideshows using the FlexSlider plugin on the same page and sourced from the same view:
Uncaught TypeError: Cannot set property 'targetId' of undefined [in] flexslider_views_slideshow.js:24
It happens because the `settings` object is empty. If I remove one of the slideshows from the page, or if I move one of the slideshow blocks to another view, the problem goes away.
Comments
Comment #1
fluffy CreditAttribution: fluffy commentedSame problem but not with Flexslider and creating different views for each slideshow cleared the error. The problem seems to be general, see #1740936: Conflict when two slideshow-displays from the same view are placed in one page (Cannot set property 'targetId' of undefined).
Comment #2
sokrplare CreditAttribution: sokrplare commentedLooks like a duplicate of that root issue with Views Slideshow itself linked in the comment above, so closing out. Feel free to reopen if it isn't actually a duplicate!