[
"exception" => Twig\Error\RuntimeError {#1210
#message: "An exception has been thrown during the rendering of a template ("Warning: Attempt to read property "seller_name" on false") in "products/single.html.twig" at line 738."
#code: 0
#file: "/home/alatidev/public_html/templates/oidl/products/single.html.twig"
#line: 738
-previous: ErrorException {#2510 …}
-lineno: 738
-rawMessage: "An exception has been thrown during the rendering of a template ("Warning: Attempt to read property "seller_name" on false")."
-source: Twig\Source {#2541 …}
-phpFile: "/home/alatidev/public_html/vendor/twig/twig/src/Template.php"
-phpLine: 460
trace: {
/home/alatidev/public_html/templates/oidl/products/single.html.twig:738 {
Twig\Template->yieldBlock($name, array $context, array $blocks = [], $useBlocks = true, ?self $templateContext = null): iterable …
› <li><strong>Šifra proizvoda:</strong> {{ product.getProductCode() }}</li>
› <li><strong>Uvoznik:</strong> {{ product.getSellerName()|default('') }}</li>
› <li><strong>Zemlja porekla:</strong> {{ product.getZemljaPorekla() }}</li>
}
/home/alatidev/public_html/templates/oidl/layout.html.twig:170 {
__TwigTemplate_fb9a6f160c9a02c463bb90b530ce9cb1->doDisplay(array $context, array $blocks = []): iterable …
›
› {% block content %}{% endblock content %}
›
arguments: {
$name: "content"
$context: [ …16]
$blocks: [ …10]
}
}
/home/alatidev/public_html/vendor/twig/twig/src/Template.php:402 {
Twig\Template->yield(array $context, array $blocks = []): iterable …
› try {
› yield from $this->doDisplay($context, $blocks);
› } catch (Error $e) {
arguments: {
$context: [ …16]
$blocks: [ …3]
}
}
/home/alatidev/public_html/var/cache/dev/twig/0c/0c7ddc21b2fc6c432d66b333e6655808.php:55 {
__TwigTemplate_a451e6ebc5de14f2e7de36e9a5a77af3->doDisplay(array $context, array $blocks = []): iterable …
› $this->parent = $this->load("layout.html.twig", 2);
› yield from $this->parent->unwrap()->yield($context, array_merge($this->blocks, $blocks));
›
arguments: {
$context: [ …16]
$blocks: [ …10]
}
}
/home/alatidev/public_html/vendor/twig/twig/src/Template.php:402 {
Twig\Template->yield(array $context, array $blocks = []): iterable …
› try {
› yield from $this->doDisplay($context, $blocks);
› } catch (Error $e) {
arguments: {
$context: [ …16]
$blocks: [ …3]
}
}
/home/alatidev/public_html/vendor/twig/twig/src/Template.php:358 {
Twig\Template->display(array $context, array $blocks = []): void …
› {
› foreach ($this->yield($context, $blocks) as $data) {
› echo $data;
arguments: {
$context: [ …16]
$blocks: [ …3]
}
}
/home/alatidev/public_html/vendor/twig/twig/src/Template.php:373 {
Twig\Template->render(array $context): string …
› try {
› $this->display($context);
› } catch (\Throwable $e) {
arguments: {
$context: [ …13]
}
}
/home/alatidev/public_html/vendor/twig/twig/src/TemplateWrapper.php:51 {
Twig\TemplateWrapper->render(array $context = []): string …
› {
› return $this->template->render($context);
› }
arguments: {
$context: [ …13]
}
}
/home/alatidev/public_html/vendor/twig/twig/src/Environment.php:333 {
Twig\Environment->render($name, array $context = []): string …
› {
› return $this->load($name)->render($context);
› }
arguments: {
$context: [ …13]
}
}
/home/alatidev/public_html/vendor/symfony/framework-bundle/Controller/AbstractController.php:462 {
Symfony\Bundle\FrameworkBundle\Controller\AbstractController->doRenderView(string $view, ?string $block, array $parameters, string $method): string …
›
› return $this->container->get('twig')->render($view, $parameters);
› }
arguments: {
$name: "products/single.html.twig"
$context: [ …13]
}
}
/home/alatidev/public_html/vendor/symfony/framework-bundle/Controller/AbstractController.php:467 {
Symfony\Bundle\FrameworkBundle\Controller\AbstractController->doRender(string $view, ?string $block, array $parameters, ?Response $response, string $method): Response …
› {
› $content = $this->doRenderView($view, $block, $parameters, $method);
› $response ??= new Response();
arguments: {
$view: "products/single.html.twig"
$block: null
$parameters: [ …13]
$method: "render"
}
}
/home/alatidev/public_html/vendor/symfony/framework-bundle/Controller/AbstractController.php:279 {
Symfony\Bundle\FrameworkBundle\Controller\AbstractController->render(string $view, array $parameters = [], ?Response $response = null): Response …
› {
› return $this->doRender($view, null, $parameters, $response, __FUNCTION__);
› }
arguments: {
$view: "products/single.html.twig"
$block: null
$parameters: [ …13]
$response: null
$method: "render"
}
}
/home/alatidev/public_html/src/Controller/SingleProductController.php:90 {
App\Controller\SingleProductController->single(Request $request, string $seo): Response …
›
› return $this->render('products/single.html.twig', $args);
› }
arguments: {
$view: "products/single.html.twig"
$parameters: [ …13]
}
}
/home/alatidev/public_html/vendor/symfony/http-kernel/HttpKernel.php:183 {
Symfony\Component\HttpKernel\HttpKernel->handleRaw(Request $request, int $type = self::MAIN_REQUEST): Response …
› // call controller
› $response = $controller(...$arguments);
›
arguments: {
$request: Symfony\Component\HttpFoundation\Request {#12 …}
$seo: "guralica-retro-461-pink"
}
}
/home/alatidev/public_html/vendor/symfony/http-kernel/HttpKernel.php:76 {
Symfony\Component\HttpKernel\HttpKernel->handle(Request $request, int $type = HttpKernelInterface::MAIN_REQUEST, bool $catch = true): Response …
› try {
› return $response = $this->handleRaw($request, $type);
› } catch (\Throwable $e) {
arguments: {
$request: Symfony\Component\HttpFoundation\Request {#12 …}
$type: 1
}
}
/home/alatidev/public_html/vendor/symfony/http-kernel/Kernel.php:191 {
Symfony\Component\HttpKernel\Kernel->handle(Request $request, int $type = HttpKernelInterface::MAIN_REQUEST, bool $catch = true): Response …
› try {
› return $this->getHttpKernel()->handle($request, $type, $catch);
› } finally {
arguments: {
$request: Symfony\Component\HttpFoundation\Request {#12 …}
$type: 1
$catch: true
}
}
/home/alatidev/public_html/vendor/symfony/runtime/Runner/Symfony/HttpKernelRunner.php:35 {
Symfony\Component\Runtime\Runner\Symfony\HttpKernelRunner->run(): int …
› {
› $response = $this->kernel->handle($this->request);
›
arguments: {
$request: Symfony\Component\HttpFoundation\Request {#12 …}
}
}
/home/alatidev/public_html/vendor/autoload_runtime.php:32 {
require_once …
› ->getRunner($app)
› ->run()
› );
}
/home/alatidev/public_html/index.php:5 {
›
› require_once __DIR__.'/vendor/autoload_runtime.php';
›
arguments: {
"/home/alatidev/public_html/vendor/autoload_runtime.php"
}
}
}
}
]
{
/home/alatidev/public_html/templates/oidl/products/single.html.twig:738 {
Twig\Template->yieldBlock($name, array $context, array $blocks = [], $useBlocks = true, ?self $templateContext = null): iterable …
› <li><strong>Šifra proizvoda:</strong> {{ product.getProductCode() }}</li>
› <li><strong>Uvoznik:</strong> {{ product.getSellerName()|default('') }}</li>
› <li><strong>Zemlja porekla:</strong> {{ product.getZemljaPorekla() }}</li>
}
/home/alatidev/public_html/templates/oidl/layout.html.twig:170 {
__TwigTemplate_fb9a6f160c9a02c463bb90b530ce9cb1->doDisplay(array $context, array $blocks = []): iterable …
›
› {% block content %}{% endblock content %}
›
arguments: {
$name: "content"
$context: [ …16]
$blocks: [ …10]
}
}
/home/alatidev/public_html/vendor/twig/twig/src/Template.php:402 {
Twig\Template->yield(array $context, array $blocks = []): iterable …
› try {
› yield from $this->doDisplay($context, $blocks);
› } catch (Error $e) {
arguments: {
$context: [ …16]
$blocks: [ …3]
}
}
/home/alatidev/public_html/var/cache/dev/twig/0c/0c7ddc21b2fc6c432d66b333e6655808.php:55 {
__TwigTemplate_a451e6ebc5de14f2e7de36e9a5a77af3->doDisplay(array $context, array $blocks = []): iterable …
› $this->parent = $this->load("layout.html.twig", 2);
› yield from $this->parent->unwrap()->yield($context, array_merge($this->blocks, $blocks));
›
arguments: {
$context: [ …16]
$blocks: [ …10]
}
}
/home/alatidev/public_html/vendor/twig/twig/src/Template.php:402 {
Twig\Template->yield(array $context, array $blocks = []): iterable …
› try {
› yield from $this->doDisplay($context, $blocks);
› } catch (Error $e) {
arguments: {
$context: [ …16]
$blocks: [ …3]
}
}
/home/alatidev/public_html/vendor/twig/twig/src/Template.php:358 {
Twig\Template->display(array $context, array $blocks = []): void …
› {
› foreach ($this->yield($context, $blocks) as $data) {
› echo $data;
arguments: {
$context: [ …16]
$blocks: [ …3]
}
}
/home/alatidev/public_html/vendor/twig/twig/src/Template.php:373 {
Twig\Template->render(array $context): string …
› try {
› $this->display($context);
› } catch (\Throwable $e) {
arguments: {
$context: [ …13]
}
}
/home/alatidev/public_html/vendor/twig/twig/src/TemplateWrapper.php:51 {
Twig\TemplateWrapper->render(array $context = []): string …
› {
› return $this->template->render($context);
› }
arguments: {
$context: [ …13]
}
}
/home/alatidev/public_html/vendor/twig/twig/src/Environment.php:333 {
Twig\Environment->render($name, array $context = []): string …
› {
› return $this->load($name)->render($context);
› }
arguments: {
$context: [ …13]
}
}
/home/alatidev/public_html/vendor/symfony/framework-bundle/Controller/AbstractController.php:462 {
Symfony\Bundle\FrameworkBundle\Controller\AbstractController->doRenderView(string $view, ?string $block, array $parameters, string $method): string …
›
› return $this->container->get('twig')->render($view, $parameters);
› }
arguments: {
$name: "products/single.html.twig"
$context: [ …13]
}
}
/home/alatidev/public_html/vendor/symfony/framework-bundle/Controller/AbstractController.php:467 {
Symfony\Bundle\FrameworkBundle\Controller\AbstractController->doRender(string $view, ?string $block, array $parameters, ?Response $response, string $method): Response …
› {
› $content = $this->doRenderView($view, $block, $parameters, $method);
› $response ??= new Response();
arguments: {
$view: "products/single.html.twig"
$block: null
$parameters: [ …13]
$method: "render"
}
}
/home/alatidev/public_html/vendor/symfony/framework-bundle/Controller/AbstractController.php:279 {
Symfony\Bundle\FrameworkBundle\Controller\AbstractController->render(string $view, array $parameters = [], ?Response $response = null): Response …
› {
› return $this->doRender($view, null, $parameters, $response, __FUNCTION__);
› }
arguments: {
$view: "products/single.html.twig"
$block: null
$parameters: [ …13]
$response: null
$method: "render"
}
}
/home/alatidev/public_html/src/Controller/SingleProductController.php:90 {
App\Controller\SingleProductController->single(Request $request, string $seo): Response …
›
› return $this->render('products/single.html.twig', $args);
› }
arguments: {
$view: "products/single.html.twig"
$parameters: [ …13]
}
}
/home/alatidev/public_html/vendor/symfony/http-kernel/HttpKernel.php:183 {
Symfony\Component\HttpKernel\HttpKernel->handleRaw(Request $request, int $type = self::MAIN_REQUEST): Response …
› // call controller
› $response = $controller(...$arguments);
›
arguments: {
$request: Symfony\Component\HttpFoundation\Request {#12 …}
$seo: "guralica-retro-461-pink"
}
}
/home/alatidev/public_html/vendor/symfony/http-kernel/HttpKernel.php:76 {
Symfony\Component\HttpKernel\HttpKernel->handle(Request $request, int $type = HttpKernelInterface::MAIN_REQUEST, bool $catch = true): Response …
› try {
› return $response = $this->handleRaw($request, $type);
› } catch (\Throwable $e) {
arguments: {
$request: Symfony\Component\HttpFoundation\Request {#12 …}
$type: 1
}
}
/home/alatidev/public_html/vendor/symfony/http-kernel/Kernel.php:191 {
Symfony\Component\HttpKernel\Kernel->handle(Request $request, int $type = HttpKernelInterface::MAIN_REQUEST, bool $catch = true): Response …
› try {
› return $this->getHttpKernel()->handle($request, $type, $catch);
› } finally {
arguments: {
$request: Symfony\Component\HttpFoundation\Request {#12 …}
$type: 1
$catch: true
}
}
/home/alatidev/public_html/vendor/symfony/runtime/Runner/Symfony/HttpKernelRunner.php:35 {
Symfony\Component\Runtime\Runner\Symfony\HttpKernelRunner->run(): int …
› {
› $response = $this->kernel->handle($this->request);
›
arguments: {
$request: Symfony\Component\HttpFoundation\Request {#12 …}
}
}
/home/alatidev/public_html/vendor/autoload_runtime.php:32 {
require_once …
› ->getRunner($app)
› ->run()
› );
}
/home/alatidev/public_html/index.php:5 {
›
› require_once __DIR__.'/vendor/autoload_runtime.php';
›
arguments: {
"/home/alatidev/public_html/vendor/autoload_runtime.php"
}
}
}