Fatal error: Uncaught Error: Call to a member function getData() on null in /home/devshopimex/public_html/app/code/Amasty/Conf/Plugin/Product/View/Type/Configurable.php:392 Stack trace: #0 /home/devshopimex/public_html/app/code/Amasty/Conf/Plugin/Product/View/Type/Configurable.php(299): Amasty\Conf\Plugin\Product\View\Type\Configurable->getAttributesForProduct(Object(Magento\ConfigurableProduct\Model\ResourceModel\Product\Type\Configurable\Attribute\Collection), NULL) #1 /home/devshopimex/public_html/app/code/Amasty/Conf/Plugin/Catalog/Product/AbstractProduct.php(76): Amasty\Conf\Plugin\Product\View\Type\Configurable->getPreselectData('2', Object(Magento\ConfigurableProduct\Block\Product\View\Type\Configurable\Interceptor)) #2 /home/devshopimex/public_html/vendor/magento/framework/Interception/Interceptor.php(121): Amasty\Conf\Plugin\Catalog\Product\AbstractProduct->beforeGetImage(Object(Smartwave\Filterproducts\Block\Home\LatestList\Interceptor), Object(Magento\Catalog\Model\Product\Interceptor), 'category_page_g...', Ar in /home/devshopimex/public_html/app/code/Amasty/Conf/Plugin/Product/View/Type/Configurable.php on line 392