Citation:
Symfony\Component\OptionsResolver\Exception\UndefinedOptionsException:
The options "allow_add", "entry_options", "entry_type" do not exist. Defined options are: "action", "allow_extra_fields", "attr", "auto_initialize", "block_name", "by_reference", "choice_attr", "choice_label", "choice_loader", "choice_name", "choice_translation_domain", "choice_value", "choices", "class", "compound", "constraints", "csrf_field_name", "csrf_message", "csrf_protection", "csrf_token_id", "csrf_token_manager", "data", "data_class", "disabled", "em", "empty_data", "error_bubbling", "error_mapping", "expanded", "extra_fields_message", "group_by", "help", "id_reader", "inherit_data", "invalid_message", "invalid_message_parameters", "label", "label_attr", "label_format", "mapped", "method", "multiple", "placeholder", "post_max_size_message", "preferred_choices", "property_path", "query_builder", "required", "translation_domain", "trim", "upload_max_size_message", "validation_groups".
Apparemment, ça proviendrait de ces lignes, du fait que je n'ai plus d'erreur lorsque je les supprime :