Fatal error: Uncaught Error: Call to a member function getId() on null in /home/trapstac/public_html/vendor/magento/module-catalog/Block/Category/View.php:117 Stack trace: #0 /home/trapstac/public_html/vendor/magento/module-catalog/Block/Category/View.php(62): Magento\Catalog\Block\Category\View->getCurrentCategory() #1 /home/trapstac/public_html/vendor/magento/framework/View/Element/AbstractBlock.php(264): Magento\Catalog\Block\Category\View->_prepareLayout() #2 /home/trapstac/public_html/vendor/magento/framework/View/Layout/Generator/Block.php(139): Magento\Framework\View\Element\AbstractBlock->setLayout(Object(Magento\Framework\View\Layout\Interceptor)) #3 /home/trapstac/public_html/vendor/magento/framework/View/Layout/GeneratorPool.php(86): Magento\Framework\View\Layout\Generator\Block->process(Object(Magento\Framework\View\Layout\Reader\Context), Object(Magento\Framework\View\Layout\Generator\Context)) #4 /home/trapstac/public_html/vendor/magento/framework/View/Layout.php(327): Magento\Framework\View\Layout\Generator in /home/trapstac/public_html/vendor/magento/module-catalog/Block/Category/View.php on line 117