Fatal error: Uncaught Error: Call to a member function getValue() on boolean in /var/www/html/magento/vendor/magento/module-catalog/Pricing/Render/FinalPriceBox.php:101 Stack trace: #0 /var/www/html/magento/var/view_preprocessed/html/app/design/frontend/Smartwave/porto/Magento_Catalog/templates/product/price/final_price.phtml(1): Magento\Catalog\Pricing\Render\FinalPriceBox->hasSpecialPrice() #1 /var/www/html/magento/vendor/magento/framework/View/TemplateEngine/Php.php(59): include('/var/www/html/m...') #2 /var/www/html/magento/vendor/magento/framework/View/Element/Template.php(255): Magento\Framework\View\TemplateEngine\Php->render(Object(Magento\Catalog\Pricing\Render\FinalPriceBox), '/var/www/html/m...', Array) #3 /var/www/html/magento/vendor/magento/framework/View/Element/Template.php(279): Magento\Framework\View\Element\Template->fetchView('/var/www/html/m...') #4 /var/www/html/magento/vendor/magento/framework/Pricing/Render/PriceBox.php(65): Magento\Framework\View\Element\Template->_toHtml() #5 /var/www/html/magento in /var/www/html/magento/vendor/magento/module-catalog/Pricing/Render/FinalPriceBox.php on line 101