Symfony > fos:user:create admin --super-admin
Please choose an email:[email protected]
Please choose a password:
[Doctrine\ORM\ORMException]
The EntityManager is closed.
fos:user:create [--super-admin] [--inactive] [--]
The command terminated with an error status (1)
Symfony >
And what exactly is the Exception? Stacktrace?
It looks like you are using the console shell. Please don't do it. This make all commands run in the same PHP process, meaning they are impacted by previous commands (this is the reason why the shell has been removed in Symfony 3)
See above.
Most helpful comment
It looks like you are using the console shell. Please don't do it. This make all commands run in the same PHP process, meaning they are impacted by previous commands (this is the reason why the shell has been removed in Symfony 3)