Fatal error: Uncaught Error: Call to a member function getId() on null in /home/customer/www/csaudiovideo.com/public_html/app/code/CS/inputagg/Block/CurrentCategory.php:35 Stack trace: #0 /home/customer/www/csaudiovideo.com/public_html/app/code/CS/inputagg/view/frontend/templates/variabili.php(132): CS\inputagg\Block\CurrentCategory->getCurrentCategoryID() #1 /home/customer/www/csaudiovideo.com/public_html/app/code/CS/inputagg/view/frontend/templates/header1.phtml(1): include('/home/customer/...') #2 /home/customer/www/csaudiovideo.com/public_html/vendor/magento/framework/View/TemplateEngine/Php.php(59): include('/home/customer/...') #3 /home/customer/www/csaudiovideo.com/public_html/vendor/magento/framework/Interception/Interceptor.php(58): Magento\Framework\View\TemplateEngine\Php->render(Object(Magento\Framework\View\Element\Template), '/home/customer/...', Array) #4 /home/customer/www/csaudiovideo.com/public_html/vendor/magento/framework/Interception/Interceptor.php(138): Magento\Framework\View\TemplateEngine\Php\Inte in /home/customer/www/csaudiovideo.com/public_html/app/code/CS/inputagg/Block/CurrentCategory.php on line 35