Fatal error: Uncaught TypeError: Argument 1 passed to SwagCustomProducts\Components\Services\TemplateService::getTemplateId() must be of the type int, null given, called in /usr/www/users/traurig/custom/plugins/SwagCustomProducts/Components/Services/TemplateService.php on line 74 and defined in /usr/www/users/traurig/custom/plugins/SwagCustomProducts/Components/Services/TemplateService.php:369
Stack trace:
#0 /usr/www/users/traurig/custom/plugins/SwagCustomProducts/Components/Services/TemplateService.php(74): SwagCustomProducts\Components\Services\TemplateService->getTemplateId(NULL)
#1 /usr/www/users/traurig/custom/plugins/SwagCustomProducts/Subscriber/Frontend.php(79): SwagCustomProducts\Components\Services\TemplateService->getTemplateByProductId(NULL, true, 0)
#2 /usr/www/users/traurig/engine/Library/Enlight/Event/Handler/Default.php(90): SwagCustomProducts\Subscriber\Frontend->onPostDispatchFrontendDetail(Object(Enlight_Controller_ActionEventArgs))
#3 /usr/www/users/traurig/engine/Library/Enlight/Event/EventManager.ph in /usr/www/users/traurig/custom/plugins/SwagCustomProducts/Components/Services/TemplateService.php on line 369