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 268 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(268): Shopware\Components\Compatibility\LegacyStructConverter->convertListProductStruct() #1 /kunden/210116_26123/production/www.weser-ems-hallen.de/custom/plugins/CodeWehTickets/Controllers/Frontend/IcalCreator.php(38): Shopware_Controllers_Frontend_IcalCreator->getProductByNumber() #2 /kunden/210116_26123/production/www.weser-ems-hallen.de/engine/Library/Enlight/Controller/Action.php(188): 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(226): Enlight_Controller_Dispatcher_Default->dispatch() #5 /kunden/210116_26123/production/www.weser-ems-hallen.de/engine/Shopware/Kernel.php(195): 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(270): 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(196): 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