Fatal error: Uncaught Error: Call to a member function count() on array in /var/www/lacasaitaliana.com/vendor/magento/module-catalog/Model/Product.php:1533 Stack trace: #0 /var/www/lacasaitaliana.com/app/design/frontend/Smartwave/lci/Magento_ConfigurableProduct/templates/product/view/type/options/configurable.phtml(44): Magento\Catalog\Model\Product->getMediaGalleryImages() #1 /var/www/lacasaitaliana.com/vendor/magento/framework/View/TemplateEngine/Php.php(59): include('/var/www/lacasa...') #2 /var/www/lacasaitaliana.com/vendor/magento/framework/Interception/Interceptor.php(58): Magento\Framework\View\TemplateEngine\Php->render(Object(Magento\Swatches\Block\Product\Renderer\Configurable\Interceptor), '/var/www/lacasa...', Array) #3 /var/www/lacasaitaliana.com/vendor/magento/framework/Interception/Interceptor.php(138): Magento\Framework\View\TemplateEngine\Php\Interceptor->___callParent('render', Array) #4 /var/www/lacasaitaliana.com/vendor/magento/framework/Interception/Interceptor.php(153): Magento\Framework\View\Templat in /var/www/lacasaitaliana.com/vendor/magento/module-catalog/Model/Product.php on line 1533