Exceptions

An exception has been thrown during the rendering of a template ("Parameter "search" for route "block_catmenu_spec" must match "[^/]++" ("Have one to sell? Sell now Similar Items Sponsored Feedback on our suggestions | See all Connexx Travel Charger RIC Rechargeable Wireless Earbuds Charging Case USB Cable Pre-owned $99.00 Free shipping 30 sold Connexx Travel Charger RIC Charging Case Only New (Other) $49.99 Free shipping Signia Pure Portable Charger RIC with USB Charging Cable Pre-owned $65.00 Free shipping 312 sold Connexx Smart Li-ion Power Inductive Hearing Aid Charger w/ Charging Cable Pre-owned $69.97 Free shipping Seller with 100% positive feedback Connexx Travel Charger" given) to generate a corresponding URL.").

Exceptions 2

Twig\Error\ RuntimeError

  1.                 {{ labels.get('left-cats-7')|raw }}
  2.             {% endif %}
  3.         </div>
  4.     </div>
  5.     <div id="left-tab-1" class="left-tab{% if prods|length or app.request.get('_route') == 'prod_list_cat_filter' or app.request.get('_route') == 'prod_list_cat_spec_filter' %}{% else %} hidden-mob{% endif %}" {% if chars_count and prods|length %} style="display: none;" {% else %} style="display: block;" {% endif %}>
  6.         {{ render_esi (url('block_catmenu_spec', {'spec': (spec ? spec : 'default'), 'cat_cat': (cat.cat ? cat.cat : 0), 'cat_id': (cat.id ? cat.id : 0), 'search': (app.request.get('q') ? app.request.get('q') : 0)}), { 'ignore_errors': true }) }}
  7.     </div>
  8. {% else %}
  9.     <div class="filter-sidebar">
  10.         <div class="main-cats-title">{{ labels.get('left-cats-7')|raw }}</div>
  11.     </div>
  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 359)
  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.             if ($isSandboxed) {
  2.                 $loaded->unwrap()->checkSecurity();
  3.             }
  4.             return $loaded->render($variables);
  5.         } finally {
  6.             if ($isSandboxed && !$alreadySandboxed) {
  7.                 $sandbox->disableSandbox();
  8.             }
  9.         }
  1.                 yield " active";
  2.             }
  3.             yield "\">
  4. \t\t\t\t\t\t";
  5.             // line 393
  6.             yield Twig\Extension\CoreExtension::include($this->env$context"block/left-blocks.html.twig");
  7.             yield "
  8. \t\t\t\t\t</div>
  9. \t\t\t\t\t<!-- End Filter Sidebar -->
  10. \t\t\t\t\t<!-- Product List -->
