Der Cronjob zur Lagerbestands Warnung schlägt plötzlich fehl.
Das manuelle Starten des Cronjobs gibt eine Warnung aus.
Der Error Log sieht so aus:
2018/05/19 14:27:12 [error] 20245#20245: *1227443 FastCGI sent in stderr: "PHP message: PHP Fatal error: Uncaught Error: Call to a member function getTemplate() on null in /var/www/clients/client1/web36/web/engine/Shopware/Components/TemplateMail.php:167
Stack trace:
#0 /var/www/clients/client1/web36/web/engine/Shopware/Plugins/Community/Core/ViisonPickwareERP/ViisonCommon/Components/TemplateMailServiceDecorator.php(113): Shopware_Components_TemplateMail->createMail(Object(Shopware\Models\Mail\Mail), Array, NULL, Array)
#1 /var/www/clients/client1/web36/web/var/cache/production_201805041539/proxies/ShopwarePluginsViisonCommonComponentsTemplateMailServiceDecoratorProxy.php(7): Shopware\Plugins\ViisonCommon\Components\TemplateMailServiceDecorator->createMail(‘sARTICLESTOCK’, Array, NULL, Array)
#2 /var/www/clients/client1/web36/web/engine/Library/Enlight/Hook/HookManager.php(186): Shopware_Proxies_ShopwarePluginsViisonCommonComponentsTemplateMailServiceDecoratorProxy->executeParent(‘createMail’, Array)
#3 /var/www/clients/client1/web36/web/var/cache/production_201805041539/proxie" while reading response header from upstream, client: 24.134.79.113, request: “GET /backend/cron HTTP/2.0”, upstream: “fastcgi://unix:/var/lib/php5-fpm/web36.sock:”,
2018/05/19 14:31:32 [error] 20245#20245: *1230521 FastCGI sent in stderr: "PHP message: PHP Fatal error: Uncaught Error: Call to a member function getTemplate() on null in /var/www/clients/client1/web36/web/engine/Shopware/Components/TemplateMail.php:167
Stack trace:
#0 /var/www/clients/client1/web36/web/engine/Shopware/Plugins/Community/Core/ViisonPickwareERP/ViisonCommon/Components/TemplateMailServiceDecorator.php(113): Shopware_Components_TemplateMail->createMail(Object(Shopware\Models\Mail\Mail), Array, NULL, Array)
#1 /var/www/clients/client1/web36/web/var/cache/production_201805041539/proxies/ShopwarePluginsViisonCommonComponentsTemplateMailServiceDecoratorProxy.php(7): Shopware\Plugins\ViisonCommon\Components\TemplateMailServiceDecorator->createMail(‘sARTICLESTOCK’, Array, NULL, Array)
#2 /var/www/clients/client1/web36/web/engine/Library/Enlight/Hook/HookManager.php(186): Shopware_Proxies_ShopwarePluginsViisonCommonComponentsTemplateMailServiceDecoratorProxy->executeParent(‘createMail’, Array)
#3 /var/www/clients/client1/web36/web/var/cache/production_201805041539/proxie" while reading response header from upstream, client: 24.134.79.113, request: “GET /backend/cron HTTP/2.0”, upstream: “fastcgi://unix:/var/lib/php5-fpm/web36.sock:”,
Kann da jemand helfen?
VG Alex