Error: Call to a member function getData() on null in /chroot/home/a4056665/c608955751.nxcli.io/html/app/code/TemplateMonster/AjaxCompare/Plugin/Product/Compare/Add.php:56 Stack trace: #0 /chroot/home/a4056665/c608955751.nxcli.io/html/vendor/magento/framework/Interception/Interceptor.php(135): TemplateMonster\AjaxCompare\Plugin\Product\Compare\Add->aroundExecute(Object(Magento\Catalog\Controller\Product\Compare\Add\Interceptor), Object(Closure)) #1 /chroot/home/a4056665/c608955751.nxcli.io/html/vendor/magento/framework/Interception/Interceptor.php(153): Magento\Catalog\Controller\Product\Compare\Add\Interceptor->Magento\Framework\Interception\{closure}() #2 /chroot/home/a4056665/c608955751.nxcli.io/html/generated/code/Magento/Catalog/Controller/Product/Compare/Add/Interceptor.php(23): Magento\Catalog\Controller\Product\Compare\Add\Interceptor->___callPlugins('execute', Array, NULL) #3 /chroot/home/a4056665/c608955751.nxcli.io/html/vendor/magento/framework/App/Action/Action.php(111): Magento\Catalog\Controller\Product\Compare\Add\Interceptor->execute() #4 /chroot/home/a4056665/c608955751.nxcli.io/html/vendor/magento/framework/Interception/Interceptor.php(58): Magento\Framework\App\Action\Action->dispatch(Object(Magento\Framework\App\Request\Http)) #5 /chroot/home/a4056665/c608955751.nxcli.io/html/vendor/magento/framework/Interception/Interceptor.php(138): Magento\Catalog\Controller\Product\Compare\Add\Interceptor->___callParent('dispatch', Array) #6 /chroot/home/a4056665/c608955751.nxcli.io/html/app/code/Magedelight/Ga4/Plugin/CustomerSessionContext.php(74): Magento\Catalog\Controller\Product\Compare\Add\Interceptor->Magento\Framework\Interception\{closure}(Object(Magento\Framework\App\Request\Http)) #7 /chroot/home/a4056665/c608955751.nxcli.io/html/vendor/magento/framework/Interception/Interceptor.php(135): Magedelight\Ga4\Plugin\CustomerSessionContext->aroundDispatch(Object(Magento\Catalog\Controller\Product\Compare\Add\Interceptor), Object(Closure), Object(Magento\Framework\App\Request\Http)) #8 /chroot/home/a4056665/c608955751.nxcli.io/html/vendor/magento/framework/Interception/Interceptor.php(153): Magento\Catalog\Controller\Product\Compare\Add\Interceptor->Magento\Framework\Interception\{closure}(Object(Magento\Framework\App\Request\Http)) #9 /chroot/home/a4056665/c608955751.nxcli.io/html/generated/code/Magento/Catalog/Controller/Product/Compare/Add/Interceptor.php(41): Magento\Catalog\Controller\Product\Compare\Add\Interceptor->___callPlugins('dispatch', Array, NULL) #10 /chroot/home/a4056665/c608955751.nxcli.io/html/vendor/magento/framework/App/FrontController.php(245): Magento\Catalog\Controller\Product\Compare\Add\Interceptor->dispatch(Object(Magento\Framework\App\Request\Http)) #11 /chroot/home/a4056665/c608955751.nxcli.io/html/vendor/magento/framework/App/FrontController.php(212): Magento\Framework\App\FrontController->getActionResponse(Object(Magento\Catalog\Controller\Product\Compare\Add\Interceptor), Object(Magento\Framework\App\Request\Http)) #12 /chroot/home/a4056665/c608955751.nxcli.io/html/vendor/magento/framework/App/FrontController.php(147): Magento\Framework\App\FrontController->processRequest(Object(Magento\Framework\App\Request\Http), Object(Magento\Catalog\Controller\Product\Compare\Add\Interceptor)) #13 /chroot/home/a4056665/c608955751.nxcli.io/html/vendor/magento/framework/Interception/Interceptor.php(58): Magento\Framework\App\FrontController->dispatch(Object(Magento\Framework\App\Request\Http)) #14 /chroot/home/a4056665/c608955751.nxcli.io/html/vendor/magento/framework/Interception/Interceptor.php(138): Magento\Framework\App\FrontController\Interceptor->___callParent('dispatch', Array) #15 /chroot/home/a4056665/c608955751.nxcli.io/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)) #16 /chroot/home/a4056665/c608955751.nxcli.io/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)) #17 /chroot/home/a4056665/c608955751.nxcli.io/html/app/code/TemplateMonster/LayoutSwitcher/Model/App/Action/ContextPlugin.php(40): Magento\Framework\App\FrontController\Interceptor->Magento\Framework\Interception\{closure}(Object(Magento\Framework\App\Request\Http)) #18 /chroot/home/a4056665/c608955751.nxcli.io/html/vendor/magento/framework/Interception/Interceptor.php(135): TemplateMonster\LayoutSwitcher\Model\App\Action\ContextPlugin->aroundDispatch(Object(Magento\Framework\App\FrontController\Interceptor), Object(Closure), Object(Magento\Framework\App\Request\Http)) #19 /chroot/home/a4056665/c608955751.nxcli.io/html/app/code/Amasty/InvisibleCaptcha/Plugin/Framework/App/FrontControllerInterface/ValidateCaptcha.php(118): Magento\Framework\App\FrontController\Interceptor->Magento\Framework\Interception\{closure}(Object(Magento\Framework\App\Request\Http)) #20 /chroot/home/a4056665/c608955751.nxcli.io/html/vendor/magento/framework/Interception/Interceptor.php(135): Amasty\InvisibleCaptcha\Plugin\Framework\App\FrontControllerInterface\ValidateCaptcha->aroundDispatch(Object(Magento\Framework\App\FrontController\Interceptor), Object(Closure), Object(Magento\Framework\App\Request\Http)) #21 /chroot/home/a4056665/c608955751.nxcli.io/html/vendor/magento/module-page-cache/Model/App/FrontController/BuiltinPlugin.php(75): Magento\Framework\App\FrontController\Interceptor->Magento\Framework\Interception\{closure}(Object(Magento\Framework\App\Request\Http)) #22 /chroot/home/a4056665/c608955751.nxcli.io/html/app/code/TemplateMonster/SiteMaintenance/Model/PageCache/App/FrontController/BuiltinPlugin.php(34): Magento\PageCache\Model\App\FrontController\BuiltinPlugin->aroundDispatch(Object(Magento\Framework\App\FrontController\Interceptor), Object(Closure), Object(Magento\Framework\App\Request\Http)) #23 /chroot/home/a4056665/c608955751.nxcli.io/html/vendor/magento/framework/Interception/Interceptor.php(135): TemplateMonster\SiteMaintenance\Model\PageCache\App\FrontController\BuiltinPlugin->aroundDispatch(Object(Magento\Framework\App\FrontController\Interceptor), Object(Closure), Object(Magento\Framework\App\Request\Http)) #24 /chroot/home/a4056665/c608955751.nxcli.io/html/vendor/magento/framework/Interception/Interceptor.php(153): Magento\Framework\App\FrontController\Interceptor->Magento\Framework\Interception\{closure}(Object(Magento\Framework\App\Request\Http)) #25 /chroot/home/a4056665/c608955751.nxcli.io/html/generated/code/Magento/Framework/App/FrontController/Interceptor.php(23): Magento\Framework\App\FrontController\Interceptor->___callPlugins('dispatch', Array, NULL) #26 /chroot/home/a4056665/c608955751.nxcli.io/html/vendor/magento/framework/App/Http.php(116): Magento\Framework\App\FrontController\Interceptor->dispatch(Object(Magento\Framework\App\Request\Http)) #27 /chroot/home/a4056665/c608955751.nxcli.io/html/generated/code/Magento/Framework/App/Http/Interceptor.php(23): Magento\Framework\App\Http->launch() #28 /chroot/home/a4056665/c608955751.nxcli.io/html/vendor/magento/framework/App/Bootstrap.php(264): Magento\Framework\App\Http\Interceptor->launch() #29 /chroot/home/a4056665/c608955751.nxcli.io/html/pub/index.php(32): Magento\Framework\App\Bootstrap->run(Object(Magento\Framework\App\Http\Interceptor)) #30 {main}