in vendor/twig/twig/src/Template.php -> doDisplay (line 388)
  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""catalog/list.html.twig"));
  3.         $this->parent $this->loadTemplate("base.html.twig""catalog/list.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 388)
  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 359)
  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.     {
  2.         if (!$this->container->has('twig')) {
  3.             throw new \LogicException('You cannot use the "renderView" method if the Twig Bundle is not available. Try running "composer require symfony/twig-bundle".');
  4.         }
  5.         return $this->container->get('twig')->render($view$parameters);
  6.     }
  7.     /**
  8.      * Renders a view.
  9.      */
  1.     /**
  2.      * Renders a view.
  3.      */
  4.     protected function render(string $view, array $parameters = [], Response $response null): Response
  5.     {
  6.         $content $this->renderView($view$parameters);
  7.         if (null === $response) {
  8.             $response = new Response();
  9.         }
AbstractController->render() in src/Controller/CatalogController.php (line 451)
  1.             'bc' => $bc,
  2.             'bcc' => $bcc,
  3.             'canonical' => $canonical,
  4.             'showcont' => $showcont,
  5.             'prodstable' => $prodstable,
  6.             'cart_items' => $this->ModelCart->getCart(),
  7.         ]);
  8.     }
  9.     #[Route('/catalog/prod-{prod_id}'name'prod_cont_no_locale'defaults: ['_locale' => '%app.default_lang%'])]
  10.     #[Route('/{_locale}/catalog/prod-{prod_id}'name'prod_cont'requirements: ['_locale' => '%app.langs%'])]
  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);
  9.             $this->dispatcher->dispatch($eventKernelEvents::VIEW);
  1.     {
  2.         $request->headers->set('X-Php-Ob-Level', (string) ob_get_level());
  3.         $this->requestStack->push($request);
  4.         try {
  5.             return $this->handleRaw($request$type);
  6.         } catch (\Exception $e) {
  7.             if ($e instanceof RequestExceptionInterface) {
  8.                 $e = new BadRequestHttpException($e->getMessage(), $e);
  9.             }
  10.             if (false === $catch) {
  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.         if (!IpUtils::checkIp('127.0.0.1'$trustedProxies)) {
  2.             Request::setTrustedProxies(array_merge($trustedProxies, ['127.0.0.1']), Request::getTrustedHeaderSet());
  3.         }
  4.         try {
  5.             return $kernel->handle($request$type$catch);
  6.         } finally {
  7.             // restore global state
  8.             Request::setTrustedProxies($trustedProxies$trustedHeaderSet);
  9.         }
  10.     }
  1.         if ($this->surrogate) {
  2.             $this->surrogate->addSurrogateCapability($request);
  3.         }
  4.         // always a "master" request (as the real master request can be in cache)
  5.         $response SubRequestHandler::handle($this->kernel$requestHttpKernelInterface::MAIN_REQUEST$catch);
  6.         /*
  7.          * Support stale-if-error given on Responses or as a config option.
  8.          * RFC 7234 summarizes in Section 4.2.4 (but also mentions with the individual
  9.          * Cache-Control directives) that
  1.     protected function forward(Request $requestbool $catch falseResponse $entry null): Response
  2.     {
  3.         $this->getKernel()->boot();
  4.         $this->getKernel()->getContainer()->set('cache'$this);
  5.         return parent::forward($request$catch$entry);
  6.     }
  7.     /**
  8.      * Returns an array of options to customize the Cache configuration.
  9.      */
  1.         // avoid that the backend sends no content
  2.         $subRequest->headers->remove('If-Modified-Since');
  3.         $subRequest->headers->remove('If-None-Match');
  4.         $response $this->forward($subRequest$catch);
  5.         if ($response->isCacheable()) {
  6.             $this->store($request$response);
  7.         }
  1.         }
  2.         if (null === $entry) {
  3.             $this->record($request'miss');
  4.             return $this->fetch($request$catch);
  5.         }
  6.         if (!$this->isFreshEnough($request$entry)) {
  7.             $this->record($request'stale');
  1.                 reload the cache by fetching a fresh response and caching it (if possible).
  2.             */
  3.             $this->record($request'reload');
  4.             $response $this->fetch($request$catch);
  5.         } else {
  6.             $response $this->lookup($request$catch);
  7.         }
  8.         $this->restoreResponseBody($request$response);
  9.         if (HttpKernelInterface::MAIN_REQUEST === $type) {
  1.     {
  2.         if (!$this->booted) {
  3.             $container $this->container ?? $this->preBoot();
  4.             if ($container->has('http_cache')) {
  5.                 return $container->get('http_cache')->handle($request$type$catch);
  6.             }
  7.         }
  8.         $this->boot();
  9.         ++$this->requestStackSize;
  1.         $this->request $request;
  2.     }
  3.     public function run(): int
  4.     {
  5.         $response $this->kernel->handle($this->request);
  6.         $response->send();
  7.         if ($this->kernel instanceof TerminableInterface) {
  8.             $this->kernel->terminate($this->request$response);
  9.         }
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/mirbusin.ru/public_html/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. };

Symfony\Component\Routing\Exception\ InvalidParameterException

Parameter "search" for route "block_catmenu_spec" must match "[^/]++" ("Have one to sell? Sell now Similar Items Sponsored Feedback on our suggestions | See all Connexx Travel Charger RIC Rechargeable Wireless Earbuds Charging Case USB Cable Pre-owned $99.00 Free shipping 30 sold Connexx Travel Charger RIC Charging Case Only New (Other) $49.99 Free shipping Signia Pure Portable Charger RIC with USB Charging Cable Pre-owned $65.00 Free shipping 312 sold Connexx Smart Li-ion Power Inductive Hearing Aid Charger w/ Charging Cable Pre-owned $69.97 Free shipping Seller with 100% positive feedback Connexx Travel Charger" given) to generate a corresponding URL.

  1.                 if (!$optional || $important || !\array_key_exists($varName$defaults) || (null !== $mergedParams[$varName] && (string) $mergedParams[$varName] !== (string) $defaults[$varName])) {
  2.                     // check requirement (while ignoring look-around patterns)
  3.                     if (null !== $this->strictRequirements && !preg_match('#^'.preg_replace('/\(\?(?:=|<=|!|<!)((?:[^()\\\\]+|\\\\.|\((?1)\))*)\)/'''$token[2]).'$#i'.(empty($token[4]) ? '' 'u'), $mergedParams[$token[3]] ?? '')) {
  4.                         if ($this->strictRequirements) {
  5.                             throw new InvalidParameterException(strtr($message, ['{parameter}' => $varName'{route}' => $name'{expected}' => $token[2], '{given}' => $mergedParams[$varName]]));
  6.                         }
  7.                         if ($this->logger) {
  8.                             $this->logger->error($message, ['parameter' => $varName'route' => $name'expected' => $token[2], 'given' => $mergedParams[$varName]]);
  9.                         }
  1.             } elseif (!isset($parameters['_locale'])) {
  2.                 $parameters['_locale'] = $defaults['_locale'];
  3.             }
  4.         }
  5.         return $this->doGenerate($variables$defaults$requirements$tokens$parameters$name$referenceType$hostTokens$requiredSchemes);
  6.     }
  7. }
