Fatal error: Uncaught TypeError: Shopware\Components\Compatibility\LegacyStructConverter::convertListProductStruct(): Argument #1 ($product) must be of type Shopware\Bundle\StoreFrontBundle\Struct\ListProduct, null given, called in /kunden/210116_26123/production/www.weser-ems-hallen.de/custom/plugins/CodeWehTickets/Controllers/Frontend/IcalCreator.php on line 242 and defined in /kunden/210116_26123/production/www.weser-ems-hallen.de/engine/Shopware/Components/Compatibility/LegacyStructConverter.php:303 Stack trace: #0 /kunden/210116_26123/production/www.weser-ems-hallen.de/custom/plugins/CodeWehTickets/Controllers/Frontend/IcalCreator.php(242): Shopware\Components\Compatibility\LegacyStructConverter->convertListProductStruct() #1 /kunden/210116_26123/production/www.weser-ems-hallen.de/custom/plugins/CodeWehTickets/Controllers/Frontend/IcalCreator.php(43): Shopware_Controllers_Frontend_IcalCreator->getProductByNumber() #2 /kunden/210116_26123/production/www.weser-ems-hallen.de/engine/Library/Enlight/Controller/Action.php(186): Shopware_Controllers_Frontend_IcalCreator->downloadAction() #3 /kunden/210116_26123/production/www.weser-ems-hallen.de/engine/Library/Enlight/Controller/Dispatcher/Default.php(467): Enlight_Controller_Action->dispatch() #4 /kunden/210116_26123/production/www.weser-ems-hallen.de/engine/Library/Enlight/Controller/Front.php(225): Enlight_Controller_Dispatcher_Default->dispatch() #5 /kunden/210116_26123/production/www.weser-ems-hallen.de/engine/Shopware/Kernel.php(197): Enlight_Controller_Front->dispatch() #6 /kunden/210116_26123/production/www.weser-ems-hallen.de/vendor/symfony/http-kernel/HttpCache/SubRequestHandler.php(85): Shopware\Kernel->handle() #7 /kunden/210116_26123/production/www.weser-ems-hallen.de/vendor/symfony/http-kernel/HttpCache/HttpCache.php(479): Symfony\Component\HttpKernel\HttpCache\SubRequestHandler::handle() #8 /kunden/210116_26123/production/www.weser-ems-hallen.de/engine/Shopware/Components/HttpCache/AppCache.php(266): Symfony\Component\HttpKernel\HttpCache\HttpCache->forward() #9 /kunden/210116_26123/production/www.weser-ems-hallen.de/vendor/symfony/http-kernel/HttpCache/HttpCache.php(452): Shopware\Components\HttpCache\AppCache->forward() #10 /kunden/210116_26123/production/www.weser-ems-hallen.de/vendor/symfony/http-kernel/HttpCache/HttpCache.php(346): Symfony\Component\HttpKernel\HttpCache\HttpCache->fetch() #11 /kunden/210116_26123/production/www.weser-ems-hallen.de/engine/Shopware/Components/HttpCache/AppCache.php(192): Symfony\Component\HttpKernel\HttpCache\HttpCache->lookup() #12 /kunden/210116_26123/production/www.weser-ems-hallen.de/vendor/symfony/http-kernel/HttpCache/HttpCache.php(224): Shopware\Components\HttpCache\AppCache->lookup() #13 /kunden/210116_26123/production/www.weser-ems-hallen.de/engine/Shopware/Components/HttpCache/AppCache.php(117): Symfony\Component\HttpKernel\HttpCache\HttpCache->handle() #14 /kunden/210116_26123/production/www.weser-ems-hallen.de/shopware.php(122): Shopware\Components\HttpCache\AppCache->handle() #15 {main} thrown in /kunden/210116_26123/production/www.weser-ems-hallen.de/engine/Shopware/Components/Compatibility/LegacyStructConverter.php on line 303