Error: Call to a member function getId() on null in /home/kaffedev/public_html/app/code/Webexpressen/CartPopup/view/frontend/templates/js/config.phtml:25 Stack trace: #0 /home/kaffedev/public_html/vendor/magento/framework/View/TemplateEngine/Php.php(71): include() #1 /home/kaffedev/public_html/vendor/magento/framework/Interception/Interceptor.php(58): Magento\Framework\View\TemplateEngine\Php->render(Object(Webexpressen\CartPopup\Block\Checkout\Config\Interceptor), '/home/kaffedev/...', Array) #2 /home/kaffedev/public_html/vendor/magento/framework/Interception/Interceptor.php(138): Magento\Framework\View\TemplateEngine\Php\Interceptor->___callParent('render', Array) #3 /home/kaffedev/public_html/vendor/magento/framework/Interception/Interceptor.php(153): Magento\Framework\View\TemplateEngine\Php\Interceptor->Magento\Framework\Interception\{closure}(Object(Webexpressen\CartPopup\Block\Checkout\Config\Interceptor), '/home/kaffedev/...', Array) #4 /home/kaffedev/public_html/generated/code/Magento/Framework/View/TemplateEngine/Php/Interceptor.php(23): Magento\Framework\View\TemplateEngine\Php\Interceptor->___callPlugins('render', Array, Array) #5 /home/kaffedev/public_html/vendor/magento/framework/View/Element/Template.php(273): Magento\Framework\View\TemplateEngine\Php\Interceptor->render(Object(Webexpressen\CartPopup\Block\Checkout\Config\Interceptor), '/home/kaffedev/...', Array) #6 /home/kaffedev/public_html/vendor/magento/framework/Interception/Interceptor.php(58): Magento\Framework\View\Element\Template->fetchView('/home/kaffedev/...') #7 /home/kaffedev/public_html/vendor/magento/framework/Interception/Interceptor.php(138): Webexpressen\CartPopup\Block\Checkout\Config\Interceptor->___callParent('fetchView', Array) #8 /home/kaffedev/public_html/app/code/Webkul/MagentoAmp/Plugin/Framework/View/Element/Template.php(36): Webexpressen\CartPopup\Block\Checkout\Config\Interceptor->Magento\Framework\Interception\{closure}('/home/kaffedev/...') #9 /home/kaffedev/public_html/vendor/magento/framework/Interception/Interceptor.php(135): Webkul\MagentoAmp\Plugin\Framework\View\Element\Template->aroundFetchView(Object(Webexpressen\CartPopup\Block\Checkout\Config\Interceptor), Object(Closure), '/home/kaffedev/...') #10 /home/kaffedev/public_html/vendor/magento/framework/Interception/Interceptor.php(153): Webexpressen\CartPopup\Block\Checkout\Config\Interceptor->Magento\Framework\Interception\{closure}('/home/kaffedev/...') #11 /home/kaffedev/public_html/generated/code/Webexpressen/CartPopup/Block/Checkout/Config/Interceptor.php(23): Webexpressen\CartPopup\Block\Checkout\Config\Interceptor->___callPlugins('fetchView', Array, NULL) #12 /home/kaffedev/public_html/vendor/magento/framework/View/Element/Template.php(303): Webexpressen\CartPopup\Block\Checkout\Config\Interceptor->fetchView('/home/kaffedev/...') #13 /home/kaffedev/public_html/vendor/magento/framework/View/Element/AbstractBlock.php(1111): Magento\Framework\View\Element\Template->_toHtml() #14 /home/kaffedev/public_html/vendor/magento/framework/View/Element/AbstractBlock.php(1115): Magento\Framework\View\Element\AbstractBlock->Magento\Framework\View\Element\{closure}() #15 /home/kaffedev/public_html/vendor/magento/framework/View/Element/AbstractBlock.php(675): Magento\Framework\View\Element\AbstractBlock->_loadCache() #16 /home/kaffedev/public_html/vendor/magento/framework/View/Layout.php(578): Magento\Framework\View\Element\AbstractBlock->toHtml() #17 /home/kaffedev/public_html/vendor/magento/framework/View/Layout.php(555): Magento\Framework\View\Layout->_renderBlock('addtocartsucces...') #18 /home/kaffedev/public_html/vendor/magento/framework/View/Layout.php(510): Magento\Framework\View\Layout->renderNonCachedElement('addtocartsucces...') #19 /home/kaffedev/public_html/vendor/magento/framework/View/Layout.php(606): Magento\Framework\View\Layout->renderElement('addtocartsucces...', false) #20 /home/kaffedev/public_html/vendor/magento/framework/View/Layout.php(557): Magento\Framework\View\Layout->_renderContainer('after.body.star...', false) #21 /home/kaffedev/public_html/vendor/magento/framework/View/Layout.php(510): Magento\Framework\View\Layout->renderNonCachedElement('after.body.star...') #22 /home/kaffedev/public_html/vendor/magento/framework/View/Layout.php(606): Magento\Framework\View\Layout->renderElement('after.body.star...', false) #23 /home/kaffedev/public_html/vendor/magento/framework/View/Layout.php(557): Magento\Framework\View\Layout->_renderContainer('root', false) #24 /home/kaffedev/public_html/vendor/magento/framework/View/Layout.php(510): Magento\Framework\View\Layout->renderNonCachedElement('root') #25 /home/kaffedev/public_html/vendor/magento/framework/View/Layout.php(975): Magento\Framework\View\Layout->renderElement('root') #26 /home/kaffedev/public_html/vendor/magento/framework/Interception/Interceptor.php(58): Magento\Framework\View\Layout->getOutput() #27 /home/kaffedev/public_html/vendor/magento/framework/Interception/Interceptor.php(138): Magento\Framework\View\Layout\Interceptor->___callParent('getOutput', Array) #28 /home/kaffedev/public_html/vendor/magento/framework/Interception/Interceptor.php(153): Magento\Framework\View\Layout\Interceptor->Magento\Framework\Interception\{closure}() #29 /home/kaffedev/public_html/generated/code/Magento/Framework/View/Layout/Interceptor.php(41): Magento\Framework\View\Layout\Interceptor->___callPlugins('getOutput', Array, Array) #30 /home/kaffedev/public_html/vendor/magento/framework/View/Result/Page.php(258): Magento\Framework\View\Layout\Interceptor->getOutput() #31 /home/kaffedev/public_html/vendor/magento/framework/View/Result/Layout.php(171): Magento\Framework\View\Result\Page->render(Object(Magento\Framework\App\Response\Http\Interceptor)) #32 /home/kaffedev/public_html/vendor/magento/framework/Interception/Interceptor.php(58): Magento\Framework\View\Result\Layout->renderResult(Object(Magento\Framework\App\Response\Http\Interceptor)) #33 /home/kaffedev/public_html/vendor/magento/framework/Interception/Interceptor.php(138): Magento\Framework\View\Result\Page\Interceptor->___callParent('renderResult', Array) #34 /home/kaffedev/public_html/vendor/magento/framework/Interception/Interceptor.php(153): Magento\Framework\View\Result\Page\Interceptor->Magento\Framework\Interception\{closure}(Object(Magento\Framework\App\Response\Http\Interceptor)) #35 /home/kaffedev/public_html/generated/code/Magento/Framework/View/Result/Page/Interceptor.php(23): Magento\Framework\View\Result\Page\Interceptor->___callPlugins('renderResult', Array, Array) #36 /home/kaffedev/public_html/vendor/magento/framework/App/View.php(221): Magento\Framework\View\Result\Page\Interceptor->renderResult(Object(Magento\Framework\App\Response\Http\Interceptor)) #37 /home/kaffedev/public_html/app/code/Mageplaza/AjaxLayer/Controller/Search/Result/Index.php(149): Magento\Framework\App\View->renderLayout() #38 /home/kaffedev/public_html/vendor/magento/framework/Interception/Interceptor.php(58): Mageplaza\AjaxLayer\Controller\Search\Result\Index->execute() #39 /home/kaffedev/public_html/vendor/magento/framework/Interception/Interceptor.php(138): Mageplaza\AjaxLayer\Controller\Search\Result\Index\Interceptor->___callParent('execute', Array) #40 /home/kaffedev/public_html/vendor/magento/framework/App/Action/Plugin/ActionFlagNoDispatchPlugin.php(51): Mageplaza\AjaxLayer\Controller\Search\Result\Index\Interceptor->Magento\Framework\Interception\{closure}() #41 /home/kaffedev/public_html/vendor/magento/framework/Interception/Interceptor.php(135): Magento\Framework\App\Action\Plugin\ActionFlagNoDispatchPlugin->aroundExecute(Object(Mageplaza\AjaxLayer\Controller\Search\Result\Index\Interceptor), Object(Closure)) #42 /home/kaffedev/public_html/vendor/magento/framework/Interception/Interceptor.php(153): Mageplaza\AjaxLayer\Controller\Search\Result\Index\Interceptor->Magento\Framework\Interception\{closure}() #43 /home/kaffedev/public_html/generated/code/Mageplaza/AjaxLayer/Controller/Search/Result/Index/Interceptor.php(23): Mageplaza\AjaxLayer\Controller\Search\Result\Index\Interceptor->___callPlugins('execute', Array, Array) #44 /home/kaffedev/public_html/vendor/magento/framework/App/Action/Action.php(111): Mageplaza\AjaxLayer\Controller\Search\Result\Index\Interceptor->execute() #45 /home/kaffedev/public_html/vendor/magento/framework/Interception/Interceptor.php(58): Magento\Framework\App\Action\Action->dispatch(Object(Magento\Framework\App\Request\Http)) #46 /home/kaffedev/public_html/vendor/magento/framework/Interception/Interceptor.php(138): Mageplaza\AjaxLayer\Controller\Search\Result\Index\Interceptor->___callParent('dispatch', Array) #47 /home/kaffedev/public_html/vendor/magento/framework/Interception/Interceptor.php(153): Mageplaza\AjaxLayer\Controller\Search\Result\Index\Interceptor->Magento\Framework\Interception\{closure}(Object(Magento\Framework\App\Request\Http)) #48 /home/kaffedev/public_html/generated/code/Mageplaza/AjaxLayer/Controller/Search/Result/Index/Interceptor.php(32): Mageplaza\AjaxLayer\Controller\Search\Result\Index\Interceptor->___callPlugins('dispatch', Array, Array) #49 /home/kaffedev/public_html/vendor/magento/framework/App/FrontController.php(186): Mageplaza\AjaxLayer\Controller\Search\Result\Index\Interceptor->dispatch(Object(Magento\Framework\App\Request\Http)) #50 /home/kaffedev/public_html/vendor/magento/framework/App/FrontController.php(118): Magento\Framework\App\FrontController->processRequest(Object(Magento\Framework\App\Request\Http), Object(Mageplaza\AjaxLayer\Controller\Search\Result\Index\Interceptor)) #51 /home/kaffedev/public_html/vendor/magento/framework/Interception/Interceptor.php(58): Magento\Framework\App\FrontController->dispatch(Object(Magento\Framework\App\Request\Http)) #52 /home/kaffedev/public_html/vendor/magento/framework/Interception/Interceptor.php(138): Magento\Framework\App\FrontController\Interceptor->___callParent('dispatch', Array) #53 /home/kaffedev/public_html/vendor/magento/module-store/App/FrontController/Plugin/RequestPreprocessor.php(99): Magento\Framework\App\FrontController\Interceptor->Magento\Framework\Interception\{closure}(Object(Magento\Framework\App\Request\Http)) #54 /home/kaffedev/public_html/vendor/magento/framework/Interception/Interceptor.php(135): Magento\Store\App\FrontController\Plugin\RequestPreprocessor->aroundDispatch(Object(Magento\Framework\App\FrontController\Interceptor), Object(Closure), Object(Magento\Framework\App\Request\Http)) #55 /home/kaffedev/public_html/vendor/magento/module-page-cache/Model/App/FrontController/BuiltinPlugin.php(71): Magento\Framework\App\FrontController\Interceptor->Magento\Framework\Interception\{closure}(Object(Magento\Framework\App\Request\Http)) #56 /home/kaffedev/public_html/vendor/magento/framework/Interception/Interceptor.php(135): Magento\PageCache\Model\App\FrontController\BuiltinPlugin->aroundDispatch(Object(Magento\Framework\App\FrontController\Interceptor), Object(Closure), Object(Magento\Framework\App\Request\Http)) #57 /home/kaffedev/public_html/vendor/magento/framework/Interception/Interceptor.php(153): Magento\Framework\App\FrontController\Interceptor->Magento\Framework\Interception\{closure}(Object(Magento\Framework\App\Request\Http)) #58 /home/kaffedev/public_html/generated/code/Magento/Framework/App/FrontController/Interceptor.php(23): Magento\Framework\App\FrontController\Interceptor->___callPlugins('dispatch', Array, NULL) #59 /home/kaffedev/public_html/vendor/magento/framework/App/Http.php(116): Magento\Framework\App\FrontController\Interceptor->dispatch(Object(Magento\Framework\App\Request\Http)) #60 /home/kaffedev/public_html/vendor/magento/framework/App/Bootstrap.php(263): Magento\Framework\App\Http->launch() #61 /home/kaffedev/public_html/pub/index.php(29): Magento\Framework\App\Bootstrap->run(Object(Magento\Framework\App\Http\Interceptor)) #62 {main}