in vendor/symfony/routing/Router.php -> generate (line 225)
  1.     /**
  2.      * {@inheritdoc}
  3.      */
  4.     public function generate(string $name, array $parameters = [], int $referenceType self::ABSOLUTE_PATH): string
  5.     {
  6.         return $this->getGenerator()->generate($name$parameters$referenceType);
  7.     }
  8.     /**
  9.      * {@inheritdoc}
  10.      */
  1.         return $this->generator->generate($name$parameters$relative UrlGeneratorInterface::RELATIVE_PATH UrlGeneratorInterface::ABSOLUTE_PATH);
  2.     }
  3.     public function getUrl(string $name, array $parameters = [], bool $schemeRelative false): string
  4.     {
  5.         return $this->generator->generate($name$parameters$schemeRelative UrlGeneratorInterface::NETWORK_PATH UrlGeneratorInterface::ABSOLUTE_URL);
  6.     }
  7.     /**
  8.      * Determines at compile time whether the generated URL will be safe and thus
  9.      * saving the unneeded automatic escaping for performance reasons.
  1.                 yield " style=\"display: block;\" ";
  2.             }
  3.             yield ">
  4. \t\t";
  5.             // line 154
  6.             yield $this->env->getRuntime('Symfony\Bridge\Twig\Extension\HttpKernelRuntime')->renderFragmentStrategy("esi"$this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getUrl("block_catmenu_spec", ["spec" => ((($context["spec"] ?? null)) ? (($context["spec"] ?? null)) : ("default")), "cat_cat" => ((CoreExtension::getAttribute($this->env$this->source, ($context["cat"] ?? null), "cat", [], "any"falsefalsefalse154)) ? (CoreExtension::getAttribute($this->env$this->source, ($context["cat"] ?? null), "cat", [], "any"falsefalsefalse154)) : (0)), "cat_id" => ((CoreExtension::getAttribute($this->env$this->source, ($context["cat"] ?? null), "id", [], "any"falsefalsefalse154)) ? (CoreExtension::getAttribute($this->env$this->source, ($context["cat"] ?? null), "id", [], "any"falsefalsefalse154)) : (0)), "search" => ((CoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->source, ($context["app"] ?? null), "request", [], "any"falsefalsefalse154), "get", ["q"], "method"falsefalsefalse154)) ? (CoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->source, ($context["app"] ?? null), "request", [], "any"falsefalsefalse154), "get", ["q"], "method"falsefalsefalse154)) : (0))]), ["ignore_errors" => true]);
  7.             yield "
  8. \t</div>
  9. ";
  10.         } else {
  11.             // line 157
in vendor/twig/twig/src/Template.php -> doDisplay (line 388)
  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 359)
  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.             if ($isSandboxed) {
  2.                 $loaded->unwrap()->checkSecurity();
  3.             }
  4.             return $loaded->render($variables);
  5.         } finally {
  6.             if ($isSandboxed && !$alreadySandboxed) {
  7.                 $sandbox->disableSandbox();
  8.             }
  9.         }
  1.                 yield " active";
  2.             }
  3.             yield "\">
  4. \t\t\t\t\t\t";
  5.             // line 393
  6.             yield Twig\Extension\CoreExtension::include($this->env$context"block/left-blocks.html.twig");
  7.             yield "
  8. \t\t\t\t\t</div>
  9. \t\t\t\t\t<!-- End Filter Sidebar -->
  10. \t\t\t\t\t<!-- Product List -->
in vendor/twig/twig/src/Template.php -> doDisplay (line 388)
  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""catalog/list.html.twig"));
  3.         $this->parent $this->loadTemplate("base.html.twig""catalog/list.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 388)
  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 359)
  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.     {
  2.         if (!$this->container->has('twig')) {
  3.             throw new \LogicException('You cannot use the "renderView" method if the Twig Bundle is not available. Try running "composer require symfony/twig-bundle".');
  4.         }
  5.         return $this->container->get('twig')->render($view$parameters);
  6.     }
  7.     /**
  8.      * Renders a view.
  9.      */
  1.     /**
  2.      * Renders a view.
  3.      */
  4.     protected function render(string $view, array $parameters = [], Response $response null): Response
  5.     {
  6.         $content $this->renderView($view$parameters);
  7.         if (null === $response) {
  8.             $response = new Response();
  9.         }
AbstractController->render() in src/Controller/CatalogController.php (line 451)
  1.             'bc' => $bc,
  2.             'bcc' => $bcc,
  3.             'canonical' => $canonical,
  4.             'showcont' => $showcont,
  5.             'prodstable' => $prodstable,
  6.             'cart_items' => $this->ModelCart->getCart(),
  7.         ]);
  8.     }
  9.     #[Route('/catalog/prod-{prod_id}'name'prod_cont_no_locale'defaults: ['_locale' => '%app.default_lang%'])]
  10.     #[Route('/{_locale}/catalog/prod-{prod_id}'name'prod_cont'requirements: ['_locale' => '%app.langs%'])]
  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);
  9.             $this->dispatcher->dispatch($eventKernelEvents::VIEW);
  1.     {
  2.         $request->headers->set('X-Php-Ob-Level', (string) ob_get_level());
  3.         $this->requestStack->push($request);
  4.         try {
  5.             return $this->handleRaw($request$type);
  6.         } catch (\Exception $e) {
  7.             if ($e instanceof RequestExceptionInterface) {
  8.                 $e = new BadRequestHttpException($e->getMessage(), $e);
  9.             }
  10.             if (false === $catch) {
  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.         if (!IpUtils::checkIp('127.0.0.1'$trustedProxies)) {
  2.             Request::setTrustedProxies(array_merge($trustedProxies, ['127.0.0.1']), Request::getTrustedHeaderSet());
  3.         }
  4.         try {
  5.             return $kernel->handle($request$type$catch);
  6.         } finally {
  7.             // restore global state
  8.             Request::setTrustedProxies($trustedProxies$trustedHeaderSet);
  9.         }
  10.     }
  1.         if ($this->surrogate) {
  2.             $this->surrogate->addSurrogateCapability($request);
  3.         }
  4.         // always a "master" request (as the real master request can be in cache)
  5.         $response SubRequestHandler::handle($this->kernel$requestHttpKernelInterface::MAIN_REQUEST$catch);
  6.         /*
  7.          * Support stale-if-error given on Responses or as a config option.
  8.          * RFC 7234 summarizes in Section 4.2.4 (but also mentions with the individual
  9.          * Cache-Control directives) that
  1.     protected function forward(Request $requestbool $catch falseResponse $entry null): Response
  2.     {
  3.         $this->getKernel()->boot();
  4.         $this->getKernel()->getContainer()->set('cache'$this);
  5.         return parent::forward($request$catch$entry);
  6.     }
  7.     /**
  8.      * Returns an array of options to customize the Cache configuration.
  9.      */
  1.         // avoid that the backend sends no content
  2.         $subRequest->headers->remove('If-Modified-Since');
  3.         $subRequest->headers->remove('If-None-Match');
  4.         $response $this->forward($subRequest$catch);
  5.         if ($response->isCacheable()) {
  6.             $this->store($request$response);
  7.         }
  1.         }
  2.         if (null === $entry) {
  3.             $this->record($request'miss');
  4.             return $this->fetch($request$catch);
  5.         }
  6.         if (!$this->isFreshEnough($request$entry)) {
  7.             $this->record($request'stale');
  1.                 reload the cache by fetching a fresh response and caching it (if possible).
  2.             */
  3.             $this->record($request'reload');
  4.             $response $this->fetch($request$catch);
  5.         } else {
  6.             $response $this->lookup($request$catch);
  7.         }
  8.         $this->restoreResponseBody($request$response);
  9.         if (HttpKernelInterface::MAIN_REQUEST === $type) {
  1.     {
  2.         if (!$this->booted) {
  3.             $container $this->container ?? $this->preBoot();
  4.             if ($container->has('http_cache')) {
  5.                 return $container->get('http_cache')->handle($request$type$catch);
  6.             }
  7.         }
  8.         $this->boot();
  9.         ++$this->requestStackSize;
  1.         $this->request $request;
  2.     }
  3.     public function run(): int
  4.     {
  5.         $response $this->kernel->handle($this->request);
  6.         $response->send();
  7.         if ($this->kernel instanceof TerminableInterface) {
  8.             $this->kernel->terminate($this->request$response);
  9.         }
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/mirbusin.ru/public_html/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. };

Stack Traces 2

[2/2] RuntimeError
Twig\Error\RuntimeError:
An exception has been thrown during the rendering of a template ("Parameter "search" for route "block_catmenu_spec" must match "[^/]++" ("Have one to sell? Sell now Similar Items Sponsored Feedback on our suggestions | See all Connexx Travel Charger RIC Rechargeable Wireless Earbuds Charging Case USB Cable Pre-owned $99.00 Free shipping 30 sold Connexx Travel Charger RIC Charging Case Only New (Other) $49.99 Free shipping Signia Pure Portable Charger RIC with USB Charging Cable Pre-owned $65.00 Free shipping 312 sold Connexx Smart Li-ion Power Inductive Hearing Aid Charger w/ Charging Cable Pre-owned $69.97 Free shipping Seller with 100% positive feedback Connexx Travel Charger" given) to generate a corresponding URL.").

  at templates/block/left-blocks.html.twig:154
  at Twig\Template->yield()
     (vendor/twig/twig/src/Template.php:344)
  at Twig\Template->display()
     (vendor/twig/twig/src/Template.php:359)
  at Twig\Template->render()
     (vendor/twig/twig/src/TemplateWrapper.php:51)
  at Twig\TemplateWrapper->render()
     (vendor/twig/twig/src/Extension/CoreExtension.php:1493)
  at Twig\Extension\CoreExtension::include()
     (var/cache/dev/twig/43/43e166e53afb38fcd56ebe0578b8cc66.php:1027)
  at __TwigTemplate_1255b3662c69a6bd0daa61006f7e7295->doDisplay()
     (vendor/twig/twig/src/Template.php:388)
  at Twig\Template->yield()
     (var/cache/dev/twig/10/10cf088eaf41d7628bf2e0c437e4e453.php:53)
  at __TwigTemplate_5bcf314b41cc04b35d5d0c42d1bd50ff->doDisplay()
     (vendor/twig/twig/src/Template.php:388)
  at Twig\Template->yield()
     (vendor/twig/twig/src/Template.php:344)
  at Twig\Template->display()
     (vendor/twig/twig/src/Template.php:359)
  at Twig\Template->render()
     (vendor/twig/twig/src/TemplateWrapper.php:51)
  at Twig\TemplateWrapper->render()
     (vendor/twig/twig/src/Environment.php:334)
  at Twig\Environment->render()
     (vendor/symfony/framework-bundle/Controller/AbstractController.php:220)
  at Symfony\Bundle\FrameworkBundle\Controller\AbstractController->renderView()
     (vendor/symfony/framework-bundle/Controller/AbstractController.php:228)
  at Symfony\Bundle\FrameworkBundle\Controller\AbstractController->render()
     (src/Controller/CatalogController.php:451)
  at App\Controller\CatalogController->prodList()
     (vendor/symfony/http-kernel/HttpKernel.php:163)
  at Symfony\Component\HttpKernel\HttpKernel->handleRaw()
     (vendor/symfony/http-kernel/HttpKernel.php:75)
  at Symfony\Component\HttpKernel\HttpKernel->handle()
     (vendor/symfony/http-kernel/Kernel.php:202)
  at Symfony\Component\HttpKernel\Kernel->handle()
     (vendor/symfony/http-kernel/HttpCache/SubRequestHandler.php:86)
  at Symfony\Component\HttpKernel\HttpCache\SubRequestHandler::handle()
     (vendor/symfony/http-kernel/HttpCache/HttpCache.php:457)
  at Symfony\Component\HttpKernel\HttpCache\HttpCache->forward()
     (vendor/symfony/framework-bundle/HttpCache/HttpCache.php:71)
  at Symfony\Bundle\FrameworkBundle\HttpCache\HttpCache->forward()
     (vendor/symfony/http-kernel/HttpCache/HttpCache.php:430)
  at Symfony\Component\HttpKernel\HttpCache\HttpCache->fetch()
     (vendor/symfony/http-kernel/HttpCache/HttpCache.php:328)
  at Symfony\Component\HttpKernel\HttpCache\HttpCache->lookup()
     (vendor/symfony/http-kernel/HttpCache/HttpCache.php:212)
  at Symfony\Component\HttpKernel\HttpCache\HttpCache->handle()
     (vendor/symfony/http-kernel/Kernel.php:193)
  at Symfony\Component\HttpKernel\Kernel->handle()
     (vendor/symfony/runtime/Runner/Symfony/HttpKernelRunner.php:35)
  at Symfony\Component\Runtime\Runner\Symfony\HttpKernelRunner->run()
     (vendor/autoload_runtime.php:29)
  at require_once('/home/mirbusin.ru/public_html/vendor/autoload_runtime.php')
     (public/index.php:5)                
[1/2] InvalidParameterException
Symfony\Component\Routing\Exception\InvalidParameterException:
Parameter "search" for route "block_catmenu_spec" must match "[^/]++" ("Have one to sell? Sell now Similar Items Sponsored Feedback on our suggestions | See all Connexx Travel Charger RIC Rechargeable Wireless Earbuds Charging Case USB Cable Pre-owned $99.00 Free shipping 30 sold Connexx Travel Charger RIC Charging Case Only New (Other) $49.99 Free shipping Signia Pure Portable Charger RIC with USB Charging Cable Pre-owned $65.00 Free shipping 312 sold Connexx Smart Li-ion Power Inductive Hearing Aid Charger w/ Charging Cable Pre-owned $69.97 Free shipping Seller with 100% positive feedback Connexx Travel Charger" given) to generate a corresponding URL.

  at vendor/symfony/routing/Generator/UrlGenerator.php:192
  at Symfony\Component\Routing\Generator\UrlGenerator->doGenerate()
     (vendor/symfony/routing/Generator/CompiledUrlGenerator.php:67)
  at Symfony\Component\Routing\Generator\CompiledUrlGenerator->generate()
     (vendor/symfony/routing/Router.php:225)
  at Symfony\Component\Routing\Router->generate()
     (vendor/symfony/twig-bridge/Extension/RoutingExtension.php:53)
  at Symfony\Bridge\Twig\Extension\RoutingExtension->getUrl()
     (var/cache/dev/twig/5b/5b554677be927d976cdbcced86a66b7d.php:464)
  at __TwigTemplate_5a6cc82538ba9446f654e9b1b3827d8f->doDisplay()
     (vendor/twig/twig/src/Template.php:388)
  at Twig\Template->yield()
     (vendor/twig/twig/src/Template.php:344)
  at Twig\Template->display()
     (vendor/twig/twig/src/Template.php:359)
  at Twig\Template->render()
     (vendor/twig/twig/src/TemplateWrapper.php:51)
  at Twig\TemplateWrapper->render()
     (vendor/twig/twig/src/Extension/CoreExtension.php:1493)
  at Twig\Extension\CoreExtension::include()
     (var/cache/dev/twig/43/43e166e53afb38fcd56ebe0578b8cc66.php:1027)
  at __TwigTemplate_1255b3662c69a6bd0daa61006f7e7295->doDisplay()
     (vendor/twig/twig/src/Template.php:388)
  at Twig\Template->yield()
     (var/cache/dev/twig/10/10cf088eaf41d7628bf2e0c437e4e453.php:53)
  at __TwigTemplate_5bcf314b41cc04b35d5d0c42d1bd50ff->doDisplay()
     (vendor/twig/twig/src/Template.php:388)
  at Twig\Template->yield()
     (vendor/twig/twig/src/Template.php:344)
  at Twig\Template->display()
     (vendor/twig/twig/src/Template.php:359)
  at Twig\Template->render()
     (vendor/twig/twig/src/TemplateWrapper.php:51)
  at Twig\TemplateWrapper->render()
     (vendor/twig/twig/src/Environment.php:334)
  at Twig\Environment->render()
     (vendor/symfony/framework-bundle/Controller/AbstractController.php:220)
  at Symfony\Bundle\FrameworkBundle\Controller\AbstractController->renderView()
     (vendor/symfony/framework-bundle/Controller/AbstractController.php:228)
  at Symfony\Bundle\FrameworkBundle\Controller\AbstractController->render()
     (src/Controller/CatalogController.php:451)
  at App\Controller\CatalogController->prodList()
     (vendor/symfony/http-kernel/HttpKernel.php:163)
  at Symfony\Component\HttpKernel\HttpKernel->handleRaw()
     (vendor/symfony/http-kernel/HttpKernel.php:75)
  at Symfony\Component\HttpKernel\HttpKernel->handle()
     (vendor/symfony/http-kernel/Kernel.php:202)
  at Symfony\Component\HttpKernel\Kernel->handle()
     (vendor/symfony/http-kernel/HttpCache/SubRequestHandler.php:86)
  at Symfony\Component\HttpKernel\HttpCache\SubRequestHandler::handle()
     (vendor/symfony/http-kernel/HttpCache/HttpCache.php:457)
  at Symfony\Component\HttpKernel\HttpCache\HttpCache->forward()
     (vendor/symfony/framework-bundle/HttpCache/HttpCache.php:71)
  at Symfony\Bundle\FrameworkBundle\HttpCache\HttpCache->forward()
     (vendor/symfony/http-kernel/HttpCache/HttpCache.php:430)
  at Symfony\Component\HttpKernel\HttpCache\HttpCache->fetch()
     (vendor/symfony/http-kernel/HttpCache/HttpCache.php:328)
  at Symfony\Component\HttpKernel\HttpCache\HttpCache->lookup()
     (vendor/symfony/http-kernel/HttpCache/HttpCache.php:212)
  at Symfony\Component\HttpKernel\HttpCache\HttpCache->handle()
     (vendor/symfony/http-kernel/Kernel.php:193)
  at Symfony\Component\HttpKernel\Kernel->handle()
     (vendor/symfony/runtime/Runner/Symfony/HttpKernelRunner.php:35)
  at Symfony\Component\Runtime\Runner\Symfony\HttpKernelRunner->run()
     (vendor/autoload_runtime.php:29)
  at require_once('/home/mirbusin.ru/public_html/vendor/autoload_runtime.php')
     (public/index.php:5)