bonjour a tous et à toutes

Aidez-moi s-il vous plait. Je suis au bord de la crise de nerf

symfony (5) m'affiche un message "variable inexistante" alors qu'elle est bien initialisé dans mon controller!
j'ai beau vérifier et vérifier encore je ne trouve pas ou est mon erreur.

voici le message d’erreur


Nom : 2020-12-28 (2).png
Affichages : 319
Taille : 54,5 Ko


voici mon fichier twig

Code twig : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
{% block title %}home!{% endblock %}
 
{% block body %}
 
    <nav class="navbar sticky-top navbar-light bg-light">
        <div class="container-fluid">
            <a class="navbar-brand" href="#">Support client</a>
        </div>
    </nav>
 
    <div class="container">
   <h2 style="margin: 5%;text-align: center">Espace Client</h2>
        <div class="container">
 
            <div class="btn-group">
                <a href="#" class="btn btn-primary active" aria-current="page">Créer un ticket</a>
                <a href="#" class="btn btn-primary">Voir les tickets en cours</a>
                <a href="#" class="btn btn-primary">Voir mon profil</a>
            </div>
        </div>
        <h3 id="ticketFormTitle">Veuillez remplir tous les champs</h3>
    <div class="container" >
 
    <div class="form">
    <br>
        {{ form_start(form) }}
        {{ form_widget(form) }}
        <button type="submit">Envoyer !</button>
        {{ form_end(form) }}
 
    </div>
</div>
 
</div>
 {% endblock %}

voici mon contrôler et la méthode appellée

Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
    /**
     * création d'un ticket par le user
     * @Route("/home",name="creer_ticket")
     */
    public function creerTicket(EntityManagerInterface $em, Request $request)
    {
        //je crée un instance de l'objet  ticket
        $ticket = new Ticket();
        //on attribue automatiquement une date de création à chaque ticket crée
        $ticket->setDateCreation(new DateTime());
        //on génère le formulaire
        $ticketForm = $this->createForm(TicketType::class, $ticket);
        //je recupère la saisie du user depuis la requête
        $ticketForm->handleRequest($request);
        if ($ticketForm->isSubmitted() && $ticketForm->isValid()) {
 
            $em->persist($ticket);
            $em->flush();
 
            $this->addFlash('success', ' Votre ticket d\'incident  est bien crée !');
            return $this->redirectToRoute("voir_tickets");
        }
 
        return $this->render("home/index.html.twig", [
            "form" => $ticketForm->createView()
        ]);
    }
merci infiniment pour votre aide