Error 500 Internal Server Error

GET https://strasbourg.curieux.app/agenda/categorie/degustation-biere

Forwarded to ErrorController (e3470c)

Exceptions

An exception has been thrown during the rendering of a template ("An exception occurred while executing a query: SQLSTATE[42S02]: Base table or view not found: 1146 Table 'curieum2021.subdomain' doesn't exist") in components/_partials/navbar.html.twig at line 14.

Exceptions 4

Twig\Error\ RuntimeError

Show exception properties
Twig\Error\RuntimeError {#1209
  -lineno: 14
  -rawMessage: "An exception has been thrown during the rendering of a template ("An exception occurred while executing a query: SQLSTATE[42S02]: Base table or view not found: 1146 Table 'curieum2021.subdomain' doesn't exist")."
  -source: Twig\Source {#1208
    -code: """
      {% set urlParams = searchDto.generateQueryParameters() %}\n
      {% set domain = get_domain() %}\n
      \n
      <nav class="navbar navbar-expand-lg bg-white">\n
        <div class="container">\n
          <!-- Logo -->\n
            <div class="navbar-brand d-flex align-items-center mx-2">\n
      \n
              <a href="/agenda{# {{ path(urlParams.route) }} #}">\n
                <img width="70px" src="/uploads/logo-curieux.png" alt="Logo-Curieux">\n
              </a>\n
      \n
              <a href="/agenda">\n
                <span class="title-site">{{ get_website() }}</span>\n
              </a>\n
              <div class="dropdown mt-0">\n
                <a class="dropdown-toggle dropdown-toggle-split" id="navbarWebsite" role="button" data-bs-toggle="dropdown" aria-haspopup="true" aria-expanded="false">\n
                  {#<h1 class="h4 d-inline">{{ website }}</h1>\n
                  <span class="sr-only"></span>#}\n
                </a>\n
                <ul class="dropdown-menu dropdown-menu-end" aria-labelledby="navbarWebsite">\n
                  {% for subdomain in get_subdomains() %}\n
                    <li><a class="dropdown-item" href="http://{{ subdomain.slug }}.{{ domain }}/agenda">{{ subdomain.name }}</a></li>\n
                  {% endfor %}\n
                  <li><hr class="dropdown-divider"></li>\n
                  <li><a class="dropdown-item" href="http://www.{{ domain }}/agenda">Toutes les villes</a></li>\n
                </ul>\n
              </div>\n
      \n
            </a>\n
            \n
            \n
            {# <div class="btn-group dropdown-site">\n
              <div class="btn dropdown-toggle dropdown-other-website" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">\n
                  <h1 class="h4 d-inline">{{ website }}</h1>\n
                  <span class="sr-only"></span>\n
              </div>\n
              <div class="dropdown-menu dropdown-menu-right dropdown-menu-other-website">\n
                <div class="dropdown-divider"></div>\n
                <div class="dropdown-divider"></div>\n
                \n
                {% set direction = "" %}\n
                {% if app.request.get('_route') not in ["event_show","place_show"] %}\n
                    {% set direction = app.request.server.get('REQUEST_URI') %}\n
                {% endif %}\n
      \n
                {% if website.arounds|length > 0 %}\n
                    <a class="dropdown-item disabled" href="#">VOIR AUSSI SUR</a>\n
                    {% for site in website.arounds %}\n
                        <a class="dropdown-item" href="https://{{ site.slug }}.curieux.net{{ direction }}">{{ site.name }}</a>\n
                    {% endfor %}\n
                    <div class="dropdown-divider"></div>\n
                {% endif %} \n
                \n
                {% if website.address.subdomain != "www" %}\n
                    <a class="dropdown-item" href="https://www.curieux.net{{ direction }}">Toutes les villes</a>\n
                {% endif %}\n
                \n
              </div>\n
            </div>#}\n
          </div>\n
      \n
          <!-- Bouton burger pour mobile -->\n
          <button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbarNavDropdown" aria-controls="navbarNavDropdown" aria-expanded="false" aria-label="Toggle navigation">\n
            <span class="navbar-toggler-icon"></span>\n
          </button>\n
      \n
          <!-- Contenu de la navbar -->\n
          <div class="collapse navbar-collapse" id="navbarNavDropdown">\n
            <ul class="navbar-nav me-auto mb-2 mb-lg-0">\n
      \n
              <li class="nav-item">\n
                <a \n
                  class="nav-link {% if app.request.get('_route') starts with 'app_event' %}active{% endif %}"\n
                  {% if app.request.get('_route') starts with 'app_event' %}aria-current="page"{% endif %}\n
                  href="{{ path('app_event_index') }}"\n
                >Agenda</a>\n
              </li>\n
              <li class="nav-item">\n
                <a \n
                  class="nav-link {% if app.request.get('_route') starts with 'app_place' %}active{% endif %}"\n
                  {% if app.request.get('_route') starts with 'app_place' %}aria-current="page"{% endif %}\n
                  href="{{ path('app_place_index') }}"\n
                >Annuaire</a>\n
              </li>\n
      \n
              <li class="nav-item px-2 mt-2" style="color: #888;">VERSION TEST</li>\n
      \n
      \n
              {#<li class="nav-item dropdown">\n
                <a class="nav-link dropdown-toggle" href="#" id="navbarDropdown" role="button" data-bs-toggle="dropdown" aria-expanded="false">\n
                  Services\n
                </a>\n
                <ul class="dropdown-menu" aria-labelledby="navbarDropdown">\n
                  <li><a class="dropdown-item" href="#">Consultation</a></li>\n
                  <li><a class="dropdown-item" href="#">Développement</a></li>\n
                  <li><hr class="dropdown-divider"></li>\n
                  <li><a class="dropdown-item" href="#">Support</a></li>\n
                </ul>\n
              </li>\n
              <li class="nav-item">\n
                <a class="nav-link" href="{{ path(urlParams.route, urlParams.params|merge(urlParams.query)) }}">Contact</a>\n
              </li> #}\n
            </ul>\n
      \n
            <!-- Formulaire de recherche -->\n
            {# <twig:event_filter_search :searchDto="searchDto" /> #}\n
      \n
            <!-- Bouton call-to-action -->\n
      \n
            {# <a href="{{ path("app_event_new") }}" class="btn btn-primary rounded-pill px-4 shadow f-right">Annoncer un évènement</a> #}\n
            {{ component('button:primary', { text: 'Annoncer un évènement', href: (path("app_event_new")) }) }}\n
            {# <twig:button:primary \n
                text="Annoncer un évènement" \n
                href="{{ path("app_event_new") }}" \n
                class="btn btn-outline-success me-2" \n
                data-bs-toggle="modal" \n
                data-bs-target="#modal_new_event"\n
                data-turbo="true"\n
              /> #}\n
          </div>\n
        </div>\n
      </nav>\n
      \n
      {# \n
      \n
      {% if show_modals %}    \n
        <div class="modal fade" \n
              id="modal_new_event" \n
              tabindex="-1" \n
              aria-labelledby="eventModalLabel"\n
        >\n
        <div class="modal-dialog modal-xl">\n
          <div class="modal-content">\n
            <div class="modal-header">\n
              <h5 class="modal-title">Annoncer un évènement</h5>\n
              <button type="button" class="btn-close" data-bs-dismiss="modal" aria-label="Close"></button>\n
            </div>\n
            <div class="modal-body">\n
              <turbo-frame id="modal_new_event" \n
                src="{{ path('app_event_new') }}" \n
                loading="lazy"\n
                data-turbo-action="advance"\n
              >\n
                <div class="text-center">\n
                  <div class="spinner-border spinner-border-sm" role="status">\n
                    <span class="visually-hidden">Chargement...</span>\n
                  </div>\n
                </div>\n
              </turbo-frame>\n
            </div>\n
          </div>\n
        </div>\n
      {% endif %} #}
      """
    -name: "components/_partials/navbar.html.twig"
    -path: "/var/www/curieux.app/templates/components/_partials/navbar.html.twig"
  }
  -phpFile: "/var/www/curieux.app/vendor/twig/twig/src/Template.php"
  -phpLine: 416
}
  1. <a href="/agenda{# {{ path(urlParams.route) }} #}">
  2. <img width="70px" src="/uploads/logo-curieux.png" alt="Logo-Curieux">
  3. </a>
  4. <a href="/agenda">
  5. <span class="title-site">{{ get_website() }}</span>
  6. </a>
  7. <div class="dropdown mt-0">
  8. <a class="dropdown-toggle dropdown-toggle-split" id="navbarWebsite" role="button" data-bs-toggle="dropdown" aria-haspopup="true" aria-expanded="false">
  9. {#<h1 class="h4 d-inline">{{ website }}</h1>
  10. <span class="sr-only"></span>#}
  1. $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "navbar"));
  2. $__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  3. $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "navbar"));
  4. yield from $this->load("components/_partials/navbar.html.twig", 29)->unwrap()->yield($context);
  5. $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  6. $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
