Fatal error: Uncaught Error: Call to a member function getId() on null in /var/www/clients/client1/web2/web/engine/Shopware/Core/sArticles.php:2440
Stack trace:
#0 /var/www/clients/client1/web2/web/engine/Shopware/Core/sArticles.php(1112): sArticles->getLegacyProduct()
#1 /var/www/clients/client1/web2/web/engine/Shopware/Controllers/Frontend/Detail.php(110): sArticles->sGetArticleById()
#2 /var/www/clients/client1/web2/web/engine/Library/Enlight/Controller/Action.php(188): Shopware_Controllers_Frontend_Detail->indexAction()
#3 /var/www/clients/client1/web2/web/engine/Library/Enlight/Controller/Dispatcher/Default.php(467): Enlight_Controller_Action->dispatch()
#4 /var/www/clients/client1/web2/web/engine/Library/Enlight/Controller/Front.php(226): Enlight_Controller_Dispatcher_Default->dispatch()
#5 /var/www/clients/client1/web2/web/engine/Shopware/Kernel.php(195): Enlight_Controller_Front->dispatch()
#6 /var/www/clients/client1/web2/web/vendor/symfony/http-kernel/HttpCache/SubRequestHandler.php(85): Shopware\Kernel->handle()
#7 /var/www/clients/client1/web2/web/vendor/symfony/http-kernel/HttpCache/HttpCache.php(479): Symfony\Component\HttpKernel\HttpCache\SubRequestHandler::handle()
#8 /var/www/clients/client1/web2/web/engine/Shopware/Components/HttpCache/AppCache.php(270): Symfony\Component\HttpKernel\HttpCache\HttpCache->forward()
#9 /var/www/clients/client1/web2/web/vendor/symfony/http-kernel/HttpCache/HttpCache.php(452): Shopware\Components\HttpCache\AppCache->forward()
#10 /var/www/clients/client1/web2/web/vendor/symfony/http-kernel/HttpCache/HttpCache.php(346): Symfony\Component\HttpKernel\HttpCache\HttpCache->fetch()
#11 /var/www/clients/client1/web2/web/engine/Shopware/Components/HttpCache/AppCache.php(196): Symfony\Component\HttpKernel\HttpCache\HttpCache->lookup()
#12 /var/www/clients/client1/web2/web/vendor/symfony/http-kernel/HttpCache/HttpCache.php(224): Shopware\Components\HttpCache\AppCache->lookup()
#13 /var/www/clients/client1/web2/web/engine/Shopware/Components/HttpCache/AppCache.php(117): Symfony\Component\HttpKernel\HttpCache\HttpCache->handle()
#14 /var/www/clients/client1/web2/web/shopware.php(122): Shopware\Components\HttpCache\AppCache->handle()
#15 {main}
thrown in /var/www/clients/client1/web2/web/engine/Shopware/Core/sArticles.php on line 2440