Fatal error: Uncaught TypeError: Argument 2 passed to Shopware\Bundle\StoreFrontBundle\Service\Core\PriceCalculator::calculatePrice() must be an instance of Shopware\Bundle\StoreFrontBundle\Struct\Tax, null given, called in /var/www/clients/client5901/web11712/web/shopware/custom/plugins/DpnOneoffCosts/Subscriber/TemplateRegistrationSubscriber.php on line 79 and defined in /var/www/clients/client5901/web11712/web/shopware/engine/Shopware/Bundle/StoreFrontBundle/Service/Core/PriceCalculator.php:36 Stack trace: #0 /var/www/clients/client5901/web11712/web/shopware/custom/plugins/DpnOneoffCosts/Subscriber/TemplateRegistrationSubscriber.php(79): Shopware\Bundle\StoreFrontBundle\Service\Core\PriceCalculator->calculatePrice(46.218487394958, NULL, Object(Shopware\Bundle\StoreFrontBundle\Struct\ShopContext)) #1 /var/www/clients/client5901/web11712/web/shopware/engine/Library/Enlight/Event/Handler/Default.php(87): DpnOneoffCosts\Subscriber\TemplateRegistrationSubscriber->onFrontendDetailPostDispatch(Object(Enlight_Controller_ActionEventArgs)) #2 /var/www/clients/client5901/web11712/web/shopware/engine/Library/Enlight/Event/EventManager.php(214): Enlight_Event_Handler_Default->execute(Object(Enlight_Controller_ActionEventArgs)) #3 /var/www/clients/client5901/web11712/web/shopware/engine/Library/Enlight/Controller/Action.php(207): Enlight_Event_EventManager->notify('Enlight_Control...', Object(Enlight_Controller_ActionEventArgs)) #4 /var/www/clients/client5901/web11712/web/shopware/engine/Library/Enlight/Controller/Dispatcher/Default.php(478): Enlight_Controller_Action->dispatch('indexAction') #5 /var/www/clients/client5901/web11712/web/shopware/engine/Library/Enlight/Controller/Front.php(228): Enlight_Controller_Dispatcher_Default->dispatch(Object(Enlight_Controller_Request_RequestHttp), Object(Enlight_Controller_Response_ResponseHttp)) #6 /var/www/clients/client5901/web11712/web/shopware/engine/Shopware/Kernel.php(188): Enlight_Controller_Front->dispatch() #7 /var/www/clients/client5901/web11712/web/shopware/vendor/symfony/http-kernel/HttpCache/SubRequestHandler.php(102): Shopware\Kernel->handle(Object(Symfony\Component\HttpFoundation\Request), 1, true) #8 /var/www/clients/client5901/web11712/web/shopware/vendor/symfony/http-kernel/HttpCache/HttpCache.php(453): Symfony\Component\HttpKernel\HttpCache\SubRequestHandler::handle(Object(Shopware\Kernel), Object(Symfony\Component\HttpFoundation\Request), 1, true) #9 /var/www/clients/client5901/web11712/web/shopware/engine/Shopware/Components/HttpCache/AppCache.php(261): Symfony\Component\HttpKernel\HttpCache\HttpCache->forward(Object(Symfony\Component\HttpFoundation\Request), true, NULL) #10 /var/www/clients/client5901/web11712/web/shopware/vendor/symfony/http-kernel/HttpCache/HttpCache.php(426): Shopware\Components\HttpCache\AppCache->forward(Object(Symfony\Component\HttpFoundation\Request), true) #11 /var/www/clients/client5901/web11712/web/shopware/vendor/symfony/http-kernel/HttpCache/HttpCache.php(317): Symfony\Component\HttpKernel\HttpCache\HttpCache->fetch(Object(Symfony\Component\HttpFoundation\Request), true) #12 /var/www/clients/client5901/web11712/web/shopware/engine/Shopware/Components/HttpCache/AppCache.php(188): Symfony\Component\HttpKernel\HttpCache\HttpCache->lookup(Object(Symfony\Component\HttpFoundation\Request), true) #13 /var/www/clients/client5901/web11712/web/shopware/vendor/symfony/http-kernel/HttpCache/HttpCache.php(192): Shopware\Components\HttpCache\AppCache->lookup(Object(Symfony\Component\HttpFoundation\Request), true) #14 /var/www/clients/client5901/web11712/web/shopware/engine/Shopware/Components/HttpCache/AppCache.php(113): Symfony\Component\HttpKernel\HttpCache\HttpCache->handle(Object(Symfony\Component\HttpFoundation\Request), 1, true) #15 /var/www/clients/client5901/web11712/web/shopware/shopware.php(122): Shopware\Components\HttpCache\AppCache->handle(Object(Symfony\Component\HttpFoundation\Request)) #16 {main} thrown in /var/www/clients/client5901/web11712/web/shopware/engine/Shopware/Bundle/StoreFrontBundle/Service/Core/PriceCalculator.php on line 36