Error: Call to a member function getData() on null in /work/www/mag-bott-2021.bottltd.co.uk/htdocs/app/code/Zemez/AjaxCompare/Plugin/Product/Compare/Add.php:56 Stack trace: #0 /work/www/mag-bott-2021.bottltd.co.uk/htdocs/vendor/magento/framework/Interception/Interceptor.php(135): Zemez\AjaxCompare\Plugin\Product\Compare\Add->aroundExecute() #1 /work/www/mag-bott-2021.bottltd.co.uk/htdocs/vendor/magento/framework/Interception/Interceptor.php(153): Magento\Catalog\Controller\Product\Compare\Add\Interceptor->Magento\Framework\Interception\{closure}() #2 /work/www/mag-bott-2021.bottltd.co.uk/htdocs/generated/code/Magento/Catalog/Controller/Product/Compare/Add/Interceptor.php(23): Magento\Catalog\Controller\Product\Compare\Add\Interceptor->___callPlugins() #3 /work/www/mag-bott-2021.bottltd.co.uk/htdocs/vendor/magento/framework/App/Action/Action.php(111): Magento\Catalog\Controller\Product\Compare\Add\Interceptor->execute() #4 /work/www/mag-bott-2021.bottltd.co.uk/htdocs/vendor/magento/framework/Interception/Interceptor.php(58): Magento\Framework\App\Action\Action->dispatch() #5 /work/www/mag-bott-2021.bottltd.co.uk/htdocs/vendor/magento/framework/Interception/Interceptor.php(138): Magento\Catalog\Controller\Product\Compare\Add\Interceptor->___callParent() #6 /work/www/mag-bott-2021.bottltd.co.uk/htdocs/vendor/magento/framework/Interception/Interceptor.php(153): Magento\Catalog\Controller\Product\Compare\Add\Interceptor->Magento\Framework\Interception\{closure}() #7 /work/www/mag-bott-2021.bottltd.co.uk/htdocs/generated/code/Magento/Catalog/Controller/Product/Compare/Add/Interceptor.php(32): Magento\Catalog\Controller\Product\Compare\Add\Interceptor->___callPlugins() #8 /work/www/mag-bott-2021.bottltd.co.uk/htdocs/vendor/magento/framework/App/FrontController.php(245): Magento\Catalog\Controller\Product\Compare\Add\Interceptor->dispatch() #9 /work/www/mag-bott-2021.bottltd.co.uk/htdocs/vendor/magento/framework/App/FrontController.php(212): Magento\Framework\App\FrontController->getActionResponse() #10 /work/www/mag-bott-2021.bottltd.co.uk/htdocs/vendor/magento/framework/App/FrontController.php(147): Magento\Framework\App\FrontController->processRequest() #11 /work/www/mag-bott-2021.bottltd.co.uk/htdocs/vendor/magento/framework/Interception/Interceptor.php(58): Magento\Framework\App\FrontController->dispatch() #12 /work/www/mag-bott-2021.bottltd.co.uk/htdocs/vendor/magento/framework/Interception/Interceptor.php(138): Magento\Framework\App\FrontController\Interceptor->___callParent() #13 /work/www/mag-bott-2021.bottltd.co.uk/htdocs/vendor/magento/module-store/App/FrontController/Plugin/RequestPreprocessor.php(99): Magento\Framework\App\FrontController\Interceptor->Magento\Framework\Interception\{closure}() #14 /work/www/mag-bott-2021.bottltd.co.uk/htdocs/vendor/magento/framework/Interception/Interceptor.php(135): Magento\Store\App\FrontController\Plugin\RequestPreprocessor->aroundDispatch() #15 /work/www/mag-bott-2021.bottltd.co.uk/htdocs/vendor/mirasvit/module-cache-warmer/src/CacheWarmer/Plugin/Debug/OnHitPlugin.php(140): Magento\Framework\App\FrontController\Interceptor->Magento\Framework\Interception\{closure}() #16 /work/www/mag-bott-2021.bottltd.co.uk/htdocs/vendor/magento/framework/Interception/Interceptor.php(135): Mirasvit\CacheWarmer\Plugin\Debug\OnHitPlugin->aroundAroundDispatch() #17 /work/www/mag-bott-2021.bottltd.co.uk/htdocs/vendor/magento/framework/Interception/Interceptor.php(153): Zemez\SiteMaintenance\Model\PageCache\App\FrontController\BuiltinPlugin\Interceptor->Magento\Framework\Interception\{closure}() #18 /work/www/mag-bott-2021.bottltd.co.uk/htdocs/generated/code/Zemez/SiteMaintenance/Model/PageCache/App/FrontController/BuiltinPlugin/Interceptor.php(23): Zemez\SiteMaintenance\Model\PageCache\App\FrontController\BuiltinPlugin\Interceptor->___callPlugins() #19 /work/www/mag-bott-2021.bottltd.co.uk/htdocs/vendor/magento/framework/Interception/Interceptor.php(135): Zemez\SiteMaintenance\Model\PageCache\App\FrontController\BuiltinPlugin\Interceptor->aroundDispatch() #20 /work/www/mag-bott-2021.bottltd.co.uk/htdocs/vendor/magento/framework/Interception/Interceptor.php(153): Magento\Framework\App\FrontController\Interceptor->Magento\Framework\Interception\{closure}() #21 /work/www/mag-bott-2021.bottltd.co.uk/htdocs/generated/code/Magento/Framework/App/FrontController/Interceptor.php(23): Magento\Framework\App\FrontController\Interceptor->___callPlugins() #22 /work/www/mag-bott-2021.bottltd.co.uk/htdocs/vendor/magento/framework/App/Http.php(116): Magento\Framework\App\FrontController\Interceptor->dispatch() #23 /work/www/mag-bott-2021.bottltd.co.uk/htdocs/generated/code/Magento/Framework/App/Http/Interceptor.php(23): Magento\Framework\App\Http->launch() #24 /work/www/mag-bott-2021.bottltd.co.uk/htdocs/vendor/magento/framework/App/Bootstrap.php(264): Magento\Framework\App\Http\Interceptor->launch() #25 /work/www/mag-bott-2021.bottltd.co.uk/htdocs/pub/index.php(60): Magento\Framework\App\Bootstrap->run() #26 {main}