Fatal error: Uncaught Error: Call to a member function getCategoryIds() on null in /var/www/vhosts/newbeta.voltasac.com/httpdocs/app/design/frontend/facon/facon1/Magento_Catalog/templates/product/view/viewcompare.phtml:18 Stack trace: #0 /var/www/vhosts/newbeta.voltasac.com/httpdocs/vendor/magento/framework/View/TemplateEngine/Php.php(59): include() #1 /var/www/vhosts/newbeta.voltasac.com/httpdocs/vendor/magento/framework/View/Element/Template.php(255): Magento\Framework\View\TemplateEngine\Php->render(Object(Magento\Catalog\Block\Product\View\Description), '/var/www/vhosts...', Array) #2 /var/www/vhosts/newbeta.voltasac.com/httpdocs/vendor/magento/framework/View/Element/Template.php(279): Magento\Framework\View\Element\Template->fetchView('/var/www/vhosts...') #3 /var/www/vhosts/newbeta.voltasac.com/httpdocs/vendor/magento/framework/View/Element/AbstractBlock.php(659): Magento\Framework\View\Element\Template->_toHtml() #4 /var/www/vhosts/newbeta.voltasac.com/httpdocs/vendor/magento/framework/View/Layout.php(542): Magento in /var/www/vhosts/newbeta.voltasac.com/httpdocs/app/design/frontend/facon/facon1/Magento_Catalog/templates/product/view/viewcompare.phtml on line 18