Error: Call to a member function getName() on null in /var/www/vhosts/veda.ch/httpdocs/app/code/Scommerce/GoogleTagManagerPro/Helper/Data.php:661 Stack trace: #0 /var/www/vhosts/veda.ch/httpdocs/app/code/Scommerce/GoogleTagManagerPro/Model/Plugin/Catalog/Controller/Category/ViewPlugin.php(60): Scommerce\GoogleTagManagerPro\Helper\Data->getCategoryPath(NULL) #1 /var/www/vhosts/veda.ch/httpdocs/vendor/magento/framework/Interception/Interceptor.php(146): Scommerce\GoogleTagManagerPro\Model\Plugin\Catalog\Controller\Category\ViewPlugin->afterExecute(Object(Magento\Catalog\Controller\Category\View\Interceptor), Object(Magento\Framework\Controller\Result\Forward\Interceptor)) #2 /var/www/vhosts/veda.ch/httpdocs/vendor/magento/framework/App/Action/Plugin/ActionFlagNoDispatchPlugin.php(51): Magento\Catalog\Controller\Category\View\Interceptor->Magento\Framework\Interception\{closure}() #3 /var/www/vhosts/veda.ch/httpdocs/vendor/magento/framework/Interception/Interceptor.php(135): Magento\Framework\App\Action\Plugin\ActionFlagNoDispatchPlugin->aroundExecute(Object(Magento\Catalog\Controller\Category\View\Interceptor), Object(Closure)) #4 /var/www/vhosts/veda.ch/httpdocs/vendor/magento/framework/Interception/Interceptor.php(153): Magento\Catalog\Controller\Category\View\Interceptor->Magento\Framework\Interception\{closure}() #5 /var/www/vhosts/veda.ch/httpdocs/generated/code/Magento/Catalog/Controller/Category/View/Interceptor.php(23): Magento\Catalog\Controller\Category\View\Interceptor->___callPlugins('execute', Array, Array) #6 /var/www/vhosts/veda.ch/httpdocs/vendor/magento/framework/App/Action/Action.php(111): Magento\Catalog\Controller\Category\View\Interceptor->execute() #7 /var/www/vhosts/veda.ch/httpdocs/vendor/magento/framework/Interception/Interceptor.php(58): Magento\Framework\App\Action\Action->dispatch(Object(Magento\Framework\App\Request\Http)) #8 /var/www/vhosts/veda.ch/httpdocs/vendor/magento/framework/Interception/Interceptor.php(138): Magento\Catalog\Controller\Category\View\Interceptor->___callParent('dispatch', Array) #9 /var/www/vhosts/veda.ch/httpdocs/vendor/magento/framework/Interception/Interceptor.php(153): Magento\Catalog\Controller\Category\View\Interceptor->Magento\Framework\Interception\{closure}(Object(Magento\Framework\App\Request\Http)) #10 /var/www/vhosts/veda.ch/httpdocs/generated/code/Magento/Catalog/Controller/Category/View/Interceptor.php(32): Magento\Catalog\Controller\Category\View\Interceptor->___callPlugins('dispatch', Array, Array) #11 /var/www/vhosts/veda.ch/httpdocs/vendor/magento/framework/App/FrontController.php(186): Magento\Catalog\Controller\Category\View\Interceptor->dispatch(Object(Magento\Framework\App\Request\Http)) #12 /var/www/vhosts/veda.ch/httpdocs/vendor/magento/framework/App/FrontController.php(118): Magento\Framework\App\FrontController->processRequest(Object(Magento\Framework\App\Request\Http), Object(Magento\Catalog\Controller\Category\View\Interceptor)) #13 /var/www/vhosts/veda.ch/httpdocs/vendor/magento/framework/Interception/Interceptor.php(58): Magento\Framework\App\FrontController->dispatch(Object(Magento\Framework\App\Request\Http)) #14 /var/www/vhosts/veda.ch/httpdocs/vendor/magento/framework/Interception/Interceptor.php(138): Magento\Framework\App\FrontController\Interceptor->___callParent('dispatch', Array) #15 /var/www/vhosts/veda.ch/httpdocs/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 /var/www/vhosts/veda.ch/httpdocs/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 /var/www/vhosts/veda.ch/httpdocs/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)) #18 /var/www/vhosts/veda.ch/httpdocs/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)) #19 /var/www/vhosts/veda.ch/httpdocs/vendor/magento/framework/Interception/Interceptor.php(153): Magento\Framework\App\FrontController\Interceptor->Magento\Framework\Interception\{closure}(Object(Magento\Framework\App\Request\Http)) #20 /var/www/vhosts/veda.ch/httpdocs/generated/code/Magento/Framework/App/FrontController/Interceptor.php(23): Magento\Framework\App\FrontController\Interceptor->___callPlugins('dispatch', Array, Array) #21 /var/www/vhosts/veda.ch/httpdocs/vendor/magento/framework/App/Http.php(116): Magento\Framework\App\FrontController\Interceptor->dispatch(Object(Magento\Framework\App\Request\Http)) #22 /var/www/vhosts/veda.ch/httpdocs/vendor/magento/framework/Interception/Interceptor.php(58): Magento\Framework\App\Http->launch() #23 /var/www/vhosts/veda.ch/httpdocs/vendor/magento/framework/Interception/Interceptor.php(138): Magento\Framework\App\Http\Interceptor->___callParent('launch', Array) #24 /var/www/vhosts/veda.ch/httpdocs/vendor/magento/framework/Interception/Interceptor.php(153): Magento\Framework\App\Http\Interceptor->Magento\Framework\Interception\{closure}() #25 /var/www/vhosts/veda.ch/httpdocs/generated/code/Magento/Framework/App/Http/Interceptor.php(23): Magento\Framework\App\Http\Interceptor->___callPlugins('launch', Array, Array) #26 /var/www/vhosts/veda.ch/httpdocs/vendor/magento/framework/App/Bootstrap.php(263): Magento\Framework\App\Http\Interceptor->launch() #27 /var/www/vhosts/veda.ch/httpdocs/pub/index.php(44): Magento\Framework\App\Bootstrap->run(Object(Magento\Framework\App\Http\Interceptor)) #28 {main}