[Doctrine\\ORM\\ORMException] The EntityManager is closed.
After I get a DBAL exception when inserting data, EntityManager closes and I\'m not
Same problem, solved with a simple code refactoring. The problem is sometime present when a required field is null, before do anithing, try to refactor your code. A better workflow can solve the problem.