Error 500 Internal Server Error

GET https://www.mcc.gov.mg/Communication/post/914

Exceptions

An exception has been thrown during the rendering of a template ("Knp\Bundle\PaginatorBundle\Helper\Processor::__construct(): Argument #2 ($translator) must be of type Symfony\Contracts\Translation\TranslatorInterface, null given, called in /home/msk/htdocs/www.mcc.gov.mg/var/cache/dev/ContainerDbnqG4x/getPaginationRuntimeService.php on line 25") in front/article.html.twig at line 106.

Exceptions 2

Twig\Error\ RuntimeError

Show exception properties
Twig\Error\RuntimeError {#2983
  -lineno: 106
  -rawMessage: "An exception has been thrown during the rendering of a template ("Knp\Bundle\PaginatorBundle\Helper\Processor::__construct(): Argument #2 ($translator) must be of type Symfony\Contracts\Translation\TranslatorInterface, null given, called in /home/msk/htdocs/www.mcc.gov.mg/var/cache/dev/ContainerDbnqG4x/getPaginationRuntimeService.php on line 25")."
  -source: Twig\Source {#3300
    -code: """
      {% extends 'base.html.twig' %}\n
      \n
      {% block title %}{{article.title}}: MCC{% endblock %}\n
      \n
      {% block body %}\n
      \n
          <!-- About-->\n
          <section class="page-section-title head-page mt-5" id="about"  style="margin-top: 5rem !important;">\n
              <div class="container px-4 px-lg-5">\n
                  <div class="row gx-4 gx-lg-5 justify-content-left">\n
                      <div class="col-12">\n
                          <h2 class="text-white text-uppercase mt-0">\n
                              <a class="text-decoration-none text-white" href="{{path('page', {'cat': cat.title})}}">{{cat.title}}</a> > {{article.title|u.truncate(40, '...')}}\n
                          </h2>\n
                      </div>\n
                  </div>\n
              </div>\n
          </section>\n
          <!-- Services-->\n
          <section class="page-section" id="post">\n
              <div class="container px-4 px-lg-5">\n
                  <div class="row gx-4 gx-lg-5">\n
                      <div class="col-lg-8 col-md-8">\n
                          <div class="mt-5">\n
                              <div class="mb-2"><i class="bi-gem fs-1 text-primary"></i></div>\n
                              <div class="section-title">\n
                                  <h3 class="h4 text-justify mb-2 my-3">{{article.title}}</h3>\n
                                  <hr class="divider" />\n
                              </div>\n
                              {% if article.files|length > 0 %}\n
                                  \n
                                  {% for file in article.files %}\n
                                      <div class="d-flex justify-content-center my-2 w-100 overflow-hidden mb-5" style="min-height: 600px;">\n
                                          <embed src="{{asset(file.file)}}" type="application/pdf" class="w-100">\n
                                      </div>\n
                                  {% endfor %}\n
                              {% else %}\n
                                  {% if article.image|length > 0 %}\n
                                      <div class="thumbnail d-flex justify-content-center my-2 w-100 overflow-hidden mb-5">\n
                                          <img src="{{asset(article.image)}}" class="img-fluid m-auto" style="max-height: 100%;">\n
                                      </div>\n
                                  {% else %}\n
                                      <div class="thumbnail d-flex justify-content-center my-2 w-100 mb-5">\n
                                          <img src="{{asset('assets/logo.png')}}" class="img-responsive">\n
                                      </div>\n
                                  {% endif %}\n
                              {% endif %}\n
                              <p class="text-muted text-justify mb-0">{{article.description|striptags|raw|nl2br}}</p>\n
      \n
      \n
                              {% if article.galleries|length > 0 %}\n
                                  <div id="grid" class="w-100 container bg-dark my-3">\n
                                      {% set i = 0 %}\n
                                      {% for gallery in article.galleries %}\n
                                      {% set i = i + 1 %}\n
                                      <div class="grid-item" id="item-{{i}}">\n
                                          <img src="{{asset(gallery.image)}}" alt="{{article.title}}" class="grid-img"/>\n
                                      </div>\n
                                      {% endfor %}\n
                                  </div>\n
                              {% endif %}\n
                              <div class="d-flex flex-column justify-content-center align-items-end my-2">\n
                                  <small class="font-italic">Publie le {{article.createdAt|date('d/m/Y')}}</small>\n
                                  <small class="font-italic">Par {{article.author.matricule}}</small>\n
                                  <small class="font-italic">Categorie:  {{cat.title}}</small>\n
                              </div>\n
                          </div>\n
                          <hr class="divider" />\n
                          <div class="d-flex justify-content-between align-items-center p-3 w-100">\n
                              {% if preview|length > 0 %}\n
                                  <a href="{{path('article', {'id': preview.id, 'cat': cat.title})}}" class="text-reset text-decoration-none border border-primary rounded p-2"><< PRECEDENT: {{preview.title|u.truncate(40, '...')}}</a>\n
                              {% else %}\n
                              <span>&nbsp;</span>\n
                              {% endif %}\n
                              {% if next|length > 0 %}\n
                                  <a href="{{path('article', {'id': next.id, 'cat': cat.title})}}" class="text-reset text-decoration-none border border-primary rounded p-2">SUIVANT: {{next.title|u.truncate(40, '...')}} >></a>\n
                              {% else %}\n
                                  <span>&nbsp;</span>\n
                              {% endif %}\n
                          </div>\n
                      </div>\n
                      <div class="col-lg-4 col-md-4">\n
                          {{component('Sidebar')}}\n
                      </div>\n
                  </div>\n
      \n
                  <div id="communication" class="mb-5 mt-3">\n
                      <div class="container-fluid p-0">\n
                      \n
                          <div  class="row g-0 mt-5">\n
                          \n
                          {% if pagination|length > 0 %}\n
                              {% for post in pagination|sort((a, b) => b.createdAt <=> a.createdAt) %}\n
                                  <div class="col-lg-2 col-sm-4 d-flex justify-content-center align-items-center bg-secondary overflow-hidden border-3 rounded border-white" style="height: 20vh;">\n
                                      <a class="portfolio-box text-center" href="{{path('article', {'id': post.id, 'cat': cat.title})}}" title="{{post.title}}">\n
                                          <div class="ratio" style="background-image:url('{{asset(post.image)}}')" /></div> \n
                                          <div class="portfolio-box-caption">\n
                                              <div class="project-name" style="font-size: 0.8rem !important;">{{post.title|u.truncate(20, '...')}}</div>\n
                                          </div>\n
                                      </a>\n
                                  </div>\n
                              {% endfor %}\n
                          {% endif %}\n
                          </div>\n
                          <div class="navigation w-100 d-flex justify-content-center align-items-center py-2">\n
                              {{ knp_pagination_render(pagination) }}\n
                          </div>\n
                      </div>\n
                  </div>\n
              </div>\n
          </section>\n
          \n
      {% endblock %}\n
      {% block modal %}\n
          <div id="popup-bg">\n
              <div id="popup-content" class="d-flex justify-content-center align-items-center rounded" style="background-color: #fff; padding: 20px;">\n
                  <div id="popup-close">\n
                      <i class="fas fa-times rounded-circle"></i>\n
                  </div>\n
                  <div class="d-flex justify-content-center align-items-center h-100 position-relative">\n
                      <img id="popup-img" src="#" alt="" class="rounded img-responsive" style="max-height: 80vh;">\n
                  </div>\n
              </ldiv>\n
          </div>\n
      {% endblock %}
      """
    -name: "front/article.html.twig"
    -path: "/home/msk/htdocs/www.mcc.gov.mg/templates/front/article.html.twig"
  }
  -phpFile: "/home/msk/htdocs/www.mcc.gov.mg/vendor/twig/twig/src/Template.php"
  -phpLine: 460
}
  1.                             </div>
  2.                         {% endfor %}
  3.                     {% endif %}
  4.                     </div>
  5.                     <div class="navigation w-100 d-flex justify-content-center align-items-center py-2">
  6.                         {{ knp_pagination_render(pagination) }}
  7.                     </div>
  8.                 </div>
  9.             </div>
  10.         </div>
  11.     </section>
  1.         ";
  2.         // line 62
  3.         yield from $this->load("nav.html.twig"62)->unwrap()->yield($context);
  4.         // line 63
  5.         yield "        ";
  6.         yield from $this->unwrap()->yieldBlock('body'$context$blocks);
  7.         // line 64
  8.         yield "        
  9.         <footer class=\"text-center text-white py-3\" style=\"background:#0B3C5D\">
  10.             Â© 2026 â€“ Ministère de la Communication et de la Culture â€“ République de Madagascar
  11.         </footer>
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""front/article.html.twig"));
  3.         $this->parent $this->load("base.html.twig"1);
  4.         yield from $this->parent->unwrap()->yield($contextarray_merge($this->blocks$blocks));
  5.         
  6.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  7.         
  8.         $__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 $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/Front/FrontController.php (line 221)
  1.             $posts
  2.             $request->query->getInt('page'1),
  3.             12
  4.             );
  5.         return $this->render('front/article.html.twig', [
  6.            'article'=> $article,
  7.            'cat'=> $category[0],
  8.            'preview'=> $preview,
  9.            'next'=> $next,
  10.            'data'=> $data,
  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.         $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('/home/msk/htdocs/www.mcc.gov.mg/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. };

TypeError

Knp\Bundle\PaginatorBundle\Helper\Processor::__construct(): Argument #2 ($translator) must be of type Symfony\Contracts\Translation\TranslatorInterface, null given, called in /home/msk/htdocs/www.mcc.gov.mg/var/cache/dev/ContainerDbnqG4x/getPaginationRuntimeService.php on line 25

  1.  *
  2.  * @author RafaÅ‚ Wrzeszcz <rafal.wrzeszcz@wrzasq.pl>
  3.  */
  4. final class Processor
  5. {
  6.     public function __construct(
  7.         private readonly UrlGeneratorInterface $router,
  8.         private readonly TranslatorInterface $translator
  9.     ) {
  10.     }
  1.     {
  2.         include_once \dirname(__DIR__4).'/vendor/twig/twig/src/Extension/RuntimeExtensionInterface.php';
  3.         include_once \dirname(__DIR__4).'/vendor/knplabs/knp-paginator-bundle/src/Twig/Extension/PaginationRuntime.php';
  4.         include_once \dirname(__DIR__4).'/vendor/knplabs/knp-paginator-bundle/src/Helper/Processor.php';
  5.         return $container->privates['Knp\\Bundle\\PaginatorBundle\\Twig\\Extension\\PaginationRuntime'] = new \Knp\Bundle\PaginatorBundle\Twig\Extension\PaginationRuntime(new \Knp\Bundle\PaginatorBundle\Helper\Processor(($container->services['router'] ?? self::getRouterService($container)), NULL), 'page'false);
  6.     }
  7. }
  1.             $file .= '.php';
  2.         }
  3.         $service = require $this->containerDir.\DIRECTORY_SEPARATOR.$file;
  4.         return class_exists($classfalse) ? $class::do($this$lazyLoad) : $service;
  5.     }
  6.     protected function createProxy($class\Closure $factory)
  7.     {
  8.         class_exists($classfalse) || require __DIR__.'/'.$class.'.php';
  1.         }
  2.         if (null === $method) {
  3.             return false !== $registry $this->{$registry}[$id] ?? null null;
  4.         }
  5.         if (false !== $registry) {
  6.             return $this->{$registry}[$id] ??= $load $this->load($method) : $this->{$method}($this);
  7.         }
  8.         if (!$load) {
  9.             return $this->{$method}($this);
  10.         }
  1.     public function get(string $id): mixed
  2.     {
  3.         return match (\count($this->serviceMap[$id] ?? [])) {
  4.             => parent::get($id),
  5.             => $this->serviceMap[$id][0],
  6.             default => ($this->factory)(...$this->serviceMap[$id]),
  7.         };
  8.     }
  9.     public function getProvidedServices(): array
  10.     {
  1.     ) {
  2.     }
  3.     public function load(string $class)
  4.     {
  5.         return $this->container->has($class) ? $this->container->get($class) : null;
  6.     }
  7. }
  1.         if (isset($this->runtimes[$class])) {
  2.             return $this->runtimes[$class];
  3.         }
  4.         foreach ($this->runtimeLoaders as $loader) {
  5.             if (null !== $runtime $loader->load($class)) {
  6.                 return $this->runtimes[$class] = $runtime;
  7.             }
  8.         }
  9.         if (null !== $runtime $this->defaultRuntimeLoader->load($class)) {
  1.         // line 104
  2.         yield "                    </div>
  3.                     <div class=\"navigation w-100 d-flex justify-content-center align-items-center py-2\">
  4.                         ";
  5.         // line 106
  6.         yield $this->env->getRuntime('Knp\Bundle\PaginatorBundle\Twig\Extension\PaginationRuntime')->render($this->env, (isset($context["pagination"]) || array_key_exists("pagination"$context) ? $context["pagination"] : (function () { throw new RuntimeError('Variable "pagination" does not exist.'106$this->source); })()));
  7.         yield "
  8.                     </div>
  9.                 </div>
  10.             </div>
  11.         </div>
in vendor/twig/twig/src/Template.php -> block_body (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.         ";
  2.         // line 62
  3.         yield from $this->load("nav.html.twig"62)->unwrap()->yield($context);
  4.         // line 63
  5.         yield "        ";
  6.         yield from $this->unwrap()->yieldBlock('body'$context$blocks);
  7.         // line 64
  8.         yield "        
  9.         <footer class=\"text-center text-white py-3\" style=\"background:#0B3C5D\">
  10.             Â© 2026 â€“ Ministère de la Communication et de la Culture â€“ République de Madagascar
  11.         </footer>
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""front/article.html.twig"));
  3.         $this->parent $this->load("base.html.twig"1);
  4.         yield from $this->parent->unwrap()->yield($contextarray_merge($this->blocks$blocks));
  5.         
  6.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  7.         
  8.         $__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 $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/Front/FrontController.php (line 221)
  1.             $posts
  2.             $request->query->getInt('page'1),
  3.             12
  4.             );
  5.         return $this->render('front/article.html.twig', [
  6.            'article'=> $article,
  7.            'cat'=> $category[0],
  8.            'preview'=> $preview,
  9.            'next'=> $next,
  10.            'data'=> $data,
  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.         $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('/home/msk/htdocs/www.mcc.gov.mg/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 Message
info 13:22:41 Matched route "_profiler".
{
    "route": "_profiler",
    "route_parameters": {
        "_route": "_profiler",
        "_controller": "web_profiler.controller.profiler::panelAction",
        "token": "6f957f"
    },
    "request_uri": "https://www.mcc.gov.mg/_profiler/6f957f?panel=exception&type=request",
    "method": "GET"
}
debug 13:22:41 Notified event "kernel.request" to listener "Symfony\Component\HttpKernel\EventListener\DebugHandlersListener::configure".
{
    "event": "kernel.request",
    "listener": "Symfony\\Component\\HttpKernel\\EventListener\\DebugHandlersListener::configure"
}
debug 13:22:41 Notified event "kernel.request" to listener "Symfony\UX\Turbo\Request\RequestListener::__invoke".
{
    "event": "kernel.request",
    "listener": "Symfony\\UX\\Turbo\\Request\\RequestListener::__invoke"
}
debug 13:22:41 Notified event "kernel.request" to listener "Symfony\Component\HttpKernel\EventListener\ValidateRequestListener::onKernelRequest".
{
    "event": "kernel.request",
    "listener": "Symfony\\Component\\HttpKernel\\EventListener\\ValidateRequestListener::onKernelRequest"
}
debug 13:22:41 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 13:22:41 Notified event "kernel.request" to listener "Symfony\Component\HttpKernel\EventListener\SessionListener::onKernelRequest".
{
    "event": "kernel.request",
    "listener": "Symfony\\Component\\HttpKernel\\EventListener\\SessionListener::onKernelRequest"
}
debug 13:22:41 Notified event "kernel.request" to listener "Symfony\Component\HttpKernel\EventListener\LocaleListener::setDefaultLocale".
{
    "event": "kernel.request",
    "listener": "Symfony\\Component\\HttpKernel\\EventListener\\LocaleListener::setDefaultLocale"
}
debug 13:22:41 Notified event "kernel.request" to listener "Symfony\Component\AssetMapper\AssetMapperDevServerSubscriber::onKernelRequest".
{
    "event": "kernel.request",
    "listener": "Symfony\\Component\\AssetMapper\\AssetMapperDevServerSubscriber::onKernelRequest"
}
debug 13:22:41 Notified event "kernel.request" to listener "Symfony\Component\HttpKernel\EventListener\RouterListener::onKernelRequest".
{
    "event": "kernel.request",
    "listener": "Symfony\\Component\\HttpKernel\\EventListener\\RouterListener::onKernelRequest"
}
debug 13:22:41 Notified event "kernel.request" to listener "Symfony\Component\HttpKernel\EventListener\LocaleListener::onKernelRequest".
{
    "event": "kernel.request",
    "listener": "Symfony\\Component\\HttpKernel\\EventListener\\LocaleListener::onKernelRequest"
}
debug 13:22:41 Notified event "kernel.request" to listener "Symfony\Component\HttpKernel\EventListener\LocaleAwareListener::onKernelRequest".
{
    "event": "kernel.request",
    "listener": "Symfony\\Component\\HttpKernel\\EventListener\\LocaleAwareListener::onKernelRequest"
}
debug 13:22:41 Notified event "kernel.request" to listener "Symfony\Bundle\SecurityBundle\Debug\TraceableFirewallListener::configureLogoutUrlGenerator".
{
    "event": "kernel.request",
    "listener": "Symfony\\Bundle\\SecurityBundle\\Debug\\TraceableFirewallListener::configureLogoutUrlGenerator"
}
debug 13:22:41 Notified event "kernel.request" to listener "Symfony\Bundle\SecurityBundle\Debug\TraceableFirewallListener::onKernelRequest".
{
    "event": "kernel.request",
    "listener": "Symfony\\Bundle\\SecurityBundle\\Debug\\TraceableFirewallListener::onKernelRequest"
}
debug 13:22:41 Notified event "kernel.request" to listener "Knp\Bundle\PaginatorBundle\Subscriber\SlidingPaginationSubscriber::onKernelRequest".
{
    "event": "kernel.request",
    "listener": "Knp\\Bundle\\PaginatorBundle\\Subscriber\\SlidingPaginationSubscriber::onKernelRequest"
}
debug 13:22:41 Notified event "kernel.request" to listener "Symfony\UX\LiveComponent\EventListener\LiveComponentSubscriber::onKernelRequest".
{
    "event": "kernel.request",
    "listener": "Symfony\\UX\\LiveComponent\\EventListener\\LiveComponentSubscriber::onKernelRequest"
}
debug 13:22:41 Notified event "kernel.controller" to listener "Symfony\UX\LiveComponent\EventListener\LiveComponentSubscriber::onKernelController".
{
    "event": "kernel.controller",
    "listener": "Symfony\\UX\\LiveComponent\\EventListener\\LiveComponentSubscriber::onKernelController"
}
debug 13:22:41 Notified event "kernel.controller" to listener "Symfony\Bundle\FrameworkBundle\DataCollector\RouterDataCollector::onKernelController".
{
    "event": "kernel.controller",
    "listener": "Symfony\\Bundle\\FrameworkBundle\\DataCollector\\RouterDataCollector::onKernelController"
}
debug 13:22:41 Notified event "kernel.controller" to listener "Symfony\Component\HttpKernel\DataCollector\RequestDataCollector::onKernelController".
{
    "event": "kernel.controller",
    "listener": "Symfony\\Component\\HttpKernel\\DataCollector\\RequestDataCollector::onKernelController"
}
debug 13:22:41 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 13:22:41 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 13:22:41 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 13:22:41 Notified event "kernel.controller_arguments" to listener "ContainerDbnqG4x\RequestPayloadValueResolverGhost01ca9cc::onKernelControllerArguments".
{
    "event": "kernel.controller_arguments",
    "listener": "ContainerDbnqG4x\\RequestPayloadValueResolverGhost01ca9cc::onKernelControllerArguments"
}
debug 13:22:41 Notified event "kernel.controller_arguments" to listener "Symfony\Component\HttpKernel\EventListener\ErrorListener::onControllerArguments".
{
    "event": "kernel.controller_arguments",
    "listener": "Symfony\\Component\\HttpKernel\\EventListener\\ErrorListener::onControllerArguments"
}
debug 13:22:41 Notified event "kernel.request" to listener "Symfony\Component\HttpKernel\EventListener\DebugHandlersListener::configure".
{
    "event": "kernel.request",
    "listener": "Symfony\\Component\\HttpKernel\\EventListener\\DebugHandlersListener::configure"
}
debug 13:22:41 Notified event "kernel.request" to listener "Symfony\UX\Turbo\Request\RequestListener::__invoke".
{
    "event": "kernel.request",
    "listener": "Symfony\\UX\\Turbo\\Request\\RequestListener::__invoke"
}
debug 13:22:41 Notified event "kernel.request" to listener "Symfony\Component\HttpKernel\EventListener\ValidateRequestListener::onKernelRequest".
{
    "event": "kernel.request",
    "listener": "Symfony\\Component\\HttpKernel\\EventListener\\ValidateRequestListener::onKernelRequest"
}
debug 13:22:41 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 13:22:41 Notified event "kernel.request" to listener "Symfony\Component\HttpKernel\EventListener\SessionListener::onKernelRequest".
{
    "event": "kernel.request",
    "listener": "Symfony\\Component\\HttpKernel\\EventListener\\SessionListener::onKernelRequest"
}
debug 13:22:41 Notified event "kernel.request" to listener "Symfony\Component\HttpKernel\EventListener\LocaleListener::setDefaultLocale".
{
    "event": "kernel.request",
    "listener": "Symfony\\Component\\HttpKernel\\EventListener\\LocaleListener::setDefaultLocale"
}
debug 13:22:41 Notified event "kernel.request" to listener "Symfony\Component\AssetMapper\AssetMapperDevServerSubscriber::onKernelRequest".
{
    "event": "kernel.request",
    "listener": "Symfony\\Component\\AssetMapper\\AssetMapperDevServerSubscriber::onKernelRequest"
}
debug 13:22:41 Notified event "kernel.request" to listener "Symfony\Component\HttpKernel\EventListener\RouterListener::onKernelRequest".
{
    "event": "kernel.request",
    "listener": "Symfony\\Component\\HttpKernel\\EventListener\\RouterListener::onKernelRequest"
}
debug 13:22:41 Notified event "kernel.request" to listener "Symfony\Component\HttpKernel\EventListener\LocaleListener::onKernelRequest".
{
    "event": "kernel.request",
    "listener": "Symfony\\Component\\HttpKernel\\EventListener\\LocaleListener::onKernelRequest"
}
debug 13:22:41 Notified event "kernel.request" to listener "Symfony\Component\HttpKernel\EventListener\LocaleAwareListener::onKernelRequest".
{
    "event": "kernel.request",
    "listener": "Symfony\\Component\\HttpKernel\\EventListener\\LocaleAwareListener::onKernelRequest"
}
debug 13:22:41 Notified event "kernel.request" to listener "Symfony\Bundle\SecurityBundle\Debug\TraceableFirewallListener::configureLogoutUrlGenerator".
{
    "event": "kernel.request",
    "listener": "Symfony\\Bundle\\SecurityBundle\\Debug\\TraceableFirewallListener::configureLogoutUrlGenerator"
}
debug 13:22:41 Notified event "kernel.request" to listener "Symfony\Bundle\SecurityBundle\Debug\TraceableFirewallListener::onKernelRequest".
{
    "event": "kernel.request",
    "listener": "Symfony\\Bundle\\SecurityBundle\\Debug\\TraceableFirewallListener::onKernelRequest"
}
debug 13:22:41 Notified event "kernel.request" to listener "Knp\Bundle\PaginatorBundle\Subscriber\SlidingPaginationSubscriber::onKernelRequest".
{
    "event": "kernel.request",
    "listener": "Knp\\Bundle\\PaginatorBundle\\Subscriber\\SlidingPaginationSubscriber::onKernelRequest"
}
debug 13:22:41 Notified event "kernel.request" to listener "Symfony\UX\LiveComponent\EventListener\LiveComponentSubscriber::onKernelRequest".
{
    "event": "kernel.request",
    "listener": "Symfony\\UX\\LiveComponent\\EventListener\\LiveComponentSubscriber::onKernelRequest"
}
debug 13:22:41 Notified event "kernel.controller" to listener "Symfony\UX\LiveComponent\EventListener\LiveComponentSubscriber::onKernelController".
{
    "event": "kernel.controller",
    "listener": "Symfony\\UX\\LiveComponent\\EventListener\\LiveComponentSubscriber::onKernelController"
}
debug 13:22:41 Notified event "kernel.controller" to listener "Symfony\Bundle\FrameworkBundle\DataCollector\RouterDataCollector::onKernelController".
{
    "event": "kernel.controller",
    "listener": "Symfony\\Bundle\\FrameworkBundle\\DataCollector\\RouterDataCollector::onKernelController"
}
debug 13:22:41 Notified event "kernel.controller" to listener "Symfony\Component\HttpKernel\DataCollector\RequestDataCollector::onKernelController".
{
    "event": "kernel.controller",
    "listener": "Symfony\\Component\\HttpKernel\\DataCollector\\RequestDataCollector::onKernelController"
}
debug 13:22:41 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 13:22:41 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 13:22:41 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 13:22:41 Notified event "kernel.controller_arguments" to listener "ContainerDbnqG4x\RequestPayloadValueResolverGhost01ca9cc::onKernelControllerArguments".
{
    "event": "kernel.controller_arguments",
    "listener": "ContainerDbnqG4x\\RequestPayloadValueResolverGhost01ca9cc::onKernelControllerArguments"
}
debug 13:22:41 Notified event "kernel.controller_arguments" to listener "Symfony\Component\HttpKernel\EventListener\ErrorListener::onControllerArguments".
{
    "event": "kernel.controller_arguments",
    "listener": "Symfony\\Component\\HttpKernel\\EventListener\\ErrorListener::onControllerArguments"
}
debug 13:22:41 Notified event "kernel.response" to listener "Symfony\Component\AssetMapper\AssetMapperDevServerSubscriber::onKernelResponse".
{
    "event": "kernel.response",
    "listener": "Symfony\\Component\\AssetMapper\\AssetMapperDevServerSubscriber::onKernelResponse"
}
debug 13:22:41 Notified event "kernel.response" to listener "Symfony\Component\Security\Csrf\SameOriginCsrfTokenManager::onKernelResponse".
{
    "event": "kernel.response",
    "listener": "Symfony\\Component\\Security\\Csrf\\SameOriginCsrfTokenManager::onKernelResponse"
}
debug 13:22:41 Notified event "kernel.response" to listener "Symfony\Component\Security\Http\Firewall\ContextListener::onKernelResponse".
{
    "event": "kernel.response",
    "listener": "Symfony\\Component\\Security\\Http\\Firewall\\ContextListener::onKernelResponse"
}
debug 13:22:41 Notified event "kernel.response" to listener "Symfony\Component\HttpKernel\EventListener\ResponseListener::onKernelResponse".
{
    "event": "kernel.response",
    "listener": "Symfony\\Component\\HttpKernel\\EventListener\\ResponseListener::onKernelResponse"
}
debug 13:22:41 Notified event "kernel.response" to listener "Symfony\Component\HttpKernel\DataCollector\RequestDataCollector::onKernelResponse".
{
    "event": "kernel.response",
    "listener": "Symfony\\Component\\HttpKernel\\DataCollector\\RequestDataCollector::onKernelResponse"
}
debug 13:22:41 Notified event "kernel.response" to listener "Symfony\Component\Security\Http\RememberMe\ResponseListener::onKernelResponse".
{
    "event": "kernel.response",
    "listener": "Symfony\\Component\\Security\\Http\\RememberMe\\ResponseListener::onKernelResponse"
}
debug 13:22:41 Notified event "kernel.response" to listener "Symfony\UX\LiveComponent\EventListener\LiveComponentSubscriber::onKernelResponse".
{
    "event": "kernel.response",
    "listener": "Symfony\\UX\\LiveComponent\\EventListener\\LiveComponentSubscriber::onKernelResponse"
}
debug 13:22:41 Notified event "kernel.response" to listener "Symfony\UX\LiveComponent\EventListener\LiveUrlSubscriber::onKernelResponse".
{
    "event": "kernel.response",
    "listener": "Symfony\\UX\\LiveComponent\\EventListener\\LiveUrlSubscriber::onKernelResponse"
}
debug 13:22:41 Notified event "kernel.response" to listener "Symfony\Component\HttpKernel\EventListener\CacheAttributeListener::onKernelResponse".
{
    "event": "kernel.response",
    "listener": "Symfony\\Component\\HttpKernel\\EventListener\\CacheAttributeListener::onKernelResponse"
}
debug 13:22:41 Notified event "kernel.response" to listener "Symfony\Component\HttpKernel\EventListener\ProfilerListener::onKernelResponse".
{
    "event": "kernel.response",
    "listener": "Symfony\\Component\\HttpKernel\\EventListener\\ProfilerListener::onKernelResponse"
}
debug 13:22:41 Notified event "kernel.response" to listener "Symfony\Component\HttpKernel\EventListener\ErrorListener::removeCspHeader".
{
    "event": "kernel.response",
    "listener": "Symfony\\Component\\HttpKernel\\EventListener\\ErrorListener::removeCspHeader"
}
debug 13:22:41 Notified event "kernel.response" to listener "Symfony\Bundle\WebProfilerBundle\EventListener\WebDebugToolbarListener::onKernelResponse".
{
    "event": "kernel.response",
    "listener": "Symfony\\Bundle\\WebProfilerBundle\\EventListener\\WebDebugToolbarListener::onKernelResponse"
}
debug 13:22:41 Notified event "kernel.response" to listener "Symfony\Component\HttpKernel\EventListener\DisallowRobotsIndexingListener::onResponse".
{
    "event": "kernel.response",
    "listener": "Symfony\\Component\\HttpKernel\\EventListener\\DisallowRobotsIndexingListener::onResponse"
}
debug 13:22:41 Notified event "kernel.response" to listener "Symfony\Component\HttpKernel\EventListener\SessionListener::onKernelResponse".
{
    "event": "kernel.response",
    "listener": "Symfony\\Component\\HttpKernel\\EventListener\\SessionListener::onKernelResponse"
}
debug 13:22:41 Notified event "kernel.finish_request" to listener "Symfony\Component\HttpKernel\EventListener\LocaleListener::onKernelFinishRequest".
{
    "event": "kernel.finish_request",
    "listener": "Symfony\\Component\\HttpKernel\\EventListener\\LocaleListener::onKernelFinishRequest"
}
debug 13:22:41 Notified event "kernel.finish_request" to listener "Symfony\Component\HttpKernel\EventListener\RouterListener::onKernelFinishRequest".
{
    "event": "kernel.finish_request",
    "listener": "Symfony\\Component\\HttpKernel\\EventListener\\RouterListener::onKernelFinishRequest"
}
debug 13:22:41 Notified event "kernel.finish_request" to listener "Symfony\Bundle\SecurityBundle\Debug\TraceableFirewallListener::onKernelFinishRequest".
{
    "event": "kernel.finish_request",
    "listener": "Symfony\\Bundle\\SecurityBundle\\Debug\\TraceableFirewallListener::onKernelFinishRequest"
}
debug 13:22:41 Notified event "kernel.finish_request" to listener "Symfony\WebpackEncoreBundle\EventListener\ResetAssetsEventListener::resetAssets".
{
    "event": "kernel.finish_request",
    "listener": "Symfony\\WebpackEncoreBundle\\EventListener\\ResetAssetsEventListener::resetAssets"
}
debug 13:22:41 Notified event "kernel.finish_request" to listener "Symfony\Component\HttpKernel\EventListener\LocaleAwareListener::onKernelFinishRequest".
{
    "event": "kernel.finish_request",
    "listener": "Symfony\\Component\\HttpKernel\\EventListener\\LocaleAwareListener::onKernelFinishRequest"
}
debug 13:22:41 Notified event "kernel.request" to listener "Symfony\Component\HttpKernel\EventListener\DebugHandlersListener::configure".
{
    "event": "kernel.request",
    "listener": "Symfony\\Component\\HttpKernel\\EventListener\\DebugHandlersListener::configure"
}
debug 13:22:41 Notified event "kernel.request" to listener "Symfony\UX\Turbo\Request\RequestListener::__invoke".
{
    "event": "kernel.request",
    "listener": "Symfony\\UX\\Turbo\\Request\\RequestListener::__invoke"
}
debug 13:22:41 Notified event "kernel.request" to listener "Symfony\Component\HttpKernel\EventListener\ValidateRequestListener::onKernelRequest".
{
    "event": "kernel.request",
    "listener": "Symfony\\Component\\HttpKernel\\EventListener\\ValidateRequestListener::onKernelRequest"
}
debug 13:22:41 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 13:22:41 Notified event "kernel.request" to listener "Symfony\Component\HttpKernel\EventListener\SessionListener::onKernelRequest".
{
    "event": "kernel.request",
    "listener": "Symfony\\Component\\HttpKernel\\EventListener\\SessionListener::onKernelRequest"
}
debug 13:22:41 Notified event "kernel.request" to listener "Symfony\Component\HttpKernel\EventListener\LocaleListener::setDefaultLocale".
{
    "event": "kernel.request",
    "listener": "Symfony\\Component\\HttpKernel\\EventListener\\LocaleListener::setDefaultLocale"
}
debug 13:22:41 Notified event "kernel.request" to listener "Symfony\Component\AssetMapper\AssetMapperDevServerSubscriber::onKernelRequest".
{
    "event": "kernel.request",
    "listener": "Symfony\\Component\\AssetMapper\\AssetMapperDevServerSubscriber::onKernelRequest"
}
debug 13:22:41 Notified event "kernel.request" to listener "Symfony\Component\HttpKernel\EventListener\RouterListener::onKernelRequest".
{
    "event": "kernel.request",
    "listener": "Symfony\\Component\\HttpKernel\\EventListener\\RouterListener::onKernelRequest"
}
debug 13:22:41 Notified event "kernel.request" to listener "Symfony\Component\HttpKernel\EventListener\LocaleListener::onKernelRequest".
{
    "event": "kernel.request",
    "listener": "Symfony\\Component\\HttpKernel\\EventListener\\LocaleListener::onKernelRequest"
}
debug 13:22:41 Notified event "kernel.request" to listener "Symfony\Component\HttpKernel\EventListener\LocaleAwareListener::onKernelRequest".
{
    "event": "kernel.request",
    "listener": "Symfony\\Component\\HttpKernel\\EventListener\\LocaleAwareListener::onKernelRequest"
}
debug 13:22:41 Notified event "kernel.request" to listener "Symfony\Bundle\SecurityBundle\Debug\TraceableFirewallListener::configureLogoutUrlGenerator".
{
    "event": "kernel.request",
    "listener": "Symfony\\Bundle\\SecurityBundle\\Debug\\TraceableFirewallListener::configureLogoutUrlGenerator"
}
debug 13:22:41 Notified event "kernel.request" to listener "Symfony\Bundle\SecurityBundle\Debug\TraceableFirewallListener::onKernelRequest".
{
    "event": "kernel.request",
    "listener": "Symfony\\Bundle\\SecurityBundle\\Debug\\TraceableFirewallListener::onKernelRequest"
}
debug 13:22:41 Notified event "kernel.request" to listener "Knp\Bundle\PaginatorBundle\Subscriber\SlidingPaginationSubscriber::onKernelRequest".
{
    "event": "kernel.request",
    "listener": "Knp\\Bundle\\PaginatorBundle\\Subscriber\\SlidingPaginationSubscriber::onKernelRequest"
}
debug 13:22:41 Notified event "kernel.request" to listener "Symfony\UX\LiveComponent\EventListener\LiveComponentSubscriber::onKernelRequest".
{
    "event": "kernel.request",
    "listener": "Symfony\\UX\\LiveComponent\\EventListener\\LiveComponentSubscriber::onKernelRequest"
}
debug 13:22:41 Notified event "kernel.controller" to listener "Symfony\UX\LiveComponent\EventListener\LiveComponentSubscriber::onKernelController".
{
    "event": "kernel.controller",
    "listener": "Symfony\\UX\\LiveComponent\\EventListener\\LiveComponentSubscriber::onKernelController"
}
debug 13:22:41 Notified event "kernel.controller" to listener "Symfony\Bundle\FrameworkBundle\DataCollector\RouterDataCollector::onKernelController".
{
    "event": "kernel.controller",
    "listener": "Symfony\\Bundle\\FrameworkBundle\\DataCollector\\RouterDataCollector::onKernelController"
}
debug 13:22:41 Notified event "kernel.controller" to listener "Symfony\Component\HttpKernel\DataCollector\RequestDataCollector::onKernelController".
{
    "event": "kernel.controller",
    "listener": "Symfony\\Component\\HttpKernel\\DataCollector\\RequestDataCollector::onKernelController"
}
debug 13:22:41 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 13:22:41 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 13:22:41 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 13:22:41 Notified event "kernel.controller_arguments" to listener "ContainerDbnqG4x\RequestPayloadValueResolverGhost01ca9cc::onKernelControllerArguments".
{
    "event": "kernel.controller_arguments",
    "listener": "ContainerDbnqG4x\\RequestPayloadValueResolverGhost01ca9cc::onKernelControllerArguments"
}
debug 13:22:41 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 2

[2/2] RuntimeError
Twig\Error\RuntimeError:
An exception has been thrown during the rendering of a template ("Knp\Bundle\PaginatorBundle\Helper\Processor::__construct(): Argument #2 ($translator) must be of type Symfony\Contracts\Translation\TranslatorInterface, null given, called in /home/msk/htdocs/www.mcc.gov.mg/var/cache/dev/ContainerDbnqG4x/getPaginationRuntimeService.php on line 25") in "front/article.html.twig" at line 106.

  at templates/front/article.html.twig:106
  at Twig\Template->yieldBlock()
     (var/cache/dev/twig/4c/4c28ee0495f7532d36b2baee721a4b1a.php:128)
  at __TwigTemplate_33ba668d4b77bfbf3a6515611af3e990->doDisplay()
     (vendor/twig/twig/src/Template.php:402)
  at Twig\Template->yield()
     (var/cache/dev/twig/26/26619ebb9472cedf91954484d7a48267.php:55)
  at __TwigTemplate_2db767fd1596c6881cdb969412e024bf->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:431)
  at Symfony\Bundle\FrameworkBundle\Controller\AbstractController->doRenderView()
     (vendor/symfony/framework-bundle/Controller/AbstractController.php:436)
  at Symfony\Bundle\FrameworkBundle\Controller\AbstractController->doRender()
     (vendor/symfony/framework-bundle/Controller/AbstractController.php:250)
  at Symfony\Bundle\FrameworkBundle\Controller\AbstractController->render()
     (src/Controller/Front/FrontController.php:221)
  at App\Controller\Front\FrontController->post()
     (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('/home/msk/htdocs/www.mcc.gov.mg/vendor/autoload_runtime.php')
     (public/index.php:5)                
[1/2] TypeError
TypeError:
Knp\Bundle\PaginatorBundle\Helper\Processor::__construct(): Argument #2 ($translator) must be of type Symfony\Contracts\Translation\TranslatorInterface, null given, called in /home/msk/htdocs/www.mcc.gov.mg/var/cache/dev/ContainerDbnqG4x/getPaginationRuntimeService.php on line 25

  at vendor/knplabs/knp-paginator-bundle/src/Helper/Processor.php:18
  at Knp\Bundle\PaginatorBundle\Helper\Processor->__construct()
     (var/cache/dev/ContainerDbnqG4x/getPaginationRuntimeService.php:25)
  at ContainerDbnqG4x\getPaginationRuntimeService::do()
     (var/cache/dev/ContainerDbnqG4x/App_KernelDevDebugContainer.php:461)
  at ContainerDbnqG4x\App_KernelDevDebugContainer->load()
     (vendor/symfony/dependency-injection/Container.php:399)
  at Symfony\Component\DependencyInjection\Container->getService()
     (vendor/symfony/dependency-injection/Argument/ServiceLocator.php:36)
  at Symfony\Component\DependencyInjection\Argument\ServiceLocator->get()
     (vendor/twig/twig/src/RuntimeLoader/ContainerRuntimeLoader.php:33)
  at Twig\RuntimeLoader\ContainerRuntimeLoader->load()
     (vendor/twig/twig/src/Environment.php:672)
  at Twig\Environment->getRuntime()
     (var/cache/dev/twig/26/26619ebb9472cedf91954484d7a48267.php:332)
  at __TwigTemplate_2db767fd1596c6881cdb969412e024bf->block_body()
     (vendor/twig/twig/src/Template.php:446)
  at Twig\Template->yieldBlock()
     (var/cache/dev/twig/4c/4c28ee0495f7532d36b2baee721a4b1a.php:128)
  at __TwigTemplate_33ba668d4b77bfbf3a6515611af3e990->doDisplay()
     (vendor/twig/twig/src/Template.php:402)
  at Twig\Template->yield()
     (var/cache/dev/twig/26/26619ebb9472cedf91954484d7a48267.php:55)
  at __TwigTemplate_2db767fd1596c6881cdb969412e024bf->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:431)
  at Symfony\Bundle\FrameworkBundle\Controller\AbstractController->doRenderView()
     (vendor/symfony/framework-bundle/Controller/AbstractController.php:436)
  at Symfony\Bundle\FrameworkBundle\Controller\AbstractController->doRender()
     (vendor/symfony/framework-bundle/Controller/AbstractController.php:250)
  at Symfony\Bundle\FrameworkBundle\Controller\AbstractController->render()
     (src/Controller/Front/FrontController.php:221)
  at App\Controller\Front\FrontController->post()
     (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('/home/msk/htdocs/www.mcc.gov.mg/vendor/autoload_runtime.php')
     (public/index.php:5)