in vendor/twig/twig/src/Template.php -> block_navbar (line 446)
  1. throw new \LogicException('A block must be a method on a \Twig\Template instance.');
  2. }
  3. if (null !== $template) {
  4. try {
  5. yield from $template->$block($context, $blocks);
  6. } catch (Error $e) {
  7. if (!$e->getSourceContext()) {
  8. $e->setSourceContext($template->getSourceContext());
  9. }
  1. // line 27
  2. yield "\t</head>
  3. \t<body>
  4. \t\t";
  5. // line 29
  6. yield from $this->unwrap()->yieldBlock('navbar', $context, $blocks);
  7. // line 30
  8. yield " ";
  9. // line 32
  10. yield "\t\t";
  11. yield from $this->unwrap()->yieldBlock('body', $context, $blocks);
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. $__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  2. $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "event/index.html.twig"));
  3. $this->parent = $this->load("base.html.twig", 1);
  4. yield from $this->parent->unwrap()->yield($context, array_merge($this->blocks, $blocks));
  5. $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  6. $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
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 $response, string $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 $response, string $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($view, null, $parameters, $response, __FUNCTION__);
  7. }
  8. /**
  9. * Renders a block in a view.
  10. *
AbstractController->render() in src/Controller/EventController.php (line 240)
  1. // Déterminer le template et les variables selon le contexte
  2. $templateVars = $this->getTemplateVariables($searchDto, $pathway, $slug);
  3. //dump($templateVars);
  4. return $this->render('event/index.html.twig', $templateVars);
  5. }
  6. private function handleCategoryPath(string $slug, SearchDto $searchDto): ?Category
  7. {
  8. $entity = $this->categoryRepository->findOneBy(['slug' => $slug]);
  1. $this->dispatcher->dispatch($event, KernelEvents::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($event, KernelEvents::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. $this->boot();
  2. ++$this->requestStackSize;
  3. $this->resetServices = true;
  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 29)
  1. $app = $app(...$args);
  2. exit(
  3. $runtime
  4. ->getRunner($app)
  5. ->run()
  6. );
require_once('/var/www/curieux.app/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. };

Doctrine\DBAL\Exception\ TableNotFoundException

An exception occurred while executing a query: SQLSTATE[42S02]: Base table or view not found: 1146 Table 'curieum2021.subdomain' doesn't exist

  1. case 1050:
  2. return new TableExistsException($exception, $query);
  3. case 1051:
  4. case 1146:
  5. return new TableNotFoundException($exception, $query);
  6. case 1216:
  7. case 1217:
  8. case 1451:
  9. case 1452:
  1. private function handleDriverException(
  2. Driver\Exception $driverException,
  3. ?Query $query
  4. ): DriverException {
  5. $this->exceptionConverter ??= $this->_driver->getExceptionConverter();
  6. $exception = $this->exceptionConverter->convert($driverException, $query);
  7. if ($exception instanceof ConnectionLost) {
  8. $this->close();
  9. }
in vendor/doctrine/dbal/src/Connection.php -> handleDriverException (line 1918)
  1. Driver\Exception $e,
  2. string $sql,
  3. array $params = [],
  4. array $types = []
  5. ): DriverException {
  6. return $this->handleDriverException($e, new Query($sql, $params, $types));
  7. }
  8. /** @internal */
  9. final public function convertException(Driver\Exception $e): DriverException
  10. {
in vendor/doctrine/dbal/src/Connection.php -> convertExceptionDuringQuery (line 1111)
  1. $result = $connection->query($sql);
  2. }
  3. return new Result($result, $this);
  4. } catch (Driver\Exception $e) {
  5. throw $this->convertExceptionDuringQuery($e, $sql, $params, $types);
  6. } finally {
  7. if ($logger !== null) {
  8. $logger->stopQuery();
  9. }
  10. }
  1. ): object|null {
  2. $this->switchPersisterContext(null, $limit);
  3. $sql = $this->getSelectSQL($criteria, $assoc, $lockMode, $limit, null, $orderBy);
  4. [$params, $types] = $this->expandParameters($criteria);
  5. $stmt = $this->conn->executeQuery($sql, $params, $types);
  6. if ($entity !== null) {
  7. $hints[Query::HINT_REFRESH] = true;
  8. $hints[Query::HINT_REFRESH_ENTITY] = $entity;
  9. }
  1. */
  2. public function findOneBy(array $criteria, array|null $orderBy = null): object|null
  3. {
  4. $persister = $this->em->getUnitOfWork()->getEntityPersister($this->entityName);
  5. return $persister->load($criteria, null, null, [], null, 1, $orderBy);
  6. }
  7. /**
  8. * Counts entities by a set of criteria.
  9. *
  1. /** {@inheritDoc} */
  2. public function findOneBy(array $criteria, array|null $orderBy = null): object|null
  3. {
  4. /** @psalm-suppress InvalidReturnStatement This proxy is used only in combination with newer parent class */
  5. return ($this->repository ??= $this->resolveRepository())
  6. ->findOneBy($criteria, $orderBy);
  7. }
  8. /** {@inheritDoc} */
  9. public function count(array $criteria = []): int
  10. {
ServiceEntityRepositoryProxy->findOneBy() in src/Service/SubdomainService.php (line 62)
  1. public function getEntityOfSubdomain(): ?Subdomain
  2. {
  3. if ($this->getSubdomain() and $this->getSubdomain() != "www")
  4. {
  5. return $this->subdomainRepository->findOneBy(['slug' => $this->getSubdomain()]);
  6. }
  7. return null;
  8. }
SubdomainService->getEntityOfSubdomain() in src/Service/SubdomainService.php (line 70)
  1. return null;
  2. }
  3. public function getNameOfWebsite(): ?string
  4. {
  5. if ($this->getEntityOfSubdomain())
  6. {
  7. return $this->getEntityOfSubdomain()->getName();
  8. }
  9. return ucfirst($this->getDomain());
SubdomainService->getNameOfWebsite() in src/Twig/SubdomainExtension.php (line 29)
  1. ];
  2. }
  3. public function getNameOfWebsite(): ?string
  4. {
  5. return $this->subdomainService->getNameOfWebsite();
  6. }
  7. public function getListOfSubdomains(): ?array
  8. {
  9. return $this->subdomainService->getListOfSubdomains();
  1. </a>
  2. <a href=\"/agenda\">
  3. <span class=\"title-site\">";
  4. // line 14
  5. yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['App\Twig\SubdomainExtension']->getNameOfWebsite(), "html", null, true);
  6. yield "</span>
  7. </a>
  8. <div class=\"dropdown mt-0\">
  9. <a class=\"dropdown-toggle dropdown-toggle-split\" id=\"navbarWebsite\" role=\"button\" data-bs-toggle=\"dropdown\" aria-haspopup=\"true\" aria-expanded=\"false\">
  10. ";
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. $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "navbar"));
  2. $__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  3. $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "navbar"));
  4. yield from $this->load("components/_partials/navbar.html.twig", 29)->unwrap()->yield($context);
  5. $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  6. $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
