# Cronjob Birthday Error

**URL:** <https://forum.shopware.com/t/cronjob-birthday-error/62867>\
**Category:** Allgemein\
**Created:** [8. November 2019 um 07:13 UTC](https://forum.shopware.com/t/cronjob-birthday-error/62867 "2019-11-08T07:13:10Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![kreuter\_ch](https://avatars.discourse-cdn.com/v4/letter/k/bc8723/32.png) [@kreuter\_ch](https://forum.shopware.com/u/kreuter_ch)\
**Post date:** [8. November 2019 um 07:13 UTC](https://forum.shopware.com/t/cronjob-birthday-error/62867/1 "2019-11-08T07:13:10Z")

</div>

Wunderschönen Guten Morgen!

Seit kurzem erfolgt ein Fehler beim Birthday Cronjob und zwar folgender:

> PHP Fatal error:&nbsp; Uncaught Error: Call to a member function registerResources() on null in /var/www/shopware/engine/Shopware/Plugins/Default/Core/CronBirthday/Bootstrap.php:136  
> Stack trace:  
> #0 /var/www/shopware/engine/Library/Enlight/Event/Handler/Plugin.php(149): Shopware\_Plugins\_Core\_CronBirthday\_Bootstrap::onRun(Object(Shopware\_Components\_Cron\_CronJob))  
> #1 /var/www/shopware/engine/Library/Enlight/Event/EventManager.php(258): Enlight\_Event\_Handler\_Plugin-\>execute(Object(Shopware\_Components\_Cron\_CronJob))  
> #2 /var/www/shopware/engine/Library/Enlight/Components/Cron/Manager.php(282): Enlight\_Event\_EventManager-\>notifyUntil(‚Shopware\_CronJo…‘, Object(Shopware\_Components\_Cron\_CronJob))  
> #3 /var/www/shopware/engine/Shopware/Commands/CronRunCommand.php(120): Enlight\_Components\_Cron\_Manager-\>runJob(Object(Enlight\_Components\_Cron\_Job))  
> #4 /var/www/shopware/engine/Shopware/Commands/CronRunCommand.php(83): Shopware\Commands\CronRunCommand-\>runSingleCronjob(Object(Symfony\Component\Console\Output\ConsoleOutput), Object(Enlight\_Componen in /var/www/shopware/engine/Shopware/Plugins/Default/Core/CronBirthday/Bootstrap.php on line 136

Diesen Fehler finde ich im Log, und in der Console wenn ich den Cronjob per sw:cron:run Birthday ausführe.

Hat hier jemand eine Idee? An dem Cronjob wurde nichts verändert.

LG

---

<div class="post-metadata">

**Author:** ![kulli](https://avatars.discourse-cdn.com/v4/letter/k/a3d4f5/32.png) [@kulli](https://forum.shopware.com/u/kulli)\
**Post date:** [9. November 2019 um 04:48 UTC](https://forum.shopware.com/t/cronjob-birthday-error/62867/2 "2019-11-09T04:48:41Z")

</div>

Da wurde garantiert auf dem Server was geändert. Laufen die anderen Cronjobs noch ?  
Wurden kürzlich Plugins installiert oder ein Update durchgeführt ?

---

<div class="post-metadata">

**Author:** ![kreuter\_ch](https://avatars.discourse-cdn.com/v4/letter/k/bc8723/32.png) [@kreuter\_ch](https://forum.shopware.com/u/kreuter_ch)\
**Post date:** [11. November 2019 um 09:03 UTC](https://forum.shopware.com/t/cronjob-birthday-error/62867/3 "2019-11-11T09:03:10Z")

</div>

Die anderen Cronjobs laufen ohne Probleme. Es ist nur dieser eine.

Am Server selbst wurde nichts verändert und auch keine Plugins installiert oder Updates durchgeführt. Bin etwas ratlos da der Cronjob ab und zu bei Ausführung über die Console funktioniert, am nächsten Tag jedoch nicht.
