Fatal error: Uncaught Error: Call to a member function getId() on null in /data/gbc.com/app/code/CP/Categorylist/Controller/Category/View.php:169 Stack trace: #0 /data/gbc.com/generated/code/CP/Categorylist/Controller/Category/View/Interceptor.php(24): CP\Categorylist\Controller\Category\View->execute() #1 /data/gbc.com/vendor/magento/framework/App/Action/Action.php(108): CP\Categorylist\Controller\Category\View\Interceptor->execute() #2 /data/gbc.com/vendor/magento/framework/Interception/Interceptor.php(58): Magento\Framework\App\Action\Action->dispatch(Object(Magento\Framework\App\Request\Http)) #3 /data/gbc.com/vendor/magento/framework/Interception/Interceptor.php(138): CP\Categorylist\Controller\Category\View\Interceptor->___callParent('dispatch', Array) #4 /data/gbc.com/app/code/Mgt/DeveloperToolbar/Model/App/FrontController/ToolbarPlugin.php(64): CP\Categorylist\Controller\Category\View\Interceptor->Magento\Framework\Interception\{closure}(Object(Magento\Framework\App\Request\Http)) #5 /data/gbc.com/vendor/magento/f in /data/gbc.com/app/code/CP/Categorylist/Controller/Category/View.php on line 169