Hi Team Meta Box,
with the latest Update to MB Elementor integrator v2.1.5 the following scenario breaks:
- MB gallery field with only one image associated
- Elementor Carousel Widget / Elementor gallery widget with dynamic MB gallery field associated
- Gives following error code and renders no img URL
- With multiple images uploaded to the field, Elementor gallery/carousel is working
- If i associate the mb gallery field with one image to an Elementor single image, it works for the single image… 😉
- Downgrade to MB Elementor integrator v 2.1.4, does make the Elementor gallery/carousel work again as expected, even with only one image associated. BUT the Elementor single image widget renders then no image anymore, which, I guess, is ok because a gallery field with an array cannot be rendered with a single image…
Warning: Illegal string offset 'id' in /wp-content/plugins/elementor/includes/widgets/image-carousel.php on line 846
Warning: Illegal string offset 'id' in /wp-content/plugins/elementor/includes/widgets/image-carousel.php on line 975
Warning: Illegal string offset 'id' in /wp-content/plugins/elementor/includes/widgets/image-carousel.php on line 865
Warning: Illegal string offset 'id' in /wp-content/plugins/elementor/includes/widgets/image-carousel.php on line 846
Warning: Illegal string offset 'id' in /wp-content/plugins/elementor/includes/widgets/image-carousel.php on line 975
Warning: Illegal string offset 'id' in /wp-content/plugins/elementor/includes/widgets/image-carousel.php on line 865
I guess it is related to the latest changelog:
Changelog
2.1.5 – 2022-12-05
Fix showing single image
Thanks in advance
Marius