</div>
<div class="card-body">
<div class="mb-3">
<p class="h6">
<a class="text-inherit" target="_blank" href="{% verbatim %}{{= p.link }}{% endverbatim %}{{ 'product_url_utm'|trans({},'application') }}&utm_term={{ (parent is defined) ? parent.url }}">{% verbatim %}{{= p.title }}{% endverbatim %}</a>
</p>
</div>
</div>
<div class="card-footer border-0 pt-0">
<a class=\"text-inherit\" target=\"_blank\" href=\"";
// line 10
echo "{{= p.link }}";
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("product_url_utm", [], "application"), "html", null, true);
echo "&utm_term=";
(((isset($context["parent"]) || array_key_exists("parent", $context))) ? (print (twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, (isset($context["parent"]) || array_key_exists("parent", $context) ? $context["parent"] : (function () { throw new RuntimeError('Variable "parent" does not exist.', 10, $this->source); })()), "url", [], "any", false, false, false, 10), "html", null, true))) : (print ("")));
echo "\">";
echo "{{= p.title }}";
echo "</a>
</p>
</div>
}
// Some objects throw exceptions when they have __call, and the method we try
// to call is not supported. If ignoreStrictCheck is true, we should return null.
try {
$ret = $object->$method(...$arguments);
} catch (\BadMethodCallException $e) {
if ($call && ($ignoreStrictCheck || !$env->isStrictVariables())) {
return;
}
throw $e;
// line 73
echo " ";
if (twig_get_attribute($this->env, $this->source, $context["block"], "status", [], "any", false, false, false, 73)) {
// line 74
echo " ";
echo twig_get_attribute($this->env, $this->source, (isset($context["blockService"]) || array_key_exists("blockService", $context) ? $context["blockService"] : (function () { throw new RuntimeError('Variable "blockService" does not exist.', 74, $this->source); })()), "get", [0 => $context["block"]], "method", false, false, false, 74);
echo "
";
}
// line 76
echo " ";
$macros = $this->macros;
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "search/app/index.html.twig"));
$this->parent = $this->loadTemplate("application/layout.html.twig", "search/app/index.html.twig", 1);
$this->parent->display($context, array_merge($this->blocks, $blocks));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
}
protected function render(string $view, array $parameters = [], Response $response = null): Response
{
if ($this->container->has('templating') && $this->container->get('templating')->supports($view)) {
@trigger_error('Using the "templating" service is deprecated since version 4.3 and will be removed in 5.0; use Twig instead.', \E_USER_DEPRECATED);
$content = $this->container->get('templating')->render($view, $parameters);
} elseif ($this->container->has('twig')) {
$content = $this->container->get('twig')->render($view, $parameters);
} else {
throw new \LogicException('You can not use the "render" method if the Templating Component or the Twig Bundle are not available. Try running "composer require symfony/twig-bundle".');
}
$this->dispatcher->dispatch($event, KernelEvents::CONTROLLER_ARGUMENTS);
$controller = $event->getController();
$arguments = $event->getArguments();
// call controller
$response = $controller(...$arguments);
// view
if (!$response instanceof Response) {
$event = new ViewEvent($this, $request, $type, $response);
$this->dispatcher->dispatch($event, KernelEvents::VIEW);
public function handle(Request $request, $type = HttpKernelInterface::MASTER_REQUEST, $catch = true)
{
$request->headers->set('X-Php-Ob-Level', (string) ob_get_level());
try {
return $this->handleRaw($request, $type);
} catch (\Exception $e) {
if ($e instanceof RequestExceptionInterface) {
$e = new BadRequestHttpException($e->getMessage(), $e);
}
if (false === $catch) {
No log messages
RuntimeError |
---|
Twig\Error\RuntimeError: Impossible to access an attribute ("url") on a null variable. at templates/product/app/components/_card_scarab.html.twig:10 at twig_get_attribute(object(Environment), object(Source), null, 'url', array(), 'any', false, false, false, 10) (var/cache/app/twig/84/84f793a5f5998650a068a5810b8e01bb42136aca27edd67df07b84ad4c039c73.php:59) at __TwigTemplate_36b0ef011af2b07a1db1397f3380ad09952c2ff49e605506bfed8cfd389fb56c->doDisplay(array('block' => object(Block), 'parent' => null, 'app' => object(AppVariable), 'extension' => object(Extension), 'owner' => object(Owner), 'blockService' => object(Block), 'col' => '12'), array()) (vendor/twig/twig/src/Template.php:405) at Twig\Template->displayWithErrorHandling(array('block' => object(Block), 'parent' => null, 'app' => object(AppVariable), 'extension' => object(Extension), 'owner' => object(Owner), 'blockService' => object(Block), 'col' => '12'), array()) (vendor/twig/twig/src/Template.php:378) at Twig\Template->display(array('block' => object(Block), 'parent' => null, 'app' => object(AppVariable), 'extension' => object(Extension), 'owner' => object(Owner), 'blockService' => object(Block), 'col' => '12')) (var/cache/app/twig/83/83211c39162a9d8e7b7f03de11b1da704e80df265720f71e90c3d9281fb7bbcd.php:224) at __TwigTemplate_766e1d3423cbfba93ea117a344728c7a8d02f165704f2c9725dd2485cd1a12e3->doDisplay(array('block' => object(Block), 'parent' => null, 'app' => object(AppVariable), 'extension' => object(Extension), 'owner' => object(Owner), 'blockService' => object(Block), 'col' => '12'), array()) (vendor/twig/twig/src/Template.php:405) at Twig\Template->displayWithErrorHandling(array('block' => object(Block), 'parent' => null, 'app' => object(AppVariable), 'extension' => object(Extension), 'owner' => object(Owner), 'blockService' => object(Block)), array()) (vendor/twig/twig/src/Template.php:378) at Twig\Template->display(array('block' => object(Block), 'parent' => null)) (vendor/twig/twig/src/Template.php:390) at Twig\Template->render(array('block' => object(Block), 'parent' => null)) (vendor/symfony/twig-bridge/TwigEngine.php:54) at Symfony\Bridge\Twig\TwigEngine->render('block/app/scarab.html.twig', array('block' => object(Block), 'parent' => null)) (src/Service/Block.php:214) at App\Service\Block->get(object(Block)) (vendor/twig/twig/src/Extension/CoreExtension.php:1511) at twig_get_attribute(object(Environment), object(Source), object(Block), 'get', array(object(Block)), 'method', false, false, false, 74) (var/cache/app/twig/12/125511fbdf86f5e9ceb605a682e734177215dd4ebffeec8b0871d8b803fec896.php:313) at __TwigTemplate_830a59dbc3c92c3d51038d7beb0d2b6537b4c53437393ca13edd32c32a45ee40->block_body(array('keyword' => null, 'results' => array(), 'topSearches' => array(array('keyword' => 'kutya', '8918'), array('keyword' => ' Macska', '6928'), array('keyword' => 'németjuhász', '954'), array('keyword' => 'husky', '862'), array('keyword' => 'macska', '844')), 'page' => object(Page), 'app' => object(AppVariable), 'extension' => object(Extension), 'owner' => object(Owner), 'blockService' => object(Block), '_parent' => array('keyword' => null, 'results' => array(), 'topSearches' => array(array('keyword' => 'kutya', '8918'), array('keyword' => ' Macska', '6928'), array('keyword' => 'németjuhász', '954'), array('keyword' => 'husky', '862'), array('keyword' => 'macska', '844')), 'page' => object(Page), 'app' => object(AppVariable), 'extension' => object(Extension), 'owner' => object(Owner), 'blockService' => object(Block)), '_seq' => object(PersistentCollection), 'block' => object(Block), '_key' => 1), array('meta' => array(object(__TwigTemplate_0316445f804b2ebab6067409f4bfd41643f19fe2c9e136a284c8fca7d67d1ce3), 'block_meta'), 'stylesheets' => array(object(__TwigTemplate_0316445f804b2ebab6067409f4bfd41643f19fe2c9e136a284c8fca7d67d1ce3), 'block_stylesheets'), 'body' => array(object(__TwigTemplate_830a59dbc3c92c3d51038d7beb0d2b6537b4c53437393ca13edd32c32a45ee40), 'block_body'), 'javascript_vendor' => array(object(__TwigTemplate_0316445f804b2ebab6067409f4bfd41643f19fe2c9e136a284c8fca7d67d1ce3), 'block_javascript_vendor'), 'javascript_component' => array(object(__TwigTemplate_0316445f804b2ebab6067409f4bfd41643f19fe2c9e136a284c8fca7d67d1ce3), 'block_javascript_component'), 'javascript_init' => array(object(__TwigTemplate_0316445f804b2ebab6067409f4bfd41643f19fe2c9e136a284c8fca7d67d1ce3), 'block_javascript_init'))) (vendor/twig/twig/src/Template.php:182) at Twig\Template->displayBlock('body', array('keyword' => null, 'results' => array(), 'topSearches' => array(array('keyword' => 'kutya', '8918'), array('keyword' => ' Macska', '6928'), array('keyword' => 'németjuhász', '954'), array('keyword' => 'husky', '862'), array('keyword' => 'macska', '844')), 'page' => object(Page), 'app' => object(AppVariable), 'extension' => object(Extension), 'owner' => object(Owner), 'blockService' => object(Block)), array('meta' => array(object(__TwigTemplate_0316445f804b2ebab6067409f4bfd41643f19fe2c9e136a284c8fca7d67d1ce3), 'block_meta'), 'stylesheets' => array(object(__TwigTemplate_0316445f804b2ebab6067409f4bfd41643f19fe2c9e136a284c8fca7d67d1ce3), 'block_stylesheets'), 'body' => array(object(__TwigTemplate_830a59dbc3c92c3d51038d7beb0d2b6537b4c53437393ca13edd32c32a45ee40), 'block_body'), 'javascript_vendor' => array(object(__TwigTemplate_0316445f804b2ebab6067409f4bfd41643f19fe2c9e136a284c8fca7d67d1ce3), 'block_javascript_vendor'), 'javascript_component' => array(object(__TwigTemplate_0316445f804b2ebab6067409f4bfd41643f19fe2c9e136a284c8fca7d67d1ce3), 'block_javascript_component'), 'javascript_init' => array(object(__TwigTemplate_0316445f804b2ebab6067409f4bfd41643f19fe2c9e136a284c8fca7d67d1ce3), 'block_javascript_init'))) (var/cache/app/twig/ae/ae6991510ea4b393fcb66d6877b7ea3d9b68b4c479b80a50f61c4f3de67db2de.php:143) at __TwigTemplate_0316445f804b2ebab6067409f4bfd41643f19fe2c9e136a284c8fca7d67d1ce3->doDisplay(array('keyword' => null, 'results' => array(), 'topSearches' => array(array('keyword' => 'kutya', '8918'), array('keyword' => ' Macska', '6928'), array('keyword' => 'németjuhász', '954'), array('keyword' => 'husky', '862'), array('keyword' => 'macska', '844')), 'page' => object(Page), 'app' => object(AppVariable), 'extension' => object(Extension), 'owner' => object(Owner), 'blockService' => object(Block)), array('meta' => array(object(__TwigTemplate_0316445f804b2ebab6067409f4bfd41643f19fe2c9e136a284c8fca7d67d1ce3), 'block_meta'), 'stylesheets' => array(object(__TwigTemplate_0316445f804b2ebab6067409f4bfd41643f19fe2c9e136a284c8fca7d67d1ce3), 'block_stylesheets'), 'body' => array(object(__TwigTemplate_830a59dbc3c92c3d51038d7beb0d2b6537b4c53437393ca13edd32c32a45ee40), 'block_body'), 'javascript_vendor' => array(object(__TwigTemplate_0316445f804b2ebab6067409f4bfd41643f19fe2c9e136a284c8fca7d67d1ce3), 'block_javascript_vendor'), 'javascript_component' => array(object(__TwigTemplate_0316445f804b2ebab6067409f4bfd41643f19fe2c9e136a284c8fca7d67d1ce3), 'block_javascript_component'), 'javascript_init' => array(object(__TwigTemplate_0316445f804b2ebab6067409f4bfd41643f19fe2c9e136a284c8fca7d67d1ce3), 'block_javascript_init'))) (vendor/twig/twig/src/Template.php:405) at Twig\Template->displayWithErrorHandling(array('keyword' => null, 'results' => array(), 'topSearches' => array(array('keyword' => 'kutya', '8918'), array('keyword' => ' Macska', '6928'), array('keyword' => 'németjuhász', '954'), array('keyword' => 'husky', '862'), array('keyword' => 'macska', '844')), 'page' => object(Page), 'app' => object(AppVariable), 'extension' => object(Extension), 'owner' => object(Owner), 'blockService' => object(Block)), array('meta' => array(object(__TwigTemplate_0316445f804b2ebab6067409f4bfd41643f19fe2c9e136a284c8fca7d67d1ce3), 'block_meta'), 'stylesheets' => array(object(__TwigTemplate_0316445f804b2ebab6067409f4bfd41643f19fe2c9e136a284c8fca7d67d1ce3), 'block_stylesheets'), 'body' => array(object(__TwigTemplate_830a59dbc3c92c3d51038d7beb0d2b6537b4c53437393ca13edd32c32a45ee40), 'block_body'), 'javascript_vendor' => array(object(__TwigTemplate_0316445f804b2ebab6067409f4bfd41643f19fe2c9e136a284c8fca7d67d1ce3), 'block_javascript_vendor'), 'javascript_component' => array(object(__TwigTemplate_0316445f804b2ebab6067409f4bfd41643f19fe2c9e136a284c8fca7d67d1ce3), 'block_javascript_component'), 'javascript_init' => array(object(__TwigTemplate_0316445f804b2ebab6067409f4bfd41643f19fe2c9e136a284c8fca7d67d1ce3), 'block_javascript_init'))) (vendor/twig/twig/src/Template.php:378) at Twig\Template->display(array('keyword' => null, 'results' => array(), 'topSearches' => array(array('keyword' => 'kutya', '8918'), array('keyword' => ' Macska', '6928'), array('keyword' => 'németjuhász', '954'), array('keyword' => 'husky', '862'), array('keyword' => 'macska', '844')), 'page' => object(Page), 'app' => object(AppVariable), 'extension' => object(Extension), 'owner' => object(Owner), 'blockService' => object(Block)), array('body' => array(object(__TwigTemplate_830a59dbc3c92c3d51038d7beb0d2b6537b4c53437393ca13edd32c32a45ee40), 'block_body'))) (var/cache/app/twig/12/125511fbdf86f5e9ceb605a682e734177215dd4ebffeec8b0871d8b803fec896.php:45) at __TwigTemplate_830a59dbc3c92c3d51038d7beb0d2b6537b4c53437393ca13edd32c32a45ee40->doDisplay(array('keyword' => null, 'results' => array(), 'topSearches' => array(array('keyword' => 'kutya', '8918'), array('keyword' => ' Macska', '6928'), array('keyword' => 'németjuhász', '954'), array('keyword' => 'husky', '862'), array('keyword' => 'macska', '844')), 'page' => object(Page), 'app' => object(AppVariable), 'extension' => object(Extension), 'owner' => object(Owner), 'blockService' => object(Block)), array('body' => array(object(__TwigTemplate_830a59dbc3c92c3d51038d7beb0d2b6537b4c53437393ca13edd32c32a45ee40), 'block_body'))) (vendor/twig/twig/src/Template.php:405) at Twig\Template->displayWithErrorHandling(array('keyword' => null, 'results' => array(), 'topSearches' => array(array('keyword' => 'kutya', '8918'), array('keyword' => ' Macska', '6928'), array('keyword' => 'németjuhász', '954'), array('keyword' => 'husky', '862'), array('keyword' => 'macska', '844')), 'page' => object(Page), 'app' => object(AppVariable), 'extension' => object(Extension), 'owner' => object(Owner), 'blockService' => object(Block)), array('body' => array(object(__TwigTemplate_830a59dbc3c92c3d51038d7beb0d2b6537b4c53437393ca13edd32c32a45ee40), 'block_body'))) (vendor/twig/twig/src/Template.php:378) at Twig\Template->display(array('keyword' => null, 'results' => array(), 'topSearches' => array(array('keyword' => 'kutya', '8918'), array('keyword' => ' Macska', '6928'), array('keyword' => 'németjuhász', '954'), array('keyword' => 'husky', '862'), array('keyword' => 'macska', '844')), 'page' => object(Page))) (vendor/twig/twig/src/Template.php:390) at Twig\Template->render(array('keyword' => null, 'results' => array(), 'topSearches' => array(array('keyword' => 'kutya', '8918'), array('keyword' => ' Macska', '6928'), array('keyword' => 'németjuhász', '954'), array('keyword' => 'husky', '862'), array('keyword' => 'macska', '844')), 'page' => object(Page))) (vendor/symfony/twig-bridge/TwigEngine.php:54) at Symfony\Bridge\Twig\TwigEngine->render('search/app/index.html.twig', array('keyword' => null, 'results' => array(), 'topSearches' => array(array('keyword' => 'kutya', '8918'), array('keyword' => ' Macska', '6928'), array('keyword' => 'németjuhász', '954'), array('keyword' => 'husky', '862'), array('keyword' => 'macska', '844')), 'page' => object(Page))) (vendor/symfony/framework-bundle/Controller/ControllerTrait.php:233) at Symfony\Bundle\FrameworkBundle\Controller\AbstractController->render('search/app/index.html.twig', array('keyword' => null, 'results' => array(), 'topSearches' => array(array('keyword' => 'kutya', '8918'), array('keyword' => ' Macska', '6928'), array('keyword' => 'németjuhász', '954'), array('keyword' => 'husky', '862'), array('keyword' => 'macska', '844')), 'page' => object(Page))) (src/Controller/SearchController.php:108) at App\Controller\SearchController->index(object(Request), object(LanguageRepository), null, object(SearchRepository), object(PageRepository)) (vendor/symfony/http-kernel/HttpKernel.php:158) at Symfony\Component\HttpKernel\HttpKernel->handleRaw(object(Request), 1) (vendor/symfony/http-kernel/HttpKernel.php:80) at Symfony\Component\HttpKernel\HttpKernel->handle(object(Request), 1, true) (vendor/symfony/http-kernel/Kernel.php:201) at Symfony\Component\HttpKernel\Kernel->handle(object(Request)) (public/index.php:27) |