Fatal error: Uncaught Error: Call to a member function getData() on null in /var/www/vhosts/casaverde-natur.de/httpdocs/mage2prod/app/code/TemplateMonster/AjaxCompare/Plugin/Product/Compare/Add.php:56 Stack trace: #0 /var/www/vhosts/casaverde-natur.de/httpdocs/mage2prod/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 /var/www/vhosts/casaverde-natur.de/httpdocs/mage2prod/vendor/magento/framework/Interception/Interceptor.php(153): Magento\Catalog\Controller\Product\Compare\Add\Interceptor->Magento\Framework\Interception\{closure}() #2 /var/www/vhosts/casaverde-natur.de/httpdocs/mage2prod/generated/code/Magento/Catalog/Controller/Product/Compare/Add/Interceptor.php(26): Magento\Catalog\Controller\Product\Compare\Add\Interceptor->___callPlugins('execute', Array, NULL) #3 /var/www/vhosts/casaverde-natur.de/httpdocs/mage2prod/vendor/magento/framework/App/Action in /var/www/vhosts/casaverde-natur.de/httpdocs/mage2prod/app/code/TemplateMonster/AjaxCompare/Plugin/Product/Compare/Add.php on line 56