Fatal error: Uncaught Error: Call to a member function count() on array in /home/BathshopLive/public_html/vendor/magento/module-catalog/Model/Product.php:1542 Stack trace: #0 /home/BathshopLive/public_html/vendor/magento/module-configurable-product/Helper/Data.php(52): Magento\Catalog\Model\Product->getMediaGalleryImages() #1 /home/BathshopLive/public_html/vendor/magento/module-configurable-product/Block/Product/View/Type/Configurable.php(262): Magento\ConfigurableProduct\Helper\Data->getGalleryImages(Object(Magento\Catalog\Model\Product\Interceptor)) #2 /home/BathshopLive/public_html/app/code/WV/Banners/Plugin/Configurable.php(46): Magento\ConfigurableProduct\Block\Product\View\Type\Configurable->getOptionImages() #3 /home/BathshopLive/public_html/vendor/magento/framework/Interception/Interceptor.php(135): WV\Banners\Plugin\Configurable->aroundGetJsonConfig(Object(Magento\ConfigurableProduct\Block\Product\View\Type\Configurable\Interceptor), Object(Closure)) #4 /home/BathshopLive/public_html/vendor/magento/framework/Inte in /home/BathshopLive/public_html/vendor/magento/module-catalog/Model/Product.php on line 1542