Fatal error: Uncaught Error: Call to a member function getId() on null in /var/www/clients/client1/web1/web/app/code/TemplateMonster/Blog/Controller/Post/View.php:40 Stack trace: #0 /var/www/clients/client1/web1/web/generated/code/TemplateMonster/Blog/Controller/Post/View/Interceptor.php(24): TemplateMonster\Blog\Controller\Post\View->execute() #1 /var/www/clients/client1/web1/web/vendor/magento/framework/App/Action/Action.php(108): TemplateMonster\Blog\Controller\Post\View\Interceptor->execute() #2 /var/www/clients/client1/web1/web/vendor/magento/framework/Interception/Interceptor.php(58): Magento\Framework\App\Action\Action->dispatch(Object(Magento\Framework\App\Request\Http)) #3 /var/www/clients/client1/web1/web/vendor/magento/framework/Interception/Interceptor.php(138): TemplateMonster\Blog\Controller\Post\View\Interceptor->___callParent('dispatch', Array) #4 /var/www/clients/client1/web1/web/vendor/magento/framework/Interception/Interceptor.php(153): TemplateMonster\Blog\Controller\Post\View\Interceptor->Magento\Fram in /var/www/clients/client1/web1/web/app/code/TemplateMonster/Blog/Controller/Post/View.php on line 40