| Q | A | ---------------- | ----- | Bug report? | yes | Feature request? | no | BC Break report? | no | RFC? | no | Symfony version | 2.8.33 Example problem: ```php ->add('order', ChoiceType::class, [ 'expanded' => true, 'choices' => [ 'view' => 'news.search.order.view', 'name' => 'news.search.order.name', 'date' => 'news.search.order.date', ], 'empty_data' => 'date', ]) ``` In this case, i get an error at [this](https://github.com/symfony/symfony/blob/master/src/Symfony/Component/Form/Extension/Core/Type/ChoiceType.php#L94) line: > Warning: date() expects parameter 1 to be string, object given