Closed
Description
Q | A |
---|---|
Bug report? | yes |
Feature request? | no |
BC Break report? | no |
RFC? | no |
Symfony version | 4.0.0 |
➜ tmp.3oyTrHIJZT git:(master) php bin/console debug:form Symfony\\Component\\Form\\Extension\\Core\\Type\\ChoiceType -v
Symfony\Component\Form\Extension\Core\Type\ChoiceType (Block prefix: "choice")
==============================================================================
2017-12-08T21:11:24+10:00 [error] Error thrown while running command "debug:form 'Symfony\Component\Form\Extension\Core\Type\ChoiceType' -v". Message: "Warning: strstr() expects parameter 1 to be string, array given"
In Table.php line 413:
[ErrorException]
Warning: strstr() expects parameter 1 to be string, array given
Exception trace:
Symfony\Component\Console\Helper\Table->buildTableRows() at /tmp/tmp.3oyTrHIJZT/vendor/symfony/console/Helper/Table.php:277
Symfony\Component\Console\Helper\Table->render() at /tmp/tmp.3oyTrHIJZT/vendor/symfony/console/Style/SymfonyStyle.php:189
Symfony\Component\Console\Style\SymfonyStyle->table() at /tmp/tmp.3oyTrHIJZT/vendor/symfony/form/Console/Descriptor/TextDescriptor.php:86
Symfony\Component\Form\Console\Descriptor\TextDescriptor->describeResolvedFormType() at /tmp/tmp.3oyTrHIJZT/vendor/symfony/form/Console/Descriptor/Descriptor.php:55
Symfony\Component\Form\Console\Descriptor\Descriptor->describe() at /tmp/tmp.3oyTrHIJZT/vendor/symfony/console/Helper/DescriptorHelper.php:69
Symfony\Component\Console\Helper\DescriptorHelper->describe() at /tmp/tmp.3oyTrHIJZT/vendor/symfony/form/Command/DebugCommand.php:137
Symfony\Component\Form\Command\DebugCommand->execute() at /tmp/tmp.3oyTrHIJZT/vendor/symfony/console/Command/Command.php:252
Symfony\Component\Console\Command\Command->run() at /tmp/tmp.3oyTrHIJZT/vendor/symfony/console/Application.php:872
Symfony\Component\Console\Application->doRunCommand() at /tmp/tmp.3oyTrHIJZT/vendor/symfony/framework-bundle/Console/Application.php:83
Symfony\Bundle\FrameworkBundle\Console\Application->doRunCommand() at /tmp/tmp.3oyTrHIJZT/vendor/symfony/console/Application.php:233
Symfony\Component\Console\Application->doRun() at /tmp/tmp.3oyTrHIJZT/vendor/symfony/framework-bundle/Console/Application.php:71
Symfony\Bundle\FrameworkBundle\Console\Application->doRun() at /tmp/tmp.3oyTrHIJZT/vendor/symfony/console/Application.php:143
Symfony\Component\Console\Application->run() at /tmp/tmp.3oyTrHIJZT/bin/console:39
debug:form [--format FORMAT] [-h|--help] [-q|--quiet] [-v|vv|vvv|--verbose] [-V|--version] [--ansi] [--no-ansi] [-n|--no-interaction] [-e|--env ENV] [--no-debug] [--] <command> [<class>] [<option>]