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