Fixed!
I had a custom constructor method in my User entity. There I had forgotten to call the parent’s constructor with parent::__construct();
Fixed!
I had a custom constructor method in my User entity. There I had forgotten to call the parent’s constructor with parent::__construct();