in vendor/twig/twig/src/Template.php -> block_navbar (line 446)
  1. throw new \LogicException('A block must be a method on a \Twig\Template instance.');
  2. }
  3. if (null !== $template) {
  4. try {
  5. yield from $template->$block($context, $blocks);
  6. } catch (Error $e) {
  7. if (!$e->getSourceContext()) {
  8. $e->setSourceContext($template->getSourceContext());
  9. }
  1. // line 27
  2. yield "\t</head>
  3. \t<body>
  4. \t\t";
  5. // line 29
  6. yield from $this->unwrap()->yieldBlock('navbar', $context, $blocks);
  7. // line 30
  8. yield " ";
  9. // line 32
  10. yield "\t\t";
  11. yield from $this->unwrap()->yieldBlock('body', $context, $blocks);
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. $__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  2. $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "event/index.html.twig"));
  3. $this->parent = $this->load("base.html.twig", 1);
  4. yield from $this->parent->unwrap()->yield($context, array_merge($this->blocks, $blocks));
  5. $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  6. $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
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 $response, string $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 $response, string $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($view, null, $parameters, $response, __FUNCTION__);
  7. }
  8. /**
  9. * Renders a block in a view.
  10. *
AbstractController->render() in src/Controller/EventController.php (line 240)
  1. // Déterminer le template et les variables selon le contexte
  2. $templateVars = $this->getTemplateVariables($searchDto, $pathway, $slug);
  3. //dump($templateVars);
  4. return $this->render('event/index.html.twig', $templateVars);
  5. }
  6. private function handleCategoryPath(string $slug, SearchDto $searchDto): ?Category
  7. {
  8. $entity = $this->categoryRepository->findOneBy(['slug' => $slug]);
  1. $this->dispatcher->dispatch($event, KernelEvents::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($event, KernelEvents::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. $this->boot();
  2. ++$this->requestStackSize;
  3. $this->resetServices = true;
  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 29)
  1. $app = $app(...$args);
  2. exit(
  3. $runtime
  4. ->getRunner($app)
  5. ->run()
  6. );
require_once('/var/www/curieux.app/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. };

Doctrine\DBAL\Driver\PDO\ Exception

SQLSTATE[42S02]: Base table or view not found: 1146 Table 'curieum2021.subdomain' doesn't exist

  1. } else {
  2. $code = $exception->getCode();
  3. $sqlState = null;
  4. }
  5. return new self($exception->getMessage(), $sqlState, $code, $exception);
  6. }
  7. }
  1. }
  2. try {
  3. $this->stmt->execute($params);
  4. } catch (PDOException $exception) {
  5. throw Exception::new($exception);
  6. }
  7. return new Result($this->stmt);
  8. }
  9. }
  1. /**
  2. * {@inheritDoc}
  3. */
  4. public function execute($params = null): Result
  5. {
  6. return $this->wrappedStatement->execute($params);
  7. }
  8. }
  1. 'sql' => $this->sql,
  2. 'params' => $params ?? $this->params,
  3. 'types' => $this->types,
  4. ]);
  5. return parent::execute($params);
  6. }
  7. }
  1. /**
  2. * {@inheritDoc}
  3. */
  4. public function execute($params = null): Result
  5. {
  6. return $this->wrappedStatement->execute($params);
  7. }
  8. }
  1. $this->stopwatch?->start('doctrine', 'doctrine');
  2. $query->start();
  3. try {
  4. return parent::execute($params);
  5. } finally {
  6. $query->stop();
  7. $this->stopwatch?->stop('doctrine');
  8. }
  9. }
  1. $stmt = $connection->prepare($sql);
  2. $this->bindParameters($stmt, $params, $types);
  3. $result = $stmt->execute();
  4. } else {
  5. $result = $connection->query($sql);
  6. }
  7. return new Result($result, $this);
  1. ): object|null {
  2. $this->switchPersisterContext(null, $limit);
  3. $sql = $this->getSelectSQL($criteria, $assoc, $lockMode, $limit, null, $orderBy);
  4. [$params, $types] = $this->expandParameters($criteria);
  5. $stmt = $this->conn->executeQuery($sql, $params, $types);
  6. if ($entity !== null) {
  7. $hints[Query::HINT_REFRESH] = true;
  8. $hints[Query::HINT_REFRESH_ENTITY] = $entity;
  9. }
  1. */
  2. public function findOneBy(array $criteria, array|null $orderBy = null): object|null
  3. {
  4. $persister = $this->em->getUnitOfWork()->getEntityPersister($this->entityName);
  5. return $persister->load($criteria, null, null, [], null, 1, $orderBy);
  6. }
  7. /**
  8. * Counts entities by a set of criteria.
  9. *
  1. /** {@inheritDoc} */
  2. public function findOneBy(array $criteria, array|null $orderBy = null): object|null
  3. {
  4. /** @psalm-suppress InvalidReturnStatement This proxy is used only in combination with newer parent class */
  5. return ($this->repository ??= $this->resolveRepository())
  6. ->findOneBy($criteria, $orderBy);
  7. }
  8. /** {@inheritDoc} */
  9. public function count(array $criteria = []): int
  10. {
ServiceEntityRepositoryProxy->findOneBy() in src/Service/SubdomainService.php (line 62)
  1. public function getEntityOfSubdomain(): ?Subdomain
  2. {
  3. if ($this->getSubdomain() and $this->getSubdomain() != "www")
  4. {
  5. return $this->subdomainRepository->findOneBy(['slug' => $this->getSubdomain()]);
  6. }
  7. return null;
  8. }
SubdomainService->getEntityOfSubdomain() in src/Service/SubdomainService.php (line 70)
  1. return null;
  2. }
  3. public function getNameOfWebsite(): ?string
  4. {
  5. if ($this->getEntityOfSubdomain())
  6. {
  7. return $this->getEntityOfSubdomain()->getName();
  8. }
  9. return ucfirst($this->getDomain());
SubdomainService->getNameOfWebsite() in src/Twig/SubdomainExtension.php (line 29)
  1. ];
  2. }
  3. public function getNameOfWebsite(): ?string
  4. {
  5. return $this->subdomainService->getNameOfWebsite();
  6. }
  7. public function getListOfSubdomains(): ?array
  8. {
  9. return $this->subdomainService->getListOfSubdomains();
  1. </a>
  2. <a href=\"/agenda\">
  3. <span class=\"title-site\">";
  4. // line 14
  5. yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['App\Twig\SubdomainExtension']->getNameOfWebsite(), "html", null, true);
  6. yield "</span>
  7. </a>
  8. <div class=\"dropdown mt-0\">
  9. <a class=\"dropdown-toggle dropdown-toggle-split\" id=\"navbarWebsite\" role=\"button\" data-bs-toggle=\"dropdown\" aria-haspopup=\"true\" aria-expanded=\"false\">
  10. ";
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. $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "navbar"));
  2. $__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  3. $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "navbar"));
  4. yield from $this->load("components/_partials/navbar.html.twig", 29)->unwrap()->yield($context);
  5. $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  6. $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
