A new entity was found through the relationship 'Entity\ApplicationMigrosIndirim2018#user' that was not configured to cascade persist operations for entity: Entity\User@000000004205dc1f00007fef672b1f7c. 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.