Fatal error: Uncaught Error: Call to a member function getQty() on boolean in /var/www/html/themobilitymarketplace/app/design/frontend/Int/Tmm/Magento_Catalog/templates/product/view/product_stock.phtml:10
Stack trace:
#0 /var/www/html/themobilitymarketplace/vendor/magento/framework/View/TemplateEngine/Php.php(59): include()
#1 /var/www/html/themobilitymarketplace/vendor/magento/framework/View/Element/Template.php(270): Magento\Framework\View\TemplateEngine\Php->render(Object(Int\Customattributes\Block\Product\View), '/var/www/html/t...', Array)
#2 /var/www/html/themobilitymarketplace/vendor/magento/framework/View/Element/Template.php(300): Magento\Framework\View\Element\Template->fetchView('/var/www/html/t...')
#3 /var/www/html/themobilitymarketplace/vendor/magento/framework/View/Element/AbstractBlock.php(667): Magento\Framework\View\Element\Template->_toHtml()
#4 /var/www/html/themobilitymarketplace/vendor/magento/framework/View/Layout.php(558): Magento\Framework\View\Element\AbstractBlock->toHtml()
#5 /var/www/html/them in /var/www/html/themobilitymarketplace/app/design/frontend/Int/Tmm/Magento_Catalog/templates/product/view/product_stock.phtml on line 10