Fatal error: Uncaught TypeError: Argument 1 passed to Shopware\Components\Compatibility\LegacyStructConverter::convertListProductStruct() must be an instance of Shopware\Bundle\StoreFrontBundle\Struct\ListProduct, null given, called in /var/www/comspot.de/shop/custom/project/BcFoundation/Controllers/Frontend/DeliveryTime.php on line 13 and defined in /var/www/comspot.de/shop/engine/Shopware/Components/Compatibility/LegacyStructConverter.php:295
Stack trace:
#0 /var/www/comspot.de/shop/custom/project/BcFoundation/Controllers/Frontend/DeliveryTime.php(13): Shopware\Components\Compatibility\LegacyStructConverter->convertListProductStruct()
#1 /var/www/comspot.de/shop/engine/Library/Enlight/Controller/Action.php(192): Shopware_Controllers_Frontend_DeliveryTime->indexAction()
#2 /var/www/comspot.de/shop/engine/Library/Enlight/Controller/Dispatcher/Default.php(478): Enlight_Controller_Action->dispatch()
#3 /var/www/comspot.de/shop/engine/Library/Enlight/Controller/Front.php(228): Enlight_Controller_Dispatcher_Default->dispatch()
#4 /var/www/comspot.de/shop/engine/Shopware/Kernel.php(188): Enlight_Controller_Front->dispatch()
#5 /var/www/comspot.de/shop/vendor/symfony/http-kernel/HttpCache/SubRequestHandler.php(102): Shopware\Kernel->handle()
#6 /var/www/comspot.de/shop/vendor/symfony/http-kernel/HttpCache/HttpCache.php(453): Symfony\Component\HttpKernel\HttpCache\SubRequestHandler::handle()
#7 /var/www/comspot.de/shop/engine/Shopware/Components/HttpCache/AppCache.php(261): Symfony\Component\HttpKernel\HttpCache\HttpCache->forward()
#8 /var/www/comspot.de/shop/vendor/symfony/http-kernel/HttpCache/HttpCache.php(426): Shopware\Components\HttpCache\AppCache->forward()
#9 /var/www/comspot.de/shop/vendor/symfony/http-kernel/HttpCache/HttpCache.php(317): Symfony\Component\HttpKernel\HttpCache\HttpCache->fetch()
#10 /var/www/comspot.de/shop/engine/Shopware/Components/HttpCache/AppCache.php(188): Symfony\Component\HttpKernel\HttpCache\HttpCache->lookup()
#11 /var/www/comspot.de/shop/vendor/symfony/http-kernel/HttpCache/HttpCache.php(192): Shopware\Components\HttpCache\AppCache->lookup()
#12 /var/www/comspot.de/shop/engine/Shopware/Components/HttpCache/AppCache.php(113): Symfony\Component\HttpKernel\HttpCache\HttpCache->handle()
#13 /var/www/comspot.de/shop/shopware.php(122): Shopware\Components\HttpCache\AppCache->handle()
#14 {main}
thrown in /var/www/comspot.de/shop/engine/Shopware/Components/Compatibility/LegacyStructConverter.php on line 295