in vendor/twig/twig/src/Template.php -> block_navbar (line 446)
  1. throw new \LogicException('A block must be a method on a \Twig\Template instance.');
  2. }
  3. if (null !== $template) {
  4. try {
  5. yield from $template->$block($context, $blocks);
  6. } catch (Error $e) {
  7. if (!$e->getSourceContext()) {
  8. $e->setSourceContext($template->getSourceContext());
  9. }
  1. // line 27
  2. yield "\t</head>
  3. \t<body>
  4. \t\t";
  5. // line 29
  6. yield from $this->unwrap()->yieldBlock('navbar', $context, $blocks);
  7. // line 30
  8. yield " ";
  9. // line 32
  10. yield "\t\t";
  11. yield from $this->unwrap()->yieldBlock('body', $context, $blocks);
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. $__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  2. $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "event/index.html.twig"));
  3. $this->parent = $this->load("base.html.twig", 1);
  4. yield from $this->parent->unwrap()->yield($context, array_merge($this->blocks, $blocks));
  5. $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  6. $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
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 $response, string $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 $response, string $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($view, null, $parameters, $response, __FUNCTION__);
  7. }
  8. /**
  9. * Renders a block in a view.
  10. *
AbstractController->render() in src/Controller/EventController.php (line 240)
  1. // Déterminer le template et les variables selon le contexte
  2. $templateVars = $this->getTemplateVariables($searchDto, $pathway, $slug);
  3. //dump($templateVars);
  4. return $this->render('event/index.html.twig', $templateVars);
  5. }
  6. private function handleCategoryPath(string $slug, SearchDto $searchDto): ?Category
  7. {
  8. $entity = $this->categoryRepository->findOneBy(['slug' => $slug]);
  1. $this->dispatcher->dispatch($event, KernelEvents::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($event, KernelEvents::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. $this->boot();
  2. ++$this->requestStackSize;
  3. $this->resetServices = true;
  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 29)
  1. $app = $app(...$args);
  2. exit(
  3. $runtime
  4. ->getRunner($app)
  5. ->run()
  6. );
require_once('/var/www/curieux.app/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. };

PDOException

SQLSTATE[42S02]: Base table or view not found: 1146 Table 'curieum2021.subdomain' doesn't exist

  1. . ' Statement::bindParam() or Statement::bindValue() instead.',
  2. );
  3. }
  4. try {
  5. $this->stmt->execute($params);
  6. } catch (PDOException $exception) {
  7. throw Exception::new($exception);
  8. }
  9. return new Result($this->stmt);
  1. . ' Statement::bindParam() or Statement::bindValue() instead.',
  2. );
  3. }
  4. try {
  5. $this->stmt->execute($params);
  6. } catch (PDOException $exception) {
  7. throw Exception::new($exception);
  8. }
  9. return new Result($this->stmt);
  1. /**
  2. * {@inheritDoc}
  3. */
  4. public function execute($params = null): Result
  5. {
  6. return $this->wrappedStatement->execute($params);
  7. }
  8. }
  1. 'sql' => $this->sql,
  2. 'params' => $params ?? $this->params,
  3. 'types' => $this->types,
  4. ]);
  5. return parent::execute($params);
  6. }
  7. }
  1. /**
  2. * {@inheritDoc}
  3. */
  4. public function execute($params = null): Result
  5. {
  6. return $this->wrappedStatement->execute($params);
  7. }
  8. }
  1. $this->stopwatch?->start('doctrine', 'doctrine');
  2. $query->start();
  3. try {
  4. return parent::execute($params);
  5. } finally {
  6. $query->stop();
  7. $this->stopwatch?->stop('doctrine');
  8. }
  9. }
  1. $stmt = $connection->prepare($sql);
  2. $this->bindParameters($stmt, $params, $types);
  3. $result = $stmt->execute();
  4. } else {
  5. $result = $connection->query($sql);
  6. }
  7. return new Result($result, $this);
  1. ): object|null {
  2. $this->switchPersisterContext(null, $limit);
  3. $sql = $this->getSelectSQL($criteria, $assoc, $lockMode, $limit, null, $orderBy);
  4. [$params, $types] = $this->expandParameters($criteria);
  5. $stmt = $this->conn->executeQuery($sql, $params, $types);
  6. if ($entity !== null) {
  7. $hints[Query::HINT_REFRESH] = true;
  8. $hints[Query::HINT_REFRESH_ENTITY] = $entity;
  9. }
  1. */
  2. public function findOneBy(array $criteria, array|null $orderBy = null): object|null
  3. {
  4. $persister = $this->em->getUnitOfWork()->getEntityPersister($this->entityName);
  5. return $persister->load($criteria, null, null, [], null, 1, $orderBy);
  6. }
  7. /**
  8. * Counts entities by a set of criteria.
  9. *
  1. /** {@inheritDoc} */
  2. public function findOneBy(array $criteria, array|null $orderBy = null): object|null
  3. {
  4. /** @psalm-suppress InvalidReturnStatement This proxy is used only in combination with newer parent class */
  5. return ($this->repository ??= $this->resolveRepository())
  6. ->findOneBy($criteria, $orderBy);
  7. }
  8. /** {@inheritDoc} */
  9. public function count(array $criteria = []): int
  10. {
ServiceEntityRepositoryProxy->findOneBy() in src/Service/SubdomainService.php (line 62)
  1. public function getEntityOfSubdomain(): ?Subdomain
  2. {
  3. if ($this->getSubdomain() and $this->getSubdomain() != "www")
  4. {
  5. return $this->subdomainRepository->findOneBy(['slug' => $this->getSubdomain()]);
  6. }
  7. return null;
  8. }
SubdomainService->getEntityOfSubdomain() in src/Service/SubdomainService.php (line 70)
  1. return null;
  2. }
  3. public function getNameOfWebsite(): ?string
  4. {
  5. if ($this->getEntityOfSubdomain())
  6. {
  7. return $this->getEntityOfSubdomain()->getName();
  8. }
  9. return ucfirst($this->getDomain());
SubdomainService->getNameOfWebsite() in src/Twig/SubdomainExtension.php (line 29)
  1. ];
  2. }
  3. public function getNameOfWebsite(): ?string
  4. {
  5. return $this->subdomainService->getNameOfWebsite();
  6. }
  7. public function getListOfSubdomains(): ?array
  8. {
  9. return $this->subdomainService->getListOfSubdomains();
  1. </a>
  2. <a href=\"/agenda\">
  3. <span class=\"title-site\">";
  4. // line 14
  5. yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['App\Twig\SubdomainExtension']->getNameOfWebsite(), "html", null, true);
  6. yield "</span>
  7. </a>
  8. <div class=\"dropdown mt-0\">
  9. <a class=\"dropdown-toggle dropdown-toggle-split\" id=\"navbarWebsite\" role=\"button\" data-bs-toggle=\"dropdown\" aria-haspopup=\"true\" aria-expanded=\"false\">
  10. ";
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. $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "navbar"));
  2. $__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  3. $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "navbar"));
  4. yield from $this->load("components/_partials/navbar.html.twig", 29)->unwrap()->yield($context);
  5. $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  6. $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
