Fatal error: Uncaught Error: Call to a member function getData() on null in /www/htdocs/w00bc991/magento2/app/code/Zemez/AjaxCompare/Plugin/Product/Compare/Add.php:56 Stack trace: #0 /www/htdocs/w00bc991/magento2/vendor/magento/framework/Interception/Interceptor.php(135): Zemez\AjaxCompare\Plugin\Product\Compare\Add->aroundExecute(Object(Magento\Catalog\Controller\Product\Compare\Add\Interceptor), Object(Closure)) #1 /www/htdocs/w00bc991/magento2/vendor/magento/framework/Interception/Interceptor.php(153): Magento\Catalog\Controller\Product\Compare\Add\Interceptor->Magento\Framework\Interception\{closure}() #2 /www/htdocs/w00bc991/magento2/generated/code/Magento/Catalog/Controller/Product/Compare/Add/Interceptor.php(26): Magento\Catalog\Controller\Product\Compare\Add\Interceptor->___callPlugins('execute', Array, NULL) #3 /www/htdocs/w00bc991/magento2/vendor/magento/framework/App/Action/Action.php(108): Magento\Catalog\Controller\Product\Compare\Add\Interceptor->execute() #4 /www/htdocs/w00bc991/magento2/vendor/magento/fram in /www/htdocs/w00bc991/magento2/app/code/Zemez/AjaxCompare/Plugin/Product/Compare/Add.php on line 56