# Nach update auf 5.5.8 verschiedene Cronjobs funktionieren nicht mehr richtig

**URL:** <https://forum.shopware.com/t/nach-update-auf-5-5-8-verschiedene-cronjobs-funktionieren-nicht-mehr-richtig/59260>\
**Category:** Allgemein\
**Created:** [26. April 2019 um 07:40 UTC](https://forum.shopware.com/t/nach-update-auf-5-5-8-verschiedene-cronjobs-funktionieren-nicht-mehr-richtig/59260 "2019-04-26T07:40:00Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![mutabor](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.shopware.com/mutabor/32/16707_2.png) [@mutabor](https://forum.shopware.com/u/mutabor)\
**Post date:** [26. April 2019 um 07:40 UTC](https://forum.shopware.com/t/nach-update-auf-5-5-8-verschiedene-cronjobs-funktionieren-nicht-mehr-richtig/59260/1 "2019-04-26T07:40:00Z")

</div>

Hallo liebe Community.

Hoffe mir kann ein Fachkundiger bei dem folgendem Problem weiterhelfen. Die Suche über der, die, das Google half mir nicht weiter, da ich **Leihe** bin. Zum Problem. Nach dem update von 5.4.6 auf 5.5.8 funktionieren einige Cronjobs nicht mehr richtig. Die folgende Fehlermeldung erhalte ich aktuell beim **Shopware\_CronJob\_Notification:**

```
A new entity was found through the relationship 'Shopware\Models\Customer\Customer#shop' that was not configured to cascade persist operations for entity: Shopware\Proxies\ __CG__ \Shopware\Models\Shop\Shop@00000000753076310000000028bed7d2. To solve this issue: Either explicitly call EntityManager#persist() on this unknown entity or configure cascade persist this association in the mapping for example @ManyToOne(..,cascade={"persist"}). If you cannot find out which entity causes the problem implement 'Shopware\Models\Shop\Shop#__toString()' to get a clue. in vendor/doctrine/orm/lib/Doctrine/ORM/ORMInvalidArgumentException.php on line 92

    Stack trace:
    
        #0 vendor/doctrine/orm/lib/Doctrine/ORM/UnitOfWork.php(852): Doctrine\ORM\ORMInvalidArgumentException::newEntityFoundThroughRelationship(Array, Object(Shopware\Proxies\ __CG__ \Shopware\Models\Shop\Shop))
#1 vendor/doctrine/orm/lib/Doctrine/ORM/UnitOfWork.php(740): Doctrine\ORM\UnitOfWork->computeAssociationChanges(Array, Object(Shopware\Proxies\ __CG__ \Shopware\Models\Shop\Shop))
#2 vendor/doctrine/orm/lib/Doctrine/ORM/UnitOfWork.php(452): Doctrine\ORM\UnitOfWork->computeChangeSet(Object(Doctrine\ORM\Mapping\ClassMetadata), Object(Shopware\Models\Customer\Customer))
#3 vendor/doctrine/orm/lib/Doctrine/ORM/UnitOfWork.php(485): Doctrine\ORM\UnitOfWork->computeScheduleInsertsChangeSets()
#4 vendor/doctrine/orm/lib/Doctrine/ORM/UnitOfWork.php(342): Doctrine\ORM\UnitOfWork->computeSingleEntityChangeSet(Object(Shopware\Models\Mail\Mail))
#5 vendor/doctrine/orm/lib/Doctrine/ORM/EntityManager.php(356): Doctrine\ORM\UnitOfWork->commit(Object(Shopware\Models\Mail\Mail))
#6 engine/Shopware/Components/TemplateMail.php(246): Doctrine\ORM\EntityManager->flush(Object(Shopware\Models\Mail\Mail))
#7 engine/Shopware/Plugins/Community/Backend/ViisonDHL/ViisonCommon/Components/TemplateMailServiceDecorator.php(117): Shopware_Components_TemplateMail->createMail(Object(Shopware\Models\Mail\Mail), Array, NULL, Array)
#8 var/cache/production_201904021344/proxies/ShopwarePluginsViisonCommonComponentsTemplateMailServiceDecoratorProxy.php(79): Shopware\Plugins\ViisonCommon\Components\TemplateMailServiceDecorator->createMail('sARTICLEAVAILAB...', Array, NULL, Array)
#9 engine/Library/Enlight/Hook/HookExecutionContext.php(141): Shopware_Proxies_ShopwarePluginsViisonCommonComponentsTemplateMailServiceDecoratorProxy->__executeOriginalMethod('createMail', Array)
#10 engine/Library/Enlight/Hook/HookExecutionContext.php(107): Enlight_Hook_HookExecutionContext->executeReplaceChain(Array)
#11 engine/Library/Enlight/Hook/HookManager.php(185): Enlight_Hook_HookExecutionContext->execute()
#12 var/cache/production_201904021344/proxies/ShopwarePluginsViisonCommonComponentsTemplateMailServiceDecoratorProxy.php(90): Enlight_Hook_HookManager->executeHooks(Object(Shopware_Proxies_ShopwarePluginsViisonCommonComponentsTemplateMailServiceDecoratorProxy), 'createMail', Array)
#13 engine/Shopware/Plugins/Default/Frontend/Notification/Bootstrap.php(390): Shopware_Proxies_ShopwarePluginsViisonCommonComponentsTemplateMailServiceDecoratorProxy->createMail('sARTICLEAVAILAB...', Array)
#14 engine/Library/Enlight/Event/Handler/Plugin.php(149): Shopware_Plugins_Frontend_Notification_Bootstrap->onRunCronJob(Object(Shopware_Components_Cron_CronJob))
#15 engine/Library/Enlight/Event/EventManager.php(256): Enlight_Event_Handler_Plugin->execute(Object(Shopware_Components_Cron_CronJob))
#16 engine/Library/Enlight/Components/Cron/Manager.php(282): Enlight_Event_EventManager->notifyUntil('Shopware_CronJo...', Object(Shopware_Components_Cron_CronJob))
#17 engine/Shopware/Plugins/Default/Core/Cron/Cron.php(52): Enlight_Components_Cron_Manager->runJob(Object(Enlight_Components_Cron_Job))
#18 engine/Library/Enlight/Controller/Action.php(192): Shopware_Controllers_Backend_Cron->indexAction()
#19 engine/Library/Enlight/Controller/Dispatcher/Default.php(563): Enlight_Controller_Action->dispatch('indexAction')
#20 engine/Library/Enlight/Controller/Front.php(222): Enlight_Controller_Dispatcher_Default->dispatch(Object(Enlight_Controller_Request_RequestHttp), Object(Enlight_Controller_Response_ResponseHttp))
#21 engine/Shopware/Kernel.php(202): Enlight_Controller_Front->dispatch()
#22 vendor/symfony/http-kernel/HttpCache/SubRequestHandler.php(102): Shopware\Kernel->handle(Object(Symfony\Component\HttpFoundation\Request), 1, true)
#23 vendor/symfony/http-kernel/HttpCache/HttpCache.php(448): Symfony\Component\HttpKernel\HttpCache\SubRequestHandler::handle(Object(Shopware\Kernel), Object(Symfony\Component\HttpFoundation\Request), 1, true)
#24 engine/Shopware/Components/HttpCache/AppCache.php(260): Symfony\Component\HttpKernel\HttpCache\HttpCache->forward(Object(Symfony\Component\HttpFoundation\Request), true, NULL)
#25 vendor/symfony/http-kernel/HttpCache/HttpCache.php(238): Shopware\Components\HttpCache\AppCache->forward(Object(Symfony\Component\HttpFoundation\Request), true)
#26 engine/Shopware/Components/HttpCache/AppCache.php(105): Symfony\Component\HttpKernel\HttpCache\HttpCache->pass(Object(Symfony\Component\HttpFoundation\Request), true)
#27 shopware.php(122): Shopware\Components\HttpCache\AppCache->handle(Object(Symfony\Component\HttpFoundation\Request))
#28 {main}

Andere Cronjobs funktionieren nur halbwegs. Bei Mahnungserstellung, und Artikelbewertung werden keine Mails versendet. (außer Zahlungserinnerung aber keine 1, 2 oder letzte Mahnung)
```
