A new entity was found through the relationship 'Entity\ApplicationMigrosIndirim2018#user' that was not configured to cascade persist operations for entity: Entity\User@00000000680e18b100007f540904c5e0. 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 'Entity\User#__toString()' to get a clue.