Fatal error: Uncaught Error: Call to a member function getId() on null in /home/mag23pa/public_html/app/code/TemplateMonster/Blog/Controller/Post/View.php:40 Stack trace: #0 /home/mag23pa/public_html/vendor/magento/framework/App/Action/Action.php(108): TemplateMonster\Blog\Controller\Post\View->execute() #1 /home/mag23pa/public_html/vendor/magento/framework/Interception/Interceptor.php(58): Magento\Framework\App\Action\Action->dispatch(Object(Magento\Framework\App\Request\Http)) #2 /home/mag23pa/public_html/vendor/magento/framework/Interception/Interceptor.php(138): TemplateMonster\Blog\Controller\Post\View\Interceptor->___callParent('dispatch', Array) #3 /home/mag23pa/public_html/vendor/magento/framework/Interception/Interceptor.php(153): TemplateMonster\Blog\Controller\Post\View\Interceptor->Magento\Framework\Interception\{closure}(Object(Magento\Framework\App\Request\Http)) #4 /home/mag23pa/public_html/generated/code/TemplateMonster/Blog/Controller/Post/View/Interceptor.php(26): TemplateMonster\Blog\Controller\Post\Vie in /home/mag23pa/public_html/app/code/TemplateMonster/Blog/Controller/Post/View.php on line 40