in vendor/twig/twig/src/Template.php -> block_navbar (line 446)
  1. throw new \LogicException('A block must be a method on a \Twig\Template instance.');
  2. }
  3. if (null !== $template) {
  4. try {
  5. yield from $template->$block($context, $blocks);
  6. } catch (Error $e) {
  7. if (!$e->getSourceContext()) {
  8. $e->setSourceContext($template->getSourceContext());
  9. }
  1. // line 27
  2. yield "\t</head>
  3. \t<body>
  4. \t\t";
  5. // line 29
  6. yield from $this->unwrap()->yieldBlock('navbar', $context, $blocks);
  7. // line 30
  8. yield " ";
  9. // line 32
  10. yield "\t\t";
  11. yield from $this->unwrap()->yieldBlock('body', $context, $blocks);
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. $__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  2. $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "event/index.html.twig"));
  3. $this->parent = $this->load("base.html.twig", 1);
  4. yield from $this->parent->unwrap()->yield($context, array_merge($this->blocks, $blocks));
  5. $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  6. $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
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 $response, string $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 $response, string $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($view, null, $parameters, $response, __FUNCTION__);
  7. }
  8. /**
  9. * Renders a block in a view.
  10. *
AbstractController->render() in src/Controller/EventController.php (line 240)
  1. // Déterminer le template et les variables selon le contexte
  2. $templateVars = $this->getTemplateVariables($searchDto, $pathway, $slug);
  3. //dump($templateVars);
  4. return $this->render('event/index.html.twig', $templateVars);
  5. }
  6. private function handleCategoryPath(string $slug, SearchDto $searchDto): ?Category
  7. {
  8. $entity = $this->categoryRepository->findOneBy(['slug' => $slug]);
  1. $this->dispatcher->dispatch($event, KernelEvents::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($event, KernelEvents::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. $this->boot();
  2. ++$this->requestStackSize;
  3. $this->resetServices = true;
  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 29)
  1. $app = $app(...$args);
  2. exit(
  3. $runtime
  4. ->getRunner($app)
  5. ->run()
  6. );
require_once('/var/www/curieux.app/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 23:16:24 request Matched route "_profiler".
{
    "route": "_profiler",
    "route_parameters": {
        "_route": "_profiler",
        "_controller": "web_profiler.controller.profiler::panelAction",
        "token": "033fd3"
    },
    "request_uri": "https://www.curieux.app/_profiler/033fd3",
    "method": "GET"
}
DEBUG 23:16:24 event Notified event "kernel.request" to listener "Symfony\Component\HttpKernel\EventListener\DebugHandlersListener::configure".
{
    "event": "kernel.request",
    "listener": "Symfony\\Component\\HttpKernel\\EventListener\\DebugHandlersListener::configure"
}
DEBUG 23:16:24 event Notified event "kernel.request" to listener "Symfony\UX\Turbo\Request\RequestListener::__invoke".
{
    "event": "kernel.request",
    "listener": "Symfony\\UX\\Turbo\\Request\\RequestListener::__invoke"
}
DEBUG 23:16:24 event Notified event "kernel.request" to listener "Symfony\Component\HttpKernel\EventListener\ValidateRequestListener::onKernelRequest".
{
    "event": "kernel.request",
    "listener": "Symfony\\Component\\HttpKernel\\EventListener\\ValidateRequestListener::onKernelRequest"
}
DEBUG 23:16:24 event Notified event "kernel.request" to listener "Symfony\Bridge\Doctrine\Middleware\IdleConnection\Listener::onKernelRequest".
{
    "event": "kernel.request",
    "listener": "Symfony\\Bridge\\Doctrine\\Middleware\\IdleConnection\\Listener::onKernelRequest"
}
DEBUG 23:16:24 event Notified event "kernel.request" to listener "Symfony\Component\HttpKernel\EventListener\SessionListener::onKernelRequest".
{
    "event": "kernel.request",
    "listener": "Symfony\\Component\\HttpKernel\\EventListener\\SessionListener::onKernelRequest"
}
DEBUG 23:16:24 event Notified event "kernel.request" to listener "Symfony\Component\HttpKernel\EventListener\LocaleListener::setDefaultLocale".
{
    "event": "kernel.request",
    "listener": "Symfony\\Component\\HttpKernel\\EventListener\\LocaleListener::setDefaultLocale"
}
DEBUG 23:16:24 event Notified event "kernel.request" to listener "Symfony\Component\AssetMapper\AssetMapperDevServerSubscriber::onKernelRequest".
{
    "event": "kernel.request",
    "listener": "Symfony\\Component\\AssetMapper\\AssetMapperDevServerSubscriber::onKernelRequest"
}
DEBUG 23:16:24 event Notified event "kernel.request" to listener "Symfony\Component\HttpKernel\EventListener\RouterListener::onKernelRequest".
{
    "event": "kernel.request",
    "listener": "Symfony\\Component\\HttpKernel\\EventListener\\RouterListener::onKernelRequest"
}
DEBUG 23:16:24 event Notified event "kernel.request" to listener "Symfony\Component\HttpKernel\EventListener\LocaleListener::onKernelRequest".
{
    "event": "kernel.request",
    "listener": "Symfony\\Component\\HttpKernel\\EventListener\\LocaleListener::onKernelRequest"
}
DEBUG 23:16:24 event Notified event "kernel.request" to listener "Symfony\Component\HttpKernel\EventListener\LocaleAwareListener::onKernelRequest".
{
    "event": "kernel.request",
    "listener": "Symfony\\Component\\HttpKernel\\EventListener\\LocaleAwareListener::onKernelRequest"
}
DEBUG 23:16:24 event Notified event "kernel.request" to listener "Symfony\Bundle\SecurityBundle\Debug\TraceableFirewallListener::configureLogoutUrlGenerator".
{
    "event": "kernel.request",
    "listener": "Symfony\\Bundle\\SecurityBundle\\Debug\\TraceableFirewallListener::configureLogoutUrlGenerator"
}
DEBUG 23:16:24 event Notified event "kernel.request" to listener "Symfony\Bundle\SecurityBundle\Debug\TraceableFirewallListener::onKernelRequest".
{
    "event": "kernel.request",
    "listener": "Symfony\\Bundle\\SecurityBundle\\Debug\\TraceableFirewallListener::onKernelRequest"
}
DEBUG 23:16:24 event Notified event "kernel.request" to listener "EasyCorp\Bundle\EasyAdminBundle\EventListener\AdminRouterSubscriber::onKernelRequestPrettyUrls".
{
    "event": "kernel.request",
    "listener": "EasyCorp\\Bundle\\EasyAdminBundle\\EventListener\\AdminRouterSubscriber::onKernelRequestPrettyUrls"
}
DEBUG 23:16:24 event Notified event "kernel.request" to listener "EasyCorp\Bundle\EasyAdminBundle\EventListener\AdminRouterSubscriber::onKernelRequest".
{
    "event": "kernel.request",
    "listener": "EasyCorp\\Bundle\\EasyAdminBundle\\EventListener\\AdminRouterSubscriber::onKernelRequest"
}
DEBUG 23:16:24 event Notified event "kernel.request" to listener "Symfony\UX\LiveComponent\EventListener\LiveComponentSubscriber::onKernelRequest".
{
    "event": "kernel.request",
    "listener": "Symfony\\UX\\LiveComponent\\EventListener\\LiveComponentSubscriber::onKernelRequest"
}
DEBUG 23:16:24 event Notified event "kernel.controller" to listener "EasyCorp\Bundle\EasyAdminBundle\EventListener\AdminRouterSubscriber::onKernelController".
{
    "event": "kernel.controller",
    "listener": "EasyCorp\\Bundle\\EasyAdminBundle\\EventListener\\AdminRouterSubscriber::onKernelController"
}
DEBUG 23:16:24 event Notified event "kernel.controller" to listener "Symfony\UX\LiveComponent\EventListener\LiveComponentSubscriber::onKernelController".
{
    "event": "kernel.controller",
    "listener": "Symfony\\UX\\LiveComponent\\EventListener\\LiveComponentSubscriber::onKernelController"
}
DEBUG 23:16:24 event Notified event "kernel.controller" to listener "Symfony\Bundle\FrameworkBundle\DataCollector\RouterDataCollector::onKernelController".
{
    "event": "kernel.controller",
    "listener": "Symfony\\Bundle\\FrameworkBundle\\DataCollector\\RouterDataCollector::onKernelController"
}
DEBUG 23:16:24 event Notified event "kernel.controller" to listener "Symfony\Component\HttpKernel\DataCollector\RequestDataCollector::onKernelController".
{
    "event": "kernel.controller",
    "listener": "Symfony\\Component\\HttpKernel\\DataCollector\\RequestDataCollector::onKernelController"
}
DEBUG 23:16:24 event Notified event "kernel.controller_arguments" to listener "Symfony\Component\Security\Http\EventListener\IsCsrfTokenValidAttributeListener::onKernelControllerArguments".
{
    "event": "kernel.controller_arguments",
    "listener": "Symfony\\Component\\Security\\Http\\EventListener\\IsCsrfTokenValidAttributeListener::onKernelControllerArguments"
}
DEBUG 23:16:24 event Notified event "kernel.controller_arguments" to listener "Symfony\Component\Security\Http\EventListener\IsGrantedAttributeListener::onKernelControllerArguments".
{
    "event": "kernel.controller_arguments",
    "listener": "Symfony\\Component\\Security\\Http\\EventListener\\IsGrantedAttributeListener::onKernelControllerArguments"
}
DEBUG 23:16:24 event Notified event "kernel.controller_arguments" to listener "Symfony\Component\HttpKernel\EventListener\CacheAttributeListener::onKernelControllerArguments".
{
    "event": "kernel.controller_arguments",
    "listener": "Symfony\\Component\\HttpKernel\\EventListener\\CacheAttributeListener::onKernelControllerArguments"
}
DEBUG 23:16:24 event Notified event "kernel.controller_arguments" to listener "ContainerTSFXLmg\RequestPayloadValueResolverGhost01ca9cc::onKernelControllerArguments".
{
    "event": "kernel.controller_arguments",
    "listener": "ContainerTSFXLmg\\RequestPayloadValueResolverGhost01ca9cc::onKernelControllerArguments"
}
DEBUG 23:16:24 event Notified event "kernel.controller_arguments" to listener "Symfony\Component\HttpKernel\EventListener\ErrorListener::onControllerArguments".
{
    "event": "kernel.controller_arguments",
    "listener": "Symfony\\Component\\HttpKernel\\EventListener\\ErrorListener::onControllerArguments"
}

Stack Traces 4

[4/4] RuntimeError
Twig\Error\RuntimeError:
An exception has been thrown during the rendering of a template ("An exception occurred while executing a query: SQLSTATE[42S02]: Base table or view not found: 1146 Table 'curieum2021.subdomain' doesn't exist") in "components/_partials/navbar.html.twig" at line 14.

  at templates/components/_partials/navbar.html.twig:14
  at Twig\Template->yield()
     (var/cache/dev/twig/2b/2b841af9f5d53c6ed0efb55dbb4113c1.php:201)
  at __TwigTemplate_6064000614a9bd43d52c362364c3cc0c->block_navbar()
     (vendor/twig/twig/src/Template.php:446)
  at Twig\Template->yieldBlock()
     (var/cache/dev/twig/2b/2b841af9f5d53c6ed0efb55dbb4113c1.php:98)
  at __TwigTemplate_6064000614a9bd43d52c362364c3cc0c->doDisplay()
     (vendor/twig/twig/src/Template.php:402)
  at Twig\Template->yield()
     (var/cache/dev/twig/02/022755a4b168d4b6abea963c187c353e.php:54)
  at __TwigTemplate_09eae8c70d2dd0e982ce52e494b92ac5->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:459)
  at Symfony\Bundle\FrameworkBundle\Controller\AbstractController->doRenderView()
     (vendor/symfony/framework-bundle/Controller/AbstractController.php:464)
  at Symfony\Bundle\FrameworkBundle\Controller\AbstractController->doRender()
     (vendor/symfony/framework-bundle/Controller/AbstractController.php:278)
  at Symfony\Bundle\FrameworkBundle\Controller\AbstractController->render()
     (src/Controller/EventController.php:240)
  at App\Controller\EventController->search()
     (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:182)
  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:29)
  at require_once('/var/www/curieux.app/vendor/autoload_runtime.php')
     (public/index.php:5)                
[3/4] TableNotFoundException
Doctrine\DBAL\Exception\TableNotFoundException:
An exception occurred while executing a query: SQLSTATE[42S02]: Base table or view not found: 1146 Table 'curieum2021.subdomain' doesn't exist

  at vendor/doctrine/dbal/src/Driver/API/MySQL/ExceptionConverter.php:49
  at Doctrine\DBAL\Driver\API\MySQL\ExceptionConverter->convert()
     (vendor/doctrine/dbal/src/Connection.php:1976)
  at Doctrine\DBAL\Connection->handleDriverException()
     (vendor/doctrine/dbal/src/Connection.php:1918)
  at Doctrine\DBAL\Connection->convertExceptionDuringQuery()
     (vendor/doctrine/dbal/src/Connection.php:1111)
  at Doctrine\DBAL\Connection->executeQuery()
     (vendor/doctrine/orm/src/Persisters/Entity/BasicEntityPersister.php:746)
  at Doctrine\ORM\Persisters\Entity\BasicEntityPersister->load()
     (vendor/doctrine/orm/src/EntityRepository.php:125)
  at Doctrine\ORM\EntityRepository->findOneBy()
     (vendor/doctrine/doctrine-bundle/src/Repository/ServiceEntityRepositoryProxy.php:81)
  at Doctrine\Bundle\DoctrineBundle\Repository\ServiceEntityRepositoryProxy->findOneBy()
     (src/Service/SubdomainService.php:62)
  at App\Service\SubdomainService->getEntityOfSubdomain()
     (src/Service/SubdomainService.php:70)
  at App\Service\SubdomainService->getNameOfWebsite()
     (src/Twig/SubdomainExtension.php:29)
  at App\Twig\SubdomainExtension->getNameOfWebsite()
     (var/cache/dev/twig/90/9035ea86238abba7dcfad9a4b47919e7.php:67)
  at __TwigTemplate_88a455655c5c995b251057eec7499b39->doDisplay()
     (vendor/twig/twig/src/Template.php:402)
  at Twig\Template->yield()
     (var/cache/dev/twig/2b/2b841af9f5d53c6ed0efb55dbb4113c1.php:201)
  at __TwigTemplate_6064000614a9bd43d52c362364c3cc0c->block_navbar()
     (vendor/twig/twig/src/Template.php:446)
  at Twig\Template->yieldBlock()
     (var/cache/dev/twig/2b/2b841af9f5d53c6ed0efb55dbb4113c1.php:98)
  at __TwigTemplate_6064000614a9bd43d52c362364c3cc0c->doDisplay()
     (vendor/twig/twig/src/Template.php:402)
  at Twig\Template->yield()
     (var/cache/dev/twig/02/022755a4b168d4b6abea963c187c353e.php:54)
  at __TwigTemplate_09eae8c70d2dd0e982ce52e494b92ac5->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:459)
  at Symfony\Bundle\FrameworkBundle\Controller\AbstractController->doRenderView()
     (vendor/symfony/framework-bundle/Controller/AbstractController.php:464)
  at Symfony\Bundle\FrameworkBundle\Controller\AbstractController->doRender()
     (vendor/symfony/framework-bundle/Controller/AbstractController.php:278)
  at Symfony\Bundle\FrameworkBundle\Controller\AbstractController->render()
     (src/Controller/EventController.php:240)
  at App\Controller\EventController->search()
     (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:182)
  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:29)
  at require_once('/var/www/curieux.app/vendor/autoload_runtime.php')
     (public/index.php:5)                
[2/4] Exception
Doctrine\DBAL\Driver\PDO\Exception:
SQLSTATE[42S02]: Base table or view not found: 1146 Table 'curieum2021.subdomain' doesn't exist

  at vendor/doctrine/dbal/src/Driver/PDO/Exception.php:24
  at Doctrine\DBAL\Driver\PDO\Exception::new()
     (vendor/doctrine/dbal/src/Driver/PDO/Statement.php:132)
  at Doctrine\DBAL\Driver\PDO\Statement->execute()
     (vendor/doctrine/dbal/src/Driver/Middleware/AbstractStatementMiddleware.php:69)
  at Doctrine\DBAL\Driver\Middleware\AbstractStatementMiddleware->execute()
     (vendor/doctrine/dbal/src/Logging/Statement.php:98)
  at Doctrine\DBAL\Logging\Statement->execute()
     (vendor/doctrine/dbal/src/Driver/Middleware/AbstractStatementMiddleware.php:69)
  at Doctrine\DBAL\Driver\Middleware\AbstractStatementMiddleware->execute()
     (vendor/symfony/doctrine-bridge/Middleware/Debug/DBAL3/Statement.php:70)
  at Symfony\Bridge\Doctrine\Middleware\Debug\DBAL3\Statement->execute()
     (vendor/doctrine/dbal/src/Connection.php:1104)
  at Doctrine\DBAL\Connection->executeQuery()
     (vendor/doctrine/orm/src/Persisters/Entity/BasicEntityPersister.php:746)
  at Doctrine\ORM\Persisters\Entity\BasicEntityPersister->load()
     (vendor/doctrine/orm/src/EntityRepository.php:125)
  at Doctrine\ORM\EntityRepository->findOneBy()
     (vendor/doctrine/doctrine-bundle/src/Repository/ServiceEntityRepositoryProxy.php:81)
  at Doctrine\Bundle\DoctrineBundle\Repository\ServiceEntityRepositoryProxy->findOneBy()
     (src/Service/SubdomainService.php:62)
  at App\Service\SubdomainService->getEntityOfSubdomain()
     (src/Service/SubdomainService.php:70)
  at App\Service\SubdomainService->getNameOfWebsite()
     (src/Twig/SubdomainExtension.php:29)
  at App\Twig\SubdomainExtension->getNameOfWebsite()
     (var/cache/dev/twig/90/9035ea86238abba7dcfad9a4b47919e7.php:67)
  at __TwigTemplate_88a455655c5c995b251057eec7499b39->doDisplay()
     (vendor/twig/twig/src/Template.php:402)
  at Twig\Template->yield()
     (var/cache/dev/twig/2b/2b841af9f5d53c6ed0efb55dbb4113c1.php:201)
  at __TwigTemplate_6064000614a9bd43d52c362364c3cc0c->block_navbar()
     (vendor/twig/twig/src/Template.php:446)
  at Twig\Template->yieldBlock()
     (var/cache/dev/twig/2b/2b841af9f5d53c6ed0efb55dbb4113c1.php:98)
  at __TwigTemplate_6064000614a9bd43d52c362364c3cc0c->doDisplay()
     (vendor/twig/twig/src/Template.php:402)
  at Twig\Template->yield()
     (var/cache/dev/twig/02/022755a4b168d4b6abea963c187c353e.php:54)
  at __TwigTemplate_09eae8c70d2dd0e982ce52e494b92ac5->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:459)
  at Symfony\Bundle\FrameworkBundle\Controller\AbstractController->doRenderView()
     (vendor/symfony/framework-bundle/Controller/AbstractController.php:464)
  at Symfony\Bundle\FrameworkBundle\Controller\AbstractController->doRender()
     (vendor/symfony/framework-bundle/Controller/AbstractController.php:278)
  at Symfony\Bundle\FrameworkBundle\Controller\AbstractController->render()
     (src/Controller/EventController.php:240)
  at App\Controller\EventController->search()
     (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:182)
  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:29)
  at require_once('/var/www/curieux.app/vendor/autoload_runtime.php')
     (public/index.php:5)                
[1/4] PDOException
PDOException:
SQLSTATE[42S02]: Base table or view not found: 1146 Table 'curieum2021.subdomain' doesn't exist

  at vendor/doctrine/dbal/src/Driver/PDO/Statement.php:130
  at PDOStatement->execute()
     (vendor/doctrine/dbal/src/Driver/PDO/Statement.php:130)
  at Doctrine\DBAL\Driver\PDO\Statement->execute()
     (vendor/doctrine/dbal/src/Driver/Middleware/AbstractStatementMiddleware.php:69)
  at Doctrine\DBAL\Driver\Middleware\AbstractStatementMiddleware->execute()
     (vendor/doctrine/dbal/src/Logging/Statement.php:98)
  at Doctrine\DBAL\Logging\Statement->execute()
     (vendor/doctrine/dbal/src/Driver/Middleware/AbstractStatementMiddleware.php:69)
  at Doctrine\DBAL\Driver\Middleware\AbstractStatementMiddleware->execute()
     (vendor/symfony/doctrine-bridge/Middleware/Debug/DBAL3/Statement.php:70)
  at Symfony\Bridge\Doctrine\Middleware\Debug\DBAL3\Statement->execute()
     (vendor/doctrine/dbal/src/Connection.php:1104)
  at Doctrine\DBAL\Connection->executeQuery()
     (vendor/doctrine/orm/src/Persisters/Entity/BasicEntityPersister.php:746)
  at Doctrine\ORM\Persisters\Entity\BasicEntityPersister->load()
     (vendor/doctrine/orm/src/EntityRepository.php:125)
  at Doctrine\ORM\EntityRepository->findOneBy()
     (vendor/doctrine/doctrine-bundle/src/Repository/ServiceEntityRepositoryProxy.php:81)
  at Doctrine\Bundle\DoctrineBundle\Repository\ServiceEntityRepositoryProxy->findOneBy()
     (src/Service/SubdomainService.php:62)
  at App\Service\SubdomainService->getEntityOfSubdomain()
     (src/Service/SubdomainService.php:70)
  at App\Service\SubdomainService->getNameOfWebsite()
     (src/Twig/SubdomainExtension.php:29)
  at App\Twig\SubdomainExtension->getNameOfWebsite()
     (var/cache/dev/twig/90/9035ea86238abba7dcfad9a4b47919e7.php:67)
  at __TwigTemplate_88a455655c5c995b251057eec7499b39->doDisplay()
     (vendor/twig/twig/src/Template.php:402)
  at Twig\Template->yield()
     (var/cache/dev/twig/2b/2b841af9f5d53c6ed0efb55dbb4113c1.php:201)
  at __TwigTemplate_6064000614a9bd43d52c362364c3cc0c->block_navbar()
     (vendor/twig/twig/src/Template.php:446)
  at Twig\Template->yieldBlock()
     (var/cache/dev/twig/2b/2b841af9f5d53c6ed0efb55dbb4113c1.php:98)
  at __TwigTemplate_6064000614a9bd43d52c362364c3cc0c->doDisplay()
     (vendor/twig/twig/src/Template.php:402)
  at Twig\Template->yield()
     (var/cache/dev/twig/02/022755a4b168d4b6abea963c187c353e.php:54)
  at __TwigTemplate_09eae8c70d2dd0e982ce52e494b92ac5->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:459)
  at Symfony\Bundle\FrameworkBundle\Controller\AbstractController->doRenderView()
     (vendor/symfony/framework-bundle/Controller/AbstractController.php:464)
  at Symfony\Bundle\FrameworkBundle\Controller\AbstractController->doRender()
     (vendor/symfony/framework-bundle/Controller/AbstractController.php:278)
  at Symfony\Bundle\FrameworkBundle\Controller\AbstractController->render()
     (src/Controller/EventController.php:240)
  at App\Controller\EventController->search()
     (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:182)
  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:29)
  at require_once('/var/www/curieux.app/vendor/autoload_runtime.php')
     (public/index.php:5)