Fatal error: Uncaught Error: Call to a member function getData() on boolean in /Data/hsbookstore_prod/vendor/magento/module-catalog/Helper/Image.php:502 Stack trace: #0 /Data/hsbookstore_prod/vendor/magento/module-catalog/Helper/Image.php(472): Magento\Catalog\Helper\Image->initBaseFile() #1 /Data/hsbookstore_prod/vendor/magento/module-catalog/Helper/Image.php(530): Magento\Catalog\Helper\Image->applyScheduledActions() #2 /Data/hsbookstore_prod/app/code/HSBookStore/SkuEdition/Block/Product.php(42): Magento\Catalog\Helper\Image->getUrl() #3 /Data/hsbookstore_prod/app/code/HSBookStore/SkuEdition/view/frontend/templates/product/view/product.phtml(29): HSBookStore\SkuEdition\Block\Product->getProductImageUrl(false, 'product_page_im...', 100, 100) #4 /Data/hsbookstore_prod/vendor/magento/framework/View/TemplateEngine/Php.php(59): include('/Data/hsbooksto...') #5 /Data/hsbookstore_prod/vendor/magento/framework/Interception/Interceptor.php(58): Magento\Framework\View\TemplateEngine\Php->render(Object(HSBookStore\SkuEdition\Block in /Data/hsbookstore_prod/vendor/magento/module-catalog/Helper/Image.php on line 502