A new entity was found through the relationship 'App\Entity\Order#user' that was not configured to cascade persist operations for entity: App\Entity\User@000000003f9cdd9d000000006a4c76ba. To solve this issue: Either explicitly call EntityManager#persist() on this unknown entity or configure cascade persist this association in the mapping for example [id74861852|..,cascade={"persist"}]. If you cannot find out which entity causes the problem implement 'App\Entity\User#__toString()' to get a clue.
Обсуждают сегодня