Fatal error: Uncaught Error: Call to a member function getId() on null in /home/luismipr/serrats.com/app/design/frontend/Overalia/serrats/Magento_Catalog/templates/product/view/addtocart.phtml:16 Stack trace: #0 /home/luismipr/serrats.com/vendor/magento/framework/View/TemplateEngine/Php.php(59): include() #1 /home/luismipr/serrats.com/vendor/magento/framework/View/Element/Template.php(271): Magento\Framework\View\TemplateEngine\Php->render(Object(Magento\Catalog\Block\Product\View\Interceptor), '/home/luismipr/...', Array) #2 /home/luismipr/serrats.com/generated/code/Magento/Catalog/Block/Product/View/Interceptor.php(544): Magento\Framework\View\Element\Template->fetchView('/home/luismipr/...') #3 /home/luismipr/serrats.com/vendor/magento/framework/View/Element/Template.php(301): Magento\Catalog\Block\Product\View\Interceptor->fetchView('/home/luismipr/...') #4 /home/luismipr/serrats.com/vendor/magento/framework/View/Element/AbstractBlock.php(668): Magento\Framework\View\Element\Template->_toHtml() #5 /home/luismipr/serra in /home/luismipr/serrats.com/app/design/frontend/Overalia/serrats/Magento_Catalog/templates/product/view/addtocart.phtml on line 16