Fatal error: Uncaught TypeError: Symfony\Component\Form\FormBuilder::add(): Argument #2 ($type) must be of type ?string, bip\form\type\survey\ListOneClosed given, called in /code_data/8.10.12/src/app/bip/form/type/SurveyFormType.php on line 37 and defined in /code_data/8.10.12/vendor/symfony/form/FormBuilder.php:48
Stack trace:
#0 /code_data/8.10.12/src/app/bip/form/type/SurveyFormType.php(37): Symfony\Component\Form\FormBuilder->add()
#1 /code_data/8.10.12/src/app/bip/controller/Survey.php(324): bip\form\type\SurveyFormType->buildForm()
#2 /code_data/8.10.12/src/app/bip/controller/Survey.php(88): bip\controller\Survey->resolveSurvey()
#3 /code_data/8.10.12/src/app/bip/Dispatcher.php(76): bip\controller\Survey->show()
#4 /code_data/8.10.12/src/app/bip/FrontController.php(113): bip\Dispatcher->run()
#5 /code_data/8.10.12/src/app/bip/FrontController.php(72): bip\FrontController->dispatch()
#6 /code_data/8.10.12/src/public/index.php(54): bip\FrontController->__construct()
#7 {main}
thrown in /code_data/8.10.12/vendor/symfony/form/FormBuilder.php on line 48