Mautic Community Forums

Problem executing campaign

Hi there, do some one knows whats this message is about?



Triggering events for campaign 1

Triggering first level events

9 total events(s) to be processed in batches of 100



[DoctrineORMORMException]



Entity of type MauticCampaignBundleEntityLeadEventLog has identity through a foreign entity MauticLeadBundleEntityLead, however this entity has no identity itself. You have to call EntityManager#persist() on the related entity and make sure that an identifier was generated before trying to persist ‘MauticCampaignBundleEntityLeadEventLog’. In case of Post Insert ID Generation (such as MySQL Auto-Increment or PostgreSQL SERIAL) this means you have to call EntityManager#flush() between both persist operations.



mautic:campaigns:trigger [-i|–campaign-id[="…"]] [-l|–batch-limit[="…"]] [-m|–max-events[="…"]] [-f|–force]

Hi there, do some one knows whats this message is about?

Triggering events for campaign 1
Triggering first level events
9 total events(s) to be processed in batches of 100

[DoctrineORMORMException]

Entity of type MauticCampaignBundleEntityLeadEventLog has identity through a foreign entity MauticLeadBundleEntityLead, however this entity has no identity itself. You have to call EntityManager#persist() on the related entity and make sure that an identifier was generated before trying to persist ‘MauticCampaignBundleEntityLeadEventLog’. In case of Post Insert ID Generation (such as MySQL Auto-Increment or PostgreSQL SERIAL) this means you have to call EntityManager#flush() between both persist operations.

mautic:campaigns:trigger [-i|–campaign-id[="…"]] [–scheduled-only] [–negative-only] [-l|–batch-limit[="…"]] [-m|–max-events[="…"]] [-f|–force]

This problem was reported and is discussed at

https://github.com/mautic/mautic/issues/938

Please, make a comment there if you have a attachment as others thinks it might cause the problem.