Fatal error: Uncaught Error: Call to a member function count() on array in /app/vendor/magento/module-catalog/Model/Product.php:1532 Stack trace: #0 /app/vendor/magento/module-configurable-product/Helper/Data.php(52): Magento\Catalog\Model\Product->getMediaGalleryImages() #1 /app/vendor/magento/module-configurable-product/Block/Product/View/Type/Configurable.php(262): Magento\ConfigurableProduct\Helper\Data->getGalleryImages(Object(Magento\Catalog\Model\Product\Interceptor)) #2 /app/vendor/magento/module-configurable-product/Block/Product/View/Type/Configurable.php(239): Magento\ConfigurableProduct\Block\Product\View\Type\Configurable->getOptionImages() #3 /app/vendor/magento/framework/Interception/Interceptor.php(58): Magento\ConfigurableProduct\Block\Product\View\Type\Configurable->getJsonConfig() #4 /app/vendor/magento/framework/Interception/Interceptor.php(138): Firebear\ConfigurableProducts\Block\Product\Renderer\Configurable\Interceptor->___callParent('getJsonConfig', Array) #5 /app/vendor/magento/framework/Intercep in /app/vendor/magento/module-catalog/Model/Product.php on line 1532