Cronjob Lagerbestand Warnung schlägt fehl

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

Schließe mich da an. Seit dem Update bekomm ich auch keine Mails mehr.

[Sat May 19 16:32:38.861175 2018] [fcgid:warn] [pid 30843] [client xxxx:37514] mod_fcgid: stderr: PHP Fatal error:  Uncaught Error: Call to a member function getTemplate() on null in /var/www/vhosts/vape-junkies.de/httpdocs/engine/Shopware/Components/TemplateMail.php:167

[Sat May 19 16:32:38.861220 2018] [fcgid:warn] [pid 30843] [client xxxx:37514] mod_fcgid: stderr: Stack trace:

[Sat May 19 16:32:38.861224 2018] [fcgid:warn] [pid 30843] [client xxxx:37514] mod_fcgid: stderr: #0 /var/www/vhosts/vape-junkies.de/httpdocs/engine/Shopware/Plugins/Community/Backend/ViisonDHL/ViisonCommon/Components/TemplateMailServiceDecorator.php(113): Shopware_Components_TemplateMail->createMail(Object(Shopware\Models\Mail\Mail), Array, NULL, Array)

[Sat May 19 16:32:38.861244 2018] [fcgid:warn] [pid 30843] [client xxx:37514] mod_fcgid: stderr: #1 /var/www/vhosts/vape-junkies.de/httpdocs/var/cache/production_201805041539/proxies/ShopwarePluginsViisonCommonComponentsTemplateMailServiceDecoratorProxy.php(7): Shopware\Plugins\ViisonCommon\Components\TemplateMailServiceDecorator->createMail(‚sARTICLESTOCK‘, Array, NULL, Array)

[Sat May 19 16:32:38.861250 2018] [fcgid:warn] [pid 30843] [client xxx:37514] mod_fcgid: stderr: #2 /var/www/vhosts/vape-junkies.de/httpdocs/engine/Library/Enlight/Hook/HookManager.php(186): Shopware_Proxies_ShopwarePluginsViisonCommonComponentsTemplateMailServiceDecoratorProxy->executeParent(‚createMail‘, Array)

[Sat May 19 16:32:38.861253 2018] [fcgid:warn] [pid 30843] [client xxx:37514] mod_fcgid: stderr: #3 /var/www/vhosts/vape-junkies.de/httpdocs/var/cache/production_201805041539/proxies/Shopware in /var/www/vhosts/vape-junkies.de/httpdocs/engine/Shopware/Components/TemplateMail.php on line 167

Hey,

welche Shopware-Version nutzt ihr beiden?

Bei dir, Ginpalace, könnte es mit Pickware zusammenhängen und bei dir, vape_junkies, mit dem DHL-Adapter-Plugin. Das ist allerdings nur ein Indiz. Kannst du das DHL-Adapter-Plugin ein Mal deaktivieren und prüfen, ob das dann geht?

Grüße

Ich hab die 5.4.3. sowohl Pickware, als auch DHL Adapter im Einsatz.

 

Siehe Thread https://forum.shopware.com/discussion/comment/222203/

1 „Gefällt mir“