Error 500 Internal Server Error

GET https://test.objetstrouves221.com/contact

Forwarded to ErrorController (b1b708)

Exceptions

Unable to find template "main/base.html.twig" (looked into: /home/c2694582c/public_html/objetstrouves221test/v1/templates, /home/c2694582c/public_html/objetstrouves221test/v1/vendor/symfony/twig-bridge/Resources/views/Form) in public/contact/index.html.twig at line 1.

Exception

Twig\Error\ LoaderError

Show exception properties
Twig\Error\LoaderError {#1123
  -lineno: 1
  -rawMessage: "Unable to find template "main/base.html.twig" (looked into: /home/c2694582c/public_html/objetstrouves221test/v1/templates, /home/c2694582c/public_html/objetstrouves221test/v1/vendor/symfony/twig-bridge/Resources/views/Form)."
  -source: Twig\Source {#1137
    -code: """
      {% extends 'main/base.html.twig' %}\r\n
      \r\n
      {% block title %}Contact\r\n
      {% endblock %}\r\n
      \r\n
      {% block main %}\r\n
      <style>\r\n
      \t.contact-form label i {\r\n
      \t\tcolor: #4A90E2;\r\n
      \t\tfont-size: 1.15em;\r\n
      \t\tmargin-right: 0.25em;\r\n
      \t\tvertical-align: middle;\r\n
      \t}\r\n
      \r\n
      \t.contact-form .form-control {\r\n
      \t\tborder: 2px solid #e3e6ed;\r\n
      \t\tborder-radius: 12px;\r\n
      \t\tpadding: 1.15rem 1.1rem;\r\n
      \t\tfont-size: 1.13rem;\r\n
      \t\tbackground: #f8fafc;\r\n
      \t\tbox-shadow: 0 2px 8px rgba(74, 144, 226, 0.04);\r\n
      \t\ttransition: border-color 0.2s, box-shadow 0.2s;\r\n
      \t\tmin-height: 56px;\r\n
      \t}\r\n
      \r\n
      \t.contact-form textarea.form-control {\r\n
      \t\tmin-height: 120px;\r\n
      \t\tresize: vertical;\r\n
      \t}\r\n
      \r\n
      \t.contact-form .form-control:focus {\r\n
      \t\tborder-color: #4A90E2;\r\n
      \t\tbackground: #fff;\r\n
      \t\tbox-shadow: 0 0 0 2px #D4AF3733;\r\n
      \t}\r\n
      \r\n
      \t.contact-form label {\r\n
      \t\tfont-weight: 500;\r\n
      \t\tcolor: #2C3E50;\r\n
      \t\tmargin-bottom: 0.35rem;\r\n
      \t\tletter-spacing: 0.2px;\r\n
      \t}\r\n
      \r\n
      \t.contact-form select.form-control {\r\n
      \t\tappearance: none;\r\n
      \t\tbackground-image: url('data:image/svg+xml;utf8, <svg fill="%234A90E2" height="20" viewBox="0 0 24 24" width="20" xmlns="http://www.w3.org/2000/svg"><path d="M7 10l5 5 5-5z"/></svg>');\r\n
      \t\tbackground-repeat: no-repeat;\r\n
      \t\tbackground-position: right 1rem center;\r\n
      \t\tbackground-size: 1.2em;\r\n
      \t}\r\n
      \r\n
      \t.contact-form .form-group {\r\n
      \t\tmargin-bottom: 1.2rem;\r\n
      \t}\r\n
      \r\n
      \t.contact-form .form-control::placeholder {\r\n
      \t\tcolor: #b0b8c1;\r\n
      \t\topacity: 1;\r\n
      \t}\r\n
      </style>\r\n
      <div class="container mt-5 py-5">\r\n
      \t<nav aria-label="breadcrumb" class="mb-4">\r\n
      \t\t<ol class="breadcrumb px-4 py-3 rounded-lg shadow-lg animate__animated animate__fadeInDown"\r\n
      \t\t\tstyle="background: linear-gradient(90deg, #f8fafc 0%, #e3e6ed 100%); font-size:1.12rem; border-left: 6px solid #4A90E2;">\r\n
      \t\t\t<li class="breadcrumb-item">\r\n
      \t\t\t\t<a href="/" class="d-flex align-items-center text-decoration-none"\r\n
      \t\t\t\t\tstyle="color:#4A90E2; font-weight:500;">\r\n
      \t\t\t\t\t<span class="mr-2"\r\n
      \t\t\t\t\t\tstyle="background: linear-gradient(90deg, #4A90E2 0%, #D4AF37 100%); border-radius:50%; padding:6px 8px; color:#fff; box-shadow:0 2px 8px rgba(74,144,226,0.12);">\r\n
      \t\t\t\t\t\t<i class="fas fa-home"></i>\r\n
      \t\t\t\t\t</span>\r\n
      \t\t\t\t\tAccueil\r\n
      \t\t\t\t</a>\r\n
      \t\t\t</li>\r\n
      \t\t\t<li class="breadcrumb-item active d-flex align-items-center text-dark" aria-current="page"\r\n
      \t\t\t\tstyle="font-weight:600;">\r\n
      \t\t\t\t<span class="mr-2"\r\n
      \t\t\t\t\tstyle="background: linear-gradient(90deg, #D4AF37 0%, #4A90E2 100%); border-radius:50%; padding:6px 8px; color:#fff; box-shadow:0 2px 8px rgba(212,175,55,0.12);">\r\n
      \t\t\t\t\t<i class="fas fa-envelope"></i>\r\n
      \t\t\t\t</span>\r\n
      \t\t\t\tContact\r\n
      \t\t\t</li>\r\n
      \t\t</ol>\r\n
      \t</nav>\r\n
      \t<div class="row justify-content-center">\r\n
      \t\t<div class="col-lg-12">\r\n
      \t\t\t<div class="card shadow-lg border-0 rounded-lg animate__animated animate__fadeIn">\r\n
      \t\t\t\t<div class="card-body p-5">\r\n
      \t\t\t\t\t<h2 class="mb-4 text-center text-primary">\r\n
      \t\t\t\t\t\t<i class="fas fa-envelope-open-text mr-2"></i>Contactez-nous\r\n
      \t\t\t\t\t</h2>\r\n
      \t\t\t\t\t<form id="contact-form" class="contact-form" method="post" action="{{ path('contact_submit') }}"\r\n
      \t\t\t\t\t\tnovalidate>\r\n
      \t\t\t\t\t\t<div class="form-row">\r\n
      \t\t\t\t\t\t\t<div class="form-group col-md-6">\r\n
      \t\t\t\t\t\t\t\t<label for="nom">\r\n
      \t\t\t\t\t\t\t\t\t<i class="fas fa-user mr-1"></i>Nom *</label>\r\n
      \t\t\t\t\t\t\t\t<input type="text" class="form-control" id="nom" name="nom" required\r\n
      \t\t\t\t\t\t\t\t\tplaceholder="Votre nom complet">\r\n
      \t\t\t\t\t\t\t</div>\r\n
      \t\t\t\t\t\t\t<div class="form-group col-md-6">\r\n
      \t\t\t\t\t\t\t\t<label for="email">\r\n
      \t\t\t\t\t\t\t\t\t<i class="fas fa-at mr-1"></i>Email *</label>\r\n
      \t\t\t\t\t\t\t\t<input type="email" class="form-control" id="email" name="email" required\r\n
      \t\t\t\t\t\t\t\t\tplaceholder="Votre adresse email">\r\n
      \t\t\t\t\t\t\t</div>\r\n
      \t\t\t\t\t\t</div>\r\n
      \t\t\t\t\t\t<div class="form-row">\r\n
      \t\t\t\t\t\t\t<div class="form-group col-md-6">\r\n
      \t\t\t\t\t\t\t\t<label for="sujet">\r\n
      \t\t\t\t\t\t\t\t\t<i class="fas fa-tag mr-1"></i>Sujet *</label>\r\n
      \t\t\t\t\t\t\t\t<select class="form-control" id="sujet" name="sujet" required>\r\n
      \t\t\t\t\t\t\t\t\t<option value="">-- Choisissez un sujet --</option>\r\n
      \t\t\t\t\t\t\t\t\t<option value="Demande d'information">Demande d'information</option>\r\n
      \t\t\t\t\t\t\t\t\t<option value="Demande de devis">Demande de devis</option>\r\n
      \t\t\t\t\t\t\t\t\t<option value="Voyage">Voyage</option>\r\n
      \t\t\t\t\t\t\t\t\t<option value="Études">Études</option>\r\n
      \t\t\t\t\t\t\t\t\t<option value="Réclamation">Réclamation</option>\r\n
      \t\t\t\t\t\t\t\t\t<option value="Autre">Autre</option>\r\n
      \t\t\t\t\t\t\t\t</select>\r\n
      \t\t\t\t\t\t\t</div>\r\n
      \t\t\t\t\t\t\t<div class="form-group col-md-6">\r\n
      \t\t\t\t\t\t\t\t<label for="message">\r\n
      \t\t\t\t\t\t\t\t\t<i class="fas fa-comment-dots mr-1"></i>Message *</label>\r\n
      \t\t\t\t\t\t\t\t<textarea class="form-control" id="message" name="message" rows="4" required\r\n
      \t\t\t\t\t\t\t\t\tplaceholder="Votre message..."></textarea>\r\n
      \t\t\t\t\t\t\t</div>\r\n
      \t\t\t\t\t\t</div>\r\n
      \t\t\t\t\t\t<div class="text-center mt-4">\r\n
      \t\t\t\t\t\t\t<button type="submit"\r\n
      \t\t\t\t\t\t\t\tclass="btn btn-primary btn-lg px-5 animate__animated animate__pulse animate__infinite"\r\n
      \t\t\t\t\t\t\t\tstyle="background: linear-gradient(90deg, #4A90E2 0%, #D4AF37 100%); border: none;">\r\n
      \t\t\t\t\t\t\t\t<i class="fas fa-paper-plane mr-2"></i>Envoyer\r\n
      \t\t\t\t\t\t\t</button>\r\n
      \t\t\t\t\t\t</div>\r\n
      \t\t\t\t\t</form>\r\n
      \t\t\t\t\t{% if app.session.flashBag.has('success') %}\r\n
      \t\t\t\t\t<div class="alert alert-success mt-4 text-center animate__animated animate__fadeInDown">\r\n
      \t\t\t\t\t\t<i class="fas fa-check-circle mr-2"></i>\r\n
      \t\t\t\t\t\t{{ app.session.flashBag.get('success')[0] }}\r\n
      \t\t\t\t\t</div>\r\n
      \t\t\t\t\t{% endif %}\r\n
      \t\t\t\t\t{% if app.session.flashBag.has('error') %}\r\n
      \t\t\t\t\t<div class="alert alert-danger mt-4 text-center animate__animated animate__shakeX">\r\n
      \t\t\t\t\t\t<i class="fas fa-exclamation-triangle mr-2"></i>\r\n
      \t\t\t\t\t\t{{ app.session.flashBag.get('error')[0] }}\r\n
      \t\t\t\t\t</div>\r\n
      \t\t\t\t\t{% endif %}\r\n
      \t\t\t\t</div>\r\n
      \t\t\t</div>\r\n
      \t\t\t<div class="mt-5 text-center">\r\n
      \t\t\t\t<div class="row mb-4">\r\n
      \t\t\t\t\t<div class="col-md-3">\r\n
      \t\t\t\t\t\t<div class="p-3 shadow-sm rounded-lg bg-light border-top border-primary">\r\n
      \t\t\t\t\t\t\t<i class="fas fa-phone fa-2x text-primary mb-3"></i>\r\n
      \t\t\t\t\t\t\t<h5 class="text-dark">Téléphone</h5>\r\n
      \t\t\t\t\t\t\t<p class="text-muted small">{{ site.telephone|default('+33 1 23 45 67 89') }}</p>\r\n
      \t\t\t\t\t\t</div>\r\n
      \t\t\t\t\t</div>\r\n
      \t\t\t\t\t<div class="col-md-3">\r\n
      \t\t\t\t\t\t{% if site.whatsapp %}\r\n
      \t\t\t\t\t\t<a href="https://wa.me/{{ site.whatsapp|replace({' ': '', '+': ''}) }}" target="_blank"\r\n
      \t\t\t\t\t\t\tclass="text-decoration-none">\r\n
      \t\t\t\t\t\t\t<div class="p-3 shadow-sm rounded-lg bg-light border-top border-success h-100">\r\n
      \t\t\t\t\t\t\t\t<i class="fab fa-whatsapp fa-2x text-success mb-3"></i>\r\n
      \t\t\t\t\t\t\t\t<h5 class="text-dark">WhatsApp</h5>\r\n
      \t\t\t\t\t\t\t\t<p class="text-muted small">Discuter maintenant</p>\r\n
      \t\t\t\t\t\t\t</div>\r\n
      \t\t\t\t\t\t</a>\r\n
      \t\t\t\t\t\t{% else %}\r\n
      \t\t\t\t\t\t<div class="p-3 shadow-sm rounded-lg bg-light border-top border-success opacity-50">\r\n
      \t\t\t\t\t\t\t<i class="fab fa-whatsapp fa-2x text-success mb-3"></i>\r\n
      \t\t\t\t\t\t\t<h5 class="text-dark">WhatsApp</h5>\r\n
      \t\t\t\t\t\t\t<p class="text-muted small">Non disponible</p>\r\n
      \t\t\t\t\t\t</div>\r\n
      \t\t\t\t\t\t{% endif %}\r\n
      \t\t\t\t\t</div>\r\n
      \t\t\t\t\t<div class="col-md-3">\r\n
      \t\t\t\t\t\t<div class="p-3 shadow-sm rounded-lg bg-light border-top border-warning">\r\n
      \t\t\t\t\t\t\t<i class="fas fa-envelope fa-2x text-warning mb-3"></i>\r\n
      \t\t\t\t\t\t\t<h5 class="text-dark">Email</h5>\r\n
      \t\t\t\t\t\t\t<p class="text-muted small">{{ site.email_contact|default(site.email) }}</p>\r\n
      \t\t\t\t\t\t</div>\r\n
      \t\t\t\t\t</div>\r\n
      \t\t\t\t\t<div class="col-md-3">\r\n
      \t\t\t\t\t\t<div class="p-3 shadow-sm rounded-lg bg-light border-top border-info">\r\n
      \t\t\t\t\t\t\t<i class="fas fa-map-marker-alt fa-2x text-info mb-3"></i>\r\n
      \t\t\t\t\t\t\t<h5 class="text-dark">Adresse</h5>\r\n
      \t\t\t\t\t\t\t<p class="text-muted small">{{ site.adresse|default('Paris, France') }}</p>\r\n
      \t\t\t\t\t\t</div>\r\n
      \t\t\t\t\t</div>\r\n
      \t\t\t\t</div>\r\n
      \t\t\t\t<iframe\r\n
      \t\t\t\t\tsrc="https://www.google.com/maps?q={{ site.adresse|default('Paris,+France')|url_encode }}&output=embed"\r\n
      \t\t\t\t\twidth="100%" height="250" frameborder="0" style="border-radius: 12px; border:0;" allowfullscreen=""\r\n
      \t\t\t\t\taria-hidden="false" tabindex="0"></iframe>\r\n
      \t\t\t</div>\r\n
      \t\t</div>\r\n
      \t</div>\r\n
      </div>\r\n
      <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/animate.css/4.1.1/animate.min.css" />\r\n
      {% endblock %}\r\n
      {% block javascripts %}\r\n
      <script>\r\n
      \t// Compter une vue après 15s de visualisation suite au clic sur le lien\r\n
      \t$(document).ready(function () {\r\n
      \t\tsetTimeout(function () {\r\n
      \t\t\t$.ajax({\r\n
      \t\t\t\turl: '/track-view/contact', type: 'POST', success: function () { // Optionnel : afficher une confirmation ou log\r\n
      \t\t\t\t}\r\n
      \t\t\t});\r\n
      \t\t}, 15000); // 15 secondes\r\n
      \r\n
      \t});\r\n
      </script>\r\n
      {% endblock %}
      """
    -name: "public/contact/index.html.twig"
    -path: "/home/c2694582c/public_html/objetstrouves221test/v1/templates/public/contact/index.html.twig"
  }
  -phpFile: "/home/c2694582c/public_html/objetstrouves221test/v1/vendor/twig/twig/src/Loader/FilesystemLoader.php"
  -phpLine: 234
}
  1. {% extends 'main/base.html.twig' %}
  2. {% block title %}Contact
  3. {% endblock %}
  4. {% block main %}
  1.         return new Source(file_get_contents($path), $name$path);
  2.     }
  3.     public function getCacheKey(string $name): string
  4.     {
  5.         if (null === $path $this->findTemplate($name)) {
  6.             return '';
  7.         }
  8.         $len \strlen($this->rootPath);
  9.         if (=== strncmp($this->rootPath$path$len)) {
  10.             return substr($path$len);
in vendor/twig/twig/src/Environment.php -> getCacheKey (line 317)
  1.      *
  2.      * @internal
  3.      */
  4.     public function getTemplateClass(string $name, ?int $index null): string
  5.     {
  6.         $key = ($this->hotCache[$name] ?? $this->getLoader()->getCacheKey($name)).$this->optionsHash;
  7.         return '__TwigTemplate_'.hash(\PHP_VERSION_ID 80100 'sha256' 'xxh128'$key).(null === $index '' '___'.$index);
  8.     }
  9.     /**
in vendor/twig/twig/src/Template.php -> getTemplateClass (line 290)
  1.                 $class = static::class;
  2.                 if (false !== $pos strrpos($class'___', -1)) {
  3.                     $class substr($class0$pos);
  4.                 }
  5.             } else {
  6.                 $class $this->env->getTemplateClass($template);
  7.             }
  8.             return $this->env->loadTemplate($class$template$index);
  9.         } catch (Error $e) {
  10.             if (!$e->getSourceContext()) {
  1.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""public/contact/index.html.twig"));
  2.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  3.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""public/contact/index.html.twig"));
  4.         $this->parent $this->load("main/base.html.twig"1);
  5.         yield from $this->parent->unwrap()->yield($contextarray_merge($this->blocks$blocks));
  6.         
  7.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  8.         
in vendor/twig/twig/src/Template.php -> doDisplay (line 402)
  1.     {
  2.         $context += $this->env->getGlobals();
  3.         $blocks array_merge($this->blocks$blocks);
  4.         try {
  5.             yield from $this->doDisplay($context$blocks);
  6.         } catch (Error $e) {
  7.             if (!$e->getSourceContext()) {
  8.                 $e->setSourceContext($this->getSourceContext());
  9.             }
  1.         return $this->blocks;
  2.     }
  3.     public function display(array $context, array $blocks = []): void
  4.     {
  5.         foreach ($this->yield($context$blocks) as $data) {
  6.             echo $data;
  7.         }
  8.     }
  9.     public function render(array $context): string
in vendor/twig/twig/src/Template.php -> display (line 373)
  1.                 ob_start();
  2.             } else {
  3.                 ob_start(function () { return ''; });
  4.             }
  5.             try {
  6.                 $this->display($context);
  7.             } catch (\Throwable $e) {
  8.                 while (ob_get_level() > $level) {
  9.                     ob_end_clean();
  10.                 }
  1.         yield from $this->template->yieldBlock($name$context);
  2.     }
  3.     public function render(array $context = []): string
  4.     {
  5.         return $this->template->render($context);
  6.     }
  7.     /**
  8.      * @return void
  9.      */
  1.      * @throws SyntaxError  When an error occurred during compilation
  2.      * @throws RuntimeError When an error occurred during rendering
  3.      */
  4.     public function render($name, array $context = []): string
  5.     {
  6.         return $this->load($name)->render($context);
  7.     }
  8.     /**
  9.      * Displays a template.
  10.      *
  1.         if (null !== $block) {
  2.             return $this->container->get('twig')->load($view)->renderBlock($block$parameters);
  3.         }
  4.         return $this->container->get('twig')->render($view$parameters);
  5.     }
  6.     private function doRender(string $view, ?string $block, array $parameters, ?Response $responsestring $method): Response
  7.     {
  8.         $content $this->doRenderView($view$block$parameters$method);
  1.         return $this->container->get('twig')->render($view$parameters);
  2.     }
  3.     private function doRender(string $view, ?string $block, array $parameters, ?Response $responsestring $method): Response
  4.     {
  5.         $content $this->doRenderView($view$block$parameters$method);
  6.         $response ??= new Response();
  7.         if (200 === $response->getStatusCode()) {
  8.             foreach ($parameters as $v) {
  9.                 if ($v instanceof FormInterface && $v->isSubmitted() && !$v->isValid()) {
  1.      * If an invalid form is found in the list of parameters, a 422 status code is returned.
  2.      * Forms found in parameters are auto-cast to form views.
  3.      */
  4.     protected function render(string $view, array $parameters = [], ?Response $response null): Response
  5.     {
  6.         return $this->doRender($viewnull$parameters$response__FUNCTION__);
  7.     }
  8.     /**
  9.      * Renders a block in a view.
  10.      *
AbstractController->render() in src/Controller/Public/ContactController.php (line 22)
  1. class ContactController extends AbstractController
  2. {
  3.     #[Route('/contact'name'contact')]
  4.     public function index(): Response
  5.     {
  6.         return $this->render('public/contact/index.html.twig');
  7.     }
  8.     #[Route('/contact/submit'name'contact_submit'methods: ['POST'])]
  9.     public function submit(Request $request,NotificationService $notificationServiceEntityManagerInterface $emValidatorInterface $validatorUserRepository $userRepositoryRecaptchaService $recaptcha): Response
  10.     {
  1.         $this->dispatcher->dispatch($eventKernelEvents::CONTROLLER_ARGUMENTS);
  2.         $controller $event->getController();
  3.         $arguments $event->getArguments();
  4.         // call controller
  5.         $response $controller(...$arguments);
  6.         // view
  7.         if (!$response instanceof Response) {
  8.             $event = new ViewEvent($this$request$type$response$event);
  9.             $this->dispatcher->dispatch($eventKernelEvents::VIEW);
  1.         $request->headers->set('X-Php-Ob-Level', (string) ob_get_level());
  2.         $this->requestStack->push($request);
  3.         $response null;
  4.         try {
  5.             return $response $this->handleRaw($request$type);
  6.         } catch (\Throwable $e) {
  7.             if ($e instanceof \Error && !$this->handleAllThrowables) {
  8.                 throw $e;
  9.             }
  1.         if (!$this->handlingHttpCache) {
  2.             $this->resetServices true;
  3.         }
  4.         try {
  5.             return $this->getHttpKernel()->handle($request$type$catch);
  6.         } finally {
  7.             --$this->requestStackSize;
  8.         }
  9.     }
  1.     ) {
  2.     }
  3.     public function run(): int
  4.     {
  5.         $response $this->kernel->handle($this->request);
  6.         if (Kernel::VERSION_ID >= 60400) {
  7.             $response->send(false);
  8.             if (\function_exists('fastcgi_finish_request') && !$this->debug) {
in vendor/autoload_runtime.php -> run (line 32)
  1. $app $app(...$args);
  2. exit(
  3.     $runtime
  4.         ->getRunner($app)
  5.         ->run()
  6. );
require_once('/home/c2694582c/public_html/objetstrouves221test/v1/vendor/autoload_runtime.php') in public/index.php (line 5)
  1. <?php
  2. use App\Kernel;
  3. require_once dirname(__DIR__).'/vendor/autoload_runtime.php';
  4. return function (array $context) {
  5.     return new Kernel($context['APP_ENV'], (bool) $context['APP_DEBUG']);
  6. };

Logs

Level Channel Message
INFO 21:39:08 request Matched route "_profiler".
{
    "route": "_profiler",
    "route_parameters": {
        "_route": "_profiler",
        "_controller": "web_profiler.controller.profiler::panelAction",
        "token": "505c71"
    },
    "request_uri": "https://test.objetstrouves221.com/_profiler/505c71",
    "method": "GET"
}
INFO 21:39:08 doctrine Connecting with parameters {params}
{
    "params": {
        "use_savepoints": true,
        "driver": "pdo_mysql",
        "idle_connection_ttl": 600,
        "host": "127.0.0.1",
        "port": 3306,
        "user": "c2694582c_test_objetstrouves221",
        "password": "<redacted>",
        "driverOptions": [],
        "defaultTableOptions": [],
        "dbname": "c2694582c_test_objetstrouves221",
        "serverVersion": "8.0.32",
        "charset": "utf8mb4"
    }
}
DEBUG 21:39:08 doctrine Executing query: SELECT t0.id AS id_1, t0.site_name AS site_name_2, t0.email_principal AS email_principal_3, t0.email_contact AS email_contact_4, t0.telephone AS telephone_5, t0.whatsapp AS whatsapp_6, t0.adresse AS adresse_7, t0.facebook AS facebook_8, t0.instagram AS instagram_9, t0.twitter AS twitter_10, t0.is_maintenance_mode AS is_maintenance_mode_11, t0.maintenance_message AS maintenance_message_12, t0.logo AS logo_13, t0.description AS description_14 FROM global_setting t0 LIMIT 1
{
    "sql": "SELECT t0.id AS id_1, t0.site_name AS site_name_2, t0.email_principal AS email_principal_3, t0.email_contact AS email_contact_4, t0.telephone AS telephone_5, t0.whatsapp AS whatsapp_6, t0.adresse AS adresse_7, t0.facebook AS facebook_8, t0.instagram AS instagram_9, t0.twitter AS twitter_10, t0.is_maintenance_mode AS is_maintenance_mode_11, t0.maintenance_message AS maintenance_message_12, t0.logo AS logo_13, t0.description AS description_14 FROM global_setting t0 LIMIT 1"
}
DEBUG 21:39:08 doctrine Executing statement: SELECT COUNT(*) FROM objet_trouve t0 WHERE t0.statut = ? AND t0.deleted_at IS NULL (parameters: {params}, types: {types})

                            
DEBUG 21:39:08 doctrine Executing statement: SELECT COUNT(*) FROM reclamation t0 WHERE t0.statut = ? (parameters: {params}, types: {types})

                            
DEBUG 21:39:08 doctrine Executing statement: SELECT COUNT(*) FROM message_contact t0 WHERE t0.is_read = ? (parameters: {params}, types: {types})

                            

Stack Trace

LoaderError
Twig\Error\LoaderError:
Unable to find template "main/base.html.twig" (looked into: /home/c2694582c/public_html/objetstrouves221test/v1/templates, /home/c2694582c/public_html/objetstrouves221test/v1/vendor/symfony/twig-bridge/Resources/views/Form) in "public/contact/index.html.twig" at line 1.

  at templates/public/contact/index.html.twig:1
  at Twig\Loader\FilesystemLoader->findTemplate()
     (vendor/twig/twig/src/Loader/FilesystemLoader.php:138)
  at Twig\Loader\FilesystemLoader->getCacheKey()
     (vendor/twig/twig/src/Environment.php:317)
  at Twig\Environment->getTemplateClass()
     (vendor/twig/twig/src/Template.php:290)
  at Twig\Template->load()
     (var/cache/dev/twig/1f/1f47055cc1ab72c76cbaaa609f4f7023.php:54)
  at __TwigTemplate_d6e451f452c017ac5d742e78e878dda5->doDisplay()
     (vendor/twig/twig/src/Template.php:402)
  at Twig\Template->yield()
     (vendor/twig/twig/src/Template.php:358)
  at Twig\Template->display()
     (vendor/twig/twig/src/Template.php:373)
  at Twig\Template->render()
     (vendor/twig/twig/src/TemplateWrapper.php:51)
  at Twig\TemplateWrapper->render()
     (vendor/twig/twig/src/Environment.php:333)
  at Twig\Environment->render()
     (vendor/symfony/framework-bundle/Controller/AbstractController.php:467)
  at Symfony\Bundle\FrameworkBundle\Controller\AbstractController->doRenderView()
     (vendor/symfony/framework-bundle/Controller/AbstractController.php:472)
  at Symfony\Bundle\FrameworkBundle\Controller\AbstractController->doRender()
     (vendor/symfony/framework-bundle/Controller/AbstractController.php:284)
  at Symfony\Bundle\FrameworkBundle\Controller\AbstractController->render()
     (src/Controller/Public/ContactController.php:22)
  at App\Controller\Public\ContactController->index()
     (vendor/symfony/http-kernel/HttpKernel.php:183)
  at Symfony\Component\HttpKernel\HttpKernel->handleRaw()
     (vendor/symfony/http-kernel/HttpKernel.php:76)
  at Symfony\Component\HttpKernel\HttpKernel->handle()
     (vendor/symfony/http-kernel/Kernel.php:193)
  at Symfony\Component\HttpKernel\Kernel->handle()
     (vendor/symfony/runtime/Runner/Symfony/HttpKernelRunner.php:35)
  at Symfony\Component\Runtime\Runner\Symfony\HttpKernelRunner->run()
     (vendor/autoload_runtime.php:32)
  at require_once('/home/c2694582c/public_html/objetstrouves221test/v1/vendor/autoload_runtime.php')
     (public/index.php:5)