An exception has been thrown during the rendering of a template ("Unable to open file (products/4501.jpg)") in FrontBundle:Base:product.html.twig at line 50.
500 Internal Server Error -
Twig_Error_Runtime
1 linked Exception:
-
UnexpectedValueException »
[2/2]
Twig_Error_Runtime: An exception has been thrown during the rendering of a template ("Unable to open file (products/4501.jpg)") in FrontBundle:Base:product.html.twig at line 50.
-
in kernel.root_dir/cache/prod/classes.php at line 9245
} catch (Twig_Error $e) {
throw $e;
} catch (Exception $e) {
throw new Twig_Error_Runtime(sprintf('An exception has been thrown during the rendering of a template ("%s").', $e->getMessage()), -1, null, $e);
}
}
/**
-
at
Twig_Template
->displayWithErrorHandling
(array('product' => object(Product), 'cart' => object(Cart), 'tree' => '<ul class="dropdown-menu" role="menu"><li><a class="" href="/kategorie/osobni-automobily">Osobní automobily</a></li><li><a class="" href="/kategorie/uzitkove-automobily">Užitkové automobily</a></li><li><a class="" href="/kategorie/skladove-predvadeci-vozy">Skladové a předváděcí vozy</a></li></ul>', 'app' => object(GlobalVariables), 'assetic' => array('debug' => true, 'vars' => array('locale' => 'cs', 'env' => 'prod'), 'use_controller' => true)), array('content' => array(object(__TwigTemplate_9f9e8db4a68d7cfc41ae861f6630724f), 'block_content')))
in kernel.root_dir/cache/prod/classes.php at line 9219
*/
public function display(array $context, array $blocks = array())
{
$this->displayWithErrorHandling($this->env->mergeGlobals($context), $blocks);
}
/**
* {@inheritdoc}
-
at
Twig_Template
->display
(array('product' => object(Product), 'cart' => object(Cart), 'tree' => '<ul class="dropdown-menu" role="menu"><li><a class="" href="/kategorie/osobni-automobily">Osobní automobily</a></li><li><a class="" href="/kategorie/uzitkove-automobily">Užitkové automobily</a></li><li><a class="" href="/kategorie/skladove-predvadeci-vozy">Skladové a předváděcí vozy</a></li></ul>', 'app' => object(GlobalVariables), 'assetic' => array('debug' => true, 'vars' => array('locale' => 'cs', 'env' => 'prod'), 'use_controller' => true)), array('content' => array(object(__TwigTemplate_9f9e8db4a68d7cfc41ae861f6630724f), 'block_content')))
in kernel.root_dir/cache/prod/twig/9f/9e/8db4a68d7cfc41ae861f6630724f.php at line 24
protected function doDisplay(array $context, array $blocks = array())
{
$this->parent->display($context, array_merge($this->blocks, $blocks));
}
// line 3
-
at
__TwigTemplate_9f9e8db4a68d7cfc41ae861f6630724f
->doDisplay
(array('product' => object(Product), 'cart' => object(Cart), 'tree' => '<ul class="dropdown-menu" role="menu"><li><a class="" href="/kategorie/osobni-automobily">Osobní automobily</a></li><li><a class="" href="/kategorie/uzitkove-automobily">Užitkové automobily</a></li><li><a class="" href="/kategorie/skladove-predvadeci-vozy">Skladové a předváděcí vozy</a></li></ul>', 'app' => object(GlobalVariables), 'assetic' => array('debug' => true, 'vars' => array('locale' => 'cs', 'env' => 'prod'), 'use_controller' => true)), array())
in kernel.root_dir/cache/prod/classes.php at line 9241
protected function displayWithErrorHandling(array $context, array $blocks = array())
{
try {
$this->doDisplay($context, $blocks);
} catch (Twig_Error $e) {
throw $e;
} catch (Exception $e) {
-
at
Twig_Template
->displayWithErrorHandling
(array('product' => object(Product), 'cart' => object(Cart), 'tree' => '<ul class="dropdown-menu" role="menu"><li><a class="" href="/kategorie/osobni-automobily">Osobní automobily</a></li><li><a class="" href="/kategorie/uzitkove-automobily">Užitkové automobily</a></li><li><a class="" href="/kategorie/skladove-predvadeci-vozy">Skladové a předváděcí vozy</a></li></ul>', 'app' => object(GlobalVariables), 'assetic' => array('debug' => true, 'vars' => array('locale' => 'cs', 'env' => 'prod'), 'use_controller' => true)), array())
in kernel.root_dir/cache/prod/classes.php at line 9219
*/
public function display(array $context, array $blocks = array())
{
$this->displayWithErrorHandling($this->env->mergeGlobals($context), $blocks);
}
/**
* {@inheritdoc}
-
at
Twig_Template
->display
(array('product' => object(Product), 'cart' => object(Cart), 'tree' => '<ul class="dropdown-menu" role="menu"><li><a class="" href="/kategorie/osobni-automobily">Osobní automobily</a></li><li><a class="" href="/kategorie/uzitkove-automobily">Užitkové automobily</a></li><li><a class="" href="/kategorie/skladove-predvadeci-vozy">Skladové a předváděcí vozy</a></li></ul>'))
in kernel.root_dir/cache/prod/classes.php at line 9229
$level = ob_get_level();
ob_start();
try {
$this->display($context);
} catch (Exception $e) {
while (ob_get_level() > $level) {
ob_end_clean();
-
at
Twig_Template
->render
(array('product' => object(Product), 'cart' => object(Cart), 'tree' => '<ul class="dropdown-menu" role="menu"><li><a class="" href="/kategorie/osobni-automobily">Osobní automobily</a></li><li><a class="" href="/kategorie/uzitkove-automobily">Užitkové automobily</a></li><li><a class="" href="/kategorie/skladove-predvadeci-vozy">Skladové a předváděcí vozy</a></li></ul>'))
in /home/meteorcar.cz/data/vendor/symfony/symfony/src/Symfony/Bridge/Twig/TwigEngine.php at line 53
*/
public function render($name, array $parameters = array())
{
return $this->load($name)->render($parameters);
}
/**
-
at
TwigEngine
->render
('FrontBundle:Base:product.html.twig', array('product' => object(Product), 'cart' => object(Cart), 'tree' => '<ul class="dropdown-menu" role="menu"><li><a class="" href="/kategorie/osobni-automobily">Osobní automobily</a></li><li><a class="" href="/kategorie/uzitkove-automobily">Užitkové automobily</a></li><li><a class="" href="/kategorie/skladove-predvadeci-vozy">Skladové a předváděcí vozy</a></li></ul>'))
in /home/meteorcar.cz/data/vendor/symfony/symfony/src/Symfony/Bundle/TwigBundle/TwigEngine.php at line 84
public function render($name, array $parameters = array())
{
try {
return parent::render($name, $parameters);
} catch (\Twig_Error $e) {
if ($name instanceof TemplateReference) {
try {
-
at
TwigEngine
->render
('FrontBundle:Base:product.html.twig', array('product' => object(Product), 'cart' => object(Cart), 'tree' => '<ul class="dropdown-menu" role="menu"><li><a class="" href="/kategorie/osobni-automobily">Osobní automobily</a></li><li><a class="" href="/kategorie/uzitkove-automobily">Užitkové automobily</a></li><li><a class="" href="/kategorie/skladove-predvadeci-vozy">Skladové a předváděcí vozy</a></li></ul>'))
in /home/meteorcar.cz/data/vendor/symfony/symfony/src/Symfony/Bundle/TwigBundle/Debug/TimedTwigEngine.php at line 52
{
$e = $this->stopwatch->start(sprintf('template.twig (%s)', $name), 'template');
$ret = parent::render($name, $parameters);
$e->stop();
-
at
TimedTwigEngine
->render
('FrontBundle:Base:product.html.twig', array('product' => object(Product), 'cart' => object(Cart), 'tree' => '<ul class="dropdown-menu" role="menu"><li><a class="" href="/kategorie/osobni-automobily">Osobní automobily</a></li><li><a class="" href="/kategorie/uzitkove-automobily">Užitkové automobily</a></li><li><a class="" href="/kategorie/skladove-predvadeci-vozy">Skladové a předváděcí vozy</a></li></ul>'))
in /home/meteorcar.cz/data/vendor/symfony/symfony/src/Symfony/Bundle/TwigBundle/TwigEngine.php at line 113
$response = new Response();
}
$response->setContent($this->render($view, $parameters));
return $response;
}
-
at
TwigEngine
->renderResponse
('FrontBundle:Base:product.html.twig', array('product' => object(Product), 'cart' => object(Cart), 'tree' => '<ul class="dropdown-menu" role="menu"><li><a class="" href="/kategorie/osobni-automobily">Osobní automobily</a></li><li><a class="" href="/kategorie/uzitkove-automobily">Užitkové automobily</a></li><li><a class="" href="/kategorie/skladove-predvadeci-vozy">Skladové a předváděcí vozy</a></li></ul>'), null)
in /home/meteorcar.cz/data/src/VseProObce/FrontBundle/Controller/Controller.php at line 19
$parameters = array_merge($parameters, $custom);
return $this->container->get('templating')->renderResponse($view, $parameters, $response);
}
public function getCategoryTree()
-
at
Controller
->rendero
('FrontBundle:Base:product.html.twig', array('product' => object(Product)))
in /home/meteorcar.cz/data/src/VseProObce/FrontBundle/Controller/BaseController.php at line 536
return $this->rendero('FrontBundle:Base:product.html.twig', array(
'product' => $product,
));
}
-
at
BaseController
->productAction
('citroen-c3')
-
at
call_user_func_array
(array(object(BaseController), 'productAction'), array('citroen-c3'))
in kernel.root_dir/bootstrap.php.cache at line 1419
$arguments = $this->resolver->getArguments($request, $controller);
$response = call_user_func_array($controller, $arguments);
if (!$response instanceof Response) {
$event = new GetResponseForControllerResultEvent($this, $request, $type, $response);
-
at
HttpKernel
->handleRaw
(object(Request), '1')
in kernel.root_dir/bootstrap.php.cache at line 1383
public function handle(Request $request, $type = HttpKernelInterface::MASTER_REQUEST, $catch = true)
{
try {
return $this->handleRaw($request, $type);
} catch (\Exception $e) {
if (false === $catch) {
throw $e;
-
at
HttpKernel
->handle
(object(Request), '1', true)
in kernel.root_dir/bootstrap.php.cache at line 1559
$this->container->set('request', $request, 'request');
try {
$response = parent::handle($request, $type, $catch);
} catch (\Exception $e) {
$this->container->leaveScope('request');
-
at
HttpKernel
->handle
(object(Request), '1', true)
in kernel.root_dir/bootstrap.php.cache at line 610
$this->boot();
}
return $this->getHttpKernel()->handle($request, $type, $catch);
}
-
at
Kernel
->handle
(object(Request))
in /home/meteorcar.cz/meteorcar.cz/app.php at line 21
$kernel->loadClassCache();
//$kernel = new AppCache($kernel);
$request = Request::createFromGlobals();
$response = $kernel->handle($request);
$response->send();
$kernel->terminate($request, $response);
[1/2]
UnexpectedValueException: Unable to open file (products/4501.jpg)
-
in /home/meteorcar.cz/data/vendor/gregwar/image-bundle/Gregwar/ImageBundle/Image.php at line 344
if (false === $this->gd)
{
throw new \UnexpectedValueException('Unable to open file ('.$this->file.')');
}
else
{
-
at
Image
->initGd
()
in /home/meteorcar.cz/data/vendor/gregwar/image-bundle/Gregwar/ImageBundle/Image.php at line 1026
$type = self::$types[$type];
$this->initGd();
$this->applyOperations();
-
at
Image
->save
('img_cache/d/c/2/d/8/c809a4ef792ad60600d04cf9291aec06d71.png', 'png', '80')
in /home/meteorcar.cz/data/vendor/gregwar/image-bundle/Gregwar/ImageBundle/Image.php at line 937
// If the files does not exists, save it
if (!file_exists($actualFile))
{
$this->save($actualFile, $type, $quality);
}
return $this->getFilename($file);
-
at
Image
->cacheFile
('png')
in /home/meteorcar.cz/data/vendor/gregwar/image-bundle/Gregwar/ImageBundle/Image.php at line 972
*/
public function png()
{
return $this->cacheFile('png');
}
/**
-
at
Image
->png
()
-
at
call_user_func_array
(array(object(ImageHandler), 'png'), array())
in kernel.root_dir/cache/prod/classes.php at line 9377
if ($this->env->hasExtension('sandbox')) {
$this->env->getExtension('sandbox')->checkMethodAllowed($object, $method);
}
$ret = call_user_func_array(array($object, $method), $arguments);
// useful when calling a template method from a template
// this is not supported but unfortunately heavily used in the Symfony profiler
if ($object instanceof Twig_TemplateInterface) {
-
at
Twig_Template
->getAttribute
(object(ImageHandler), 'png', array(), 'method')
in kernel.root_dir/cache/prod/twig/9f/9e/8db4a68d7cfc41ae861f6630724f.php at line 139
echo "\" class=\"fancybox\" rel=\"group\">
<img src=\"";
// line 50
echo twig_escape_filter($this->env, $this->getAttribute($this->getAttribute($this->env->getExtension('image')->image($this->getAttribute($this->getContext($context, "image"), "location")), "zoomCrop", array(0 => 200, 1 => 140), "method"), "png", array(), "method"), "html", null, true);
echo "\" alt=\"\" class=\"img-responsive\" />
</a>
</div>
-
at
__TwigTemplate_9f9e8db4a68d7cfc41ae861f6630724f
->block_content
(array('product' => object(Product), 'cart' => object(Cart), 'tree' => '<ul class="dropdown-menu" role="menu"><li><a class="" href="/kategorie/osobni-automobily">Osobní automobily</a></li><li><a class="" href="/kategorie/uzitkove-automobily">Užitkové automobily</a></li><li><a class="" href="/kategorie/skladove-predvadeci-vozy">Skladové a předváděcí vozy</a></li></ul>', 'app' => object(GlobalVariables), 'assetic' => array('debug' => true, 'vars' => array('locale' => 'cs', 'env' => 'prod'), 'use_controller' => true), 'dph' => '1.2'), array())
-
at
call_user_func
(array(object(__TwigTemplate_9f9e8db4a68d7cfc41ae861f6630724f), 'block_content'), array('product' => object(Product), 'cart' => object(Cart), 'tree' => '<ul class="dropdown-menu" role="menu"><li><a class="" href="/kategorie/osobni-automobily">Osobní automobily</a></li><li><a class="" href="/kategorie/uzitkove-automobily">Užitkové automobily</a></li><li><a class="" href="/kategorie/skladove-predvadeci-vozy">Skladové a předváděcí vozy</a></li></ul>', 'app' => object(GlobalVariables), 'assetic' => array('debug' => true, 'vars' => array('locale' => 'cs', 'env' => 'prod'), 'use_controller' => true), 'dph' => '1.2'), array())
in kernel.root_dir/cache/prod/classes.php at line 9122
if (isset($blocks[$name])) {
$b = $blocks;
unset($b[$name]);
call_user_func($blocks[$name], $context, $b);
} elseif (isset($this->blocks[$name])) {
call_user_func($this->blocks[$name], $context, $blocks);
} elseif (false !== $parent = $this->getParent($context)) {
-
at
Twig_Template
->displayBlock
('content', array('product' => object(Product), 'cart' => object(Cart), 'tree' => '<ul class="dropdown-menu" role="menu"><li><a class="" href="/kategorie/osobni-automobily">Osobní automobily</a></li><li><a class="" href="/kategorie/uzitkove-automobily">Užitkové automobily</a></li><li><a class="" href="/kategorie/skladove-predvadeci-vozy">Skladové a předváděcí vozy</a></li></ul>', 'app' => object(GlobalVariables), 'assetic' => array('debug' => true, 'vars' => array('locale' => 'cs', 'env' => 'prod'), 'use_controller' => true), 'dph' => '1.2'), array('content' => array(object(__TwigTemplate_9f9e8db4a68d7cfc41ae861f6630724f), 'block_content')))
in kernel.root_dir/cache/prod/twig/9a/b5/d71585d50de25b9cccbed1e39848.php at line 288
";
// line 167
$this->displayBlock('content', $context, $blocks);
// line 168
echo "
";
-
at
__TwigTemplate_9ab5d71585d50de25b9cccbed1e39848
->doDisplay
(array('product' => object(Product), 'cart' => object(Cart), 'tree' => '<ul class="dropdown-menu" role="menu"><li><a class="" href="/kategorie/osobni-automobily">Osobní automobily</a></li><li><a class="" href="/kategorie/uzitkove-automobily">Užitkové automobily</a></li><li><a class="" href="/kategorie/skladove-predvadeci-vozy">Skladové a předváděcí vozy</a></li></ul>', 'app' => object(GlobalVariables), 'assetic' => array('debug' => true, 'vars' => array('locale' => 'cs', 'env' => 'prod'), 'use_controller' => true)), array('content' => array(object(__TwigTemplate_9f9e8db4a68d7cfc41ae861f6630724f), 'block_content')))
in kernel.root_dir/cache/prod/classes.php at line 9241
protected function displayWithErrorHandling(array $context, array $blocks = array())
{
try {
$this->doDisplay($context, $blocks);
} catch (Twig_Error $e) {
throw $e;
} catch (Exception $e) {
-
at
Twig_Template
->displayWithErrorHandling
(array('product' => object(Product), 'cart' => object(Cart), 'tree' => '<ul class="dropdown-menu" role="menu"><li><a class="" href="/kategorie/osobni-automobily">Osobní automobily</a></li><li><a class="" href="/kategorie/uzitkove-automobily">Užitkové automobily</a></li><li><a class="" href="/kategorie/skladove-predvadeci-vozy">Skladové a předváděcí vozy</a></li></ul>', 'app' => object(GlobalVariables), 'assetic' => array('debug' => true, 'vars' => array('locale' => 'cs', 'env' => 'prod'), 'use_controller' => true)), array('content' => array(object(__TwigTemplate_9f9e8db4a68d7cfc41ae861f6630724f), 'block_content')))
in kernel.root_dir/cache/prod/classes.php at line 9219
*/
public function display(array $context, array $blocks = array())
{
$this->displayWithErrorHandling($this->env->mergeGlobals($context), $blocks);
}
/**
* {@inheritdoc}
-
at
Twig_Template
->display
(array('product' => object(Product), 'cart' => object(Cart), 'tree' => '<ul class="dropdown-menu" role="menu"><li><a class="" href="/kategorie/osobni-automobily">Osobní automobily</a></li><li><a class="" href="/kategorie/uzitkove-automobily">Užitkové automobily</a></li><li><a class="" href="/kategorie/skladove-predvadeci-vozy">Skladové a předváděcí vozy</a></li></ul>', 'app' => object(GlobalVariables), 'assetic' => array('debug' => true, 'vars' => array('locale' => 'cs', 'env' => 'prod'), 'use_controller' => true)), array('content' => array(object(__TwigTemplate_9f9e8db4a68d7cfc41ae861f6630724f), 'block_content')))
in kernel.root_dir/cache/prod/twig/9f/9e/8db4a68d7cfc41ae861f6630724f.php at line 24
protected function doDisplay(array $context, array $blocks = array())
{
$this->parent->display($context, array_merge($this->blocks, $blocks));
}
// line 3
-
at
__TwigTemplate_9f9e8db4a68d7cfc41ae861f6630724f
->doDisplay
(array('product' => object(Product), 'cart' => object(Cart), 'tree' => '<ul class="dropdown-menu" role="menu"><li><a class="" href="/kategorie/osobni-automobily">Osobní automobily</a></li><li><a class="" href="/kategorie/uzitkove-automobily">Užitkové automobily</a></li><li><a class="" href="/kategorie/skladove-predvadeci-vozy">Skladové a předváděcí vozy</a></li></ul>', 'app' => object(GlobalVariables), 'assetic' => array('debug' => true, 'vars' => array('locale' => 'cs', 'env' => 'prod'), 'use_controller' => true)), array())
in kernel.root_dir/cache/prod/classes.php at line 9241
protected function displayWithErrorHandling(array $context, array $blocks = array())
{
try {
$this->doDisplay($context, $blocks);
} catch (Twig_Error $e) {
throw $e;
} catch (Exception $e) {
-
at
Twig_Template
->displayWithErrorHandling
(array('product' => object(Product), 'cart' => object(Cart), 'tree' => '<ul class="dropdown-menu" role="menu"><li><a class="" href="/kategorie/osobni-automobily">Osobní automobily</a></li><li><a class="" href="/kategorie/uzitkove-automobily">Užitkové automobily</a></li><li><a class="" href="/kategorie/skladove-predvadeci-vozy">Skladové a předváděcí vozy</a></li></ul>', 'app' => object(GlobalVariables), 'assetic' => array('debug' => true, 'vars' => array('locale' => 'cs', 'env' => 'prod'), 'use_controller' => true)), array())
in kernel.root_dir/cache/prod/classes.php at line 9219
*/
public function display(array $context, array $blocks = array())
{
$this->displayWithErrorHandling($this->env->mergeGlobals($context), $blocks);
}
/**
* {@inheritdoc}
-
at
Twig_Template
->display
(array('product' => object(Product), 'cart' => object(Cart), 'tree' => '<ul class="dropdown-menu" role="menu"><li><a class="" href="/kategorie/osobni-automobily">Osobní automobily</a></li><li><a class="" href="/kategorie/uzitkove-automobily">Užitkové automobily</a></li><li><a class="" href="/kategorie/skladove-predvadeci-vozy">Skladové a předváděcí vozy</a></li></ul>'))
in kernel.root_dir/cache/prod/classes.php at line 9229
$level = ob_get_level();
ob_start();
try {
$this->display($context);
} catch (Exception $e) {
while (ob_get_level() > $level) {
ob_end_clean();
-
at
Twig_Template
->render
(array('product' => object(Product), 'cart' => object(Cart), 'tree' => '<ul class="dropdown-menu" role="menu"><li><a class="" href="/kategorie/osobni-automobily">Osobní automobily</a></li><li><a class="" href="/kategorie/uzitkove-automobily">Užitkové automobily</a></li><li><a class="" href="/kategorie/skladove-predvadeci-vozy">Skladové a předváděcí vozy</a></li></ul>'))
in /home/meteorcar.cz/data/vendor/symfony/symfony/src/Symfony/Bridge/Twig/TwigEngine.php at line 53
*/
public function render($name, array $parameters = array())
{
return $this->load($name)->render($parameters);
}
/**
-
at
TwigEngine
->render
('FrontBundle:Base:product.html.twig', array('product' => object(Product), 'cart' => object(Cart), 'tree' => '<ul class="dropdown-menu" role="menu"><li><a class="" href="/kategorie/osobni-automobily">Osobní automobily</a></li><li><a class="" href="/kategorie/uzitkove-automobily">Užitkové automobily</a></li><li><a class="" href="/kategorie/skladove-predvadeci-vozy">Skladové a předváděcí vozy</a></li></ul>'))
in /home/meteorcar.cz/data/vendor/symfony/symfony/src/Symfony/Bundle/TwigBundle/TwigEngine.php at line 84
public function render($name, array $parameters = array())
{
try {
return parent::render($name, $parameters);
} catch (\Twig_Error $e) {
if ($name instanceof TemplateReference) {
try {
-
at
TwigEngine
->render
('FrontBundle:Base:product.html.twig', array('product' => object(Product), 'cart' => object(Cart), 'tree' => '<ul class="dropdown-menu" role="menu"><li><a class="" href="/kategorie/osobni-automobily">Osobní automobily</a></li><li><a class="" href="/kategorie/uzitkove-automobily">Užitkové automobily</a></li><li><a class="" href="/kategorie/skladove-predvadeci-vozy">Skladové a předváděcí vozy</a></li></ul>'))
in /home/meteorcar.cz/data/vendor/symfony/symfony/src/Symfony/Bundle/TwigBundle/Debug/TimedTwigEngine.php at line 52
{
$e = $this->stopwatch->start(sprintf('template.twig (%s)', $name), 'template');
$ret = parent::render($name, $parameters);
$e->stop();
-
at
TimedTwigEngine
->render
('FrontBundle:Base:product.html.twig', array('product' => object(Product), 'cart' => object(Cart), 'tree' => '<ul class="dropdown-menu" role="menu"><li><a class="" href="/kategorie/osobni-automobily">Osobní automobily</a></li><li><a class="" href="/kategorie/uzitkove-automobily">Užitkové automobily</a></li><li><a class="" href="/kategorie/skladove-predvadeci-vozy">Skladové a předváděcí vozy</a></li></ul>'))
in /home/meteorcar.cz/data/vendor/symfony/symfony/src/Symfony/Bundle/TwigBundle/TwigEngine.php at line 113
$response = new Response();
}
$response->setContent($this->render($view, $parameters));
return $response;
}
-
at
TwigEngine
->renderResponse
('FrontBundle:Base:product.html.twig', array('product' => object(Product), 'cart' => object(Cart), 'tree' => '<ul class="dropdown-menu" role="menu"><li><a class="" href="/kategorie/osobni-automobily">Osobní automobily</a></li><li><a class="" href="/kategorie/uzitkove-automobily">Užitkové automobily</a></li><li><a class="" href="/kategorie/skladove-predvadeci-vozy">Skladové a předváděcí vozy</a></li></ul>'), null)
in /home/meteorcar.cz/data/src/VseProObce/FrontBundle/Controller/Controller.php at line 19
$parameters = array_merge($parameters, $custom);
return $this->container->get('templating')->renderResponse($view, $parameters, $response);
}
public function getCategoryTree()
-
at
Controller
->rendero
('FrontBundle:Base:product.html.twig', array('product' => object(Product)))
in /home/meteorcar.cz/data/src/VseProObce/FrontBundle/Controller/BaseController.php at line 536
return $this->rendero('FrontBundle:Base:product.html.twig', array(
'product' => $product,
));
}
-
at
BaseController
->productAction
('citroen-c3')
-
at
call_user_func_array
(array(object(BaseController), 'productAction'), array('citroen-c3'))
in kernel.root_dir/bootstrap.php.cache at line 1419
$arguments = $this->resolver->getArguments($request, $controller);
$response = call_user_func_array($controller, $arguments);
if (!$response instanceof Response) {
$event = new GetResponseForControllerResultEvent($this, $request, $type, $response);
-
at
HttpKernel
->handleRaw
(object(Request), '1')
in kernel.root_dir/bootstrap.php.cache at line 1383
public function handle(Request $request, $type = HttpKernelInterface::MASTER_REQUEST, $catch = true)
{
try {
return $this->handleRaw($request, $type);
} catch (\Exception $e) {
if (false === $catch) {
throw $e;
-
at
HttpKernel
->handle
(object(Request), '1', true)
in kernel.root_dir/bootstrap.php.cache at line 1559
$this->container->set('request', $request, 'request');
try {
$response = parent::handle($request, $type, $catch);
} catch (\Exception $e) {
$this->container->leaveScope('request');
-
at
HttpKernel
->handle
(object(Request), '1', true)
in kernel.root_dir/bootstrap.php.cache at line 610
$this->boot();
}
return $this->getHttpKernel()->handle($request, $type, $catch);
}
-
at
Kernel
->handle
(object(Request))
in /home/meteorcar.cz/meteorcar.cz/app.php at line 21
$kernel->loadClassCache();
//$kernel = new AppCache($kernel);
$request = Request::createFromGlobals();
$response = $kernel->handle($request);
$response->send();
$kernel->terminate($request, $response);
Logs
1 error
-
DEBUG - Notified event "kernel.request" to listener "Symfony\Component\HttpKernel\EventListener\ProfilerListener::onKernelRequest".
-
DEBUG - Notified event "kernel.request" to listener "Symfony\Bundle\FrameworkBundle\EventListener\SessionListener::onKernelRequest".
-
DEBUG - Notified event "kernel.request" to listener "Symfony\Component\HttpKernel\EventListener\RouterListener::onKernelRequest".
-
INFO - Matched route "product" (parameters: "_controller": "VseProObce\FrontBundle\Controller\BaseController::productAction", "slug": "citroen-c3", "_route": "product")
-
DEBUG - Notified event "kernel.request" to listener "Symfony\Component\HttpKernel\EventListener\LocaleListener::onKernelRequest".
-
DEBUG - Notified event "kernel.request" to listener "Symfony\Component\Security\Http\Firewall::onKernelRequest".
-
INFO - Populated SecurityContext with an anonymous Token
-
DEBUG - Notified event "kernel.request" to listener "Symfony\Bundle\AsseticBundle\EventListener\RequestListener::onKernelRequest".
-
DEBUG - Notified event "kernel.controller" to listener "Symfony\Bundle\FrameworkBundle\DataCollector\RouterDataCollector::onKernelController".
-
DEBUG - Notified event "kernel.controller" to listener "Sensio\Bundle\FrameworkExtraBundle\EventListener\ControllerListener::onKernelController".
-
DEBUG - Notified event "kernel.controller" to listener "Sensio\Bundle\FrameworkExtraBundle\EventListener\ParamConverterListener::onKernelController".
-
DEBUG - Notified event "kernel.controller" to listener "Sensio\Bundle\FrameworkExtraBundle\EventListener\TemplateListener::onKernelController".
-
DEBUG - Notified event "kernel.controller" to listener "Symfony\Component\HttpKernel\DataCollector\RequestDataCollector::onKernelController".
-
DEBUG - SET NAMES UTF8
-
DEBUG - SELECT t0.id_product AS id_product1, t0.name AS name2, t0.slug AS slug3, t0.description AS description4, t0.body AS body5, t0.catalog AS catalog6, t0.warranty AS warranty7, t0.code AS code8, t0.position AS position9, t0.price AS price10, t0.deleted_on AS deleted_on11, t0.id_manufacturer AS id_manufacturer12 FROM product t0 WHERE t0.slug = ? AND ((t0.deleted_on IS NULL)) LIMIT 1
-
DEBUG - SELECT c0_.id_category AS id_category0, c0_.name AS name1, c0_.slug AS slug2, c0_.description AS description3, c0_.lft AS lft4, c0_.rgt AS rgt5, c0_.lvl AS lvl6, c0_.root AS root7, c0_.deleted_on AS deleted_on8, c0_.is_main AS is_main9, c0_.id_parent AS id_parent10 FROM category c0_ WHERE c0_.id_parent IS NULL AND (c0_.deleted_on IS NULL) LIMIT 1
-
DEBUG - SELECT c0_.id_category AS id_category0, c0_.name AS name1, c0_.slug AS slug2, c0_.description AS description3, c0_.lft AS lft4, c0_.rgt AS rgt5, c0_.lvl AS lvl6, c0_.root AS root7, c0_.deleted_on AS deleted_on8, c0_.is_main AS is_main9 FROM category c0_ WHERE c0_.rgt < 60 AND c0_.lft > 1 AND c0_.root = 1 AND (c0_.deleted_on IS NULL) ORDER BY c0_.root ASC, c0_.lft ASC
-
DEBUG - SELECT t0.id_page AS id_page1, t0.title AS title2, t0.slug AS slug3, t0.short_title AS short_title4, t0.body AS body5, t0.system AS system6, t0.deleted_on AS deleted_on7 FROM page t0 WHERE t0.system = ? AND ((t0.deleted_on IS NULL)) LIMIT 1
-
DEBUG - SELECT t0.id_page AS id_page1, t0.title AS title2, t0.slug AS slug3, t0.short_title AS short_title4, t0.body AS body5, t0.system AS system6, t0.deleted_on AS deleted_on7 FROM page t0 WHERE t0.system = ? AND ((t0.deleted_on IS NULL)) LIMIT 1
-
DEBUG - SELECT t0.id_page AS id_page1, t0.title AS title2, t0.slug AS slug3, t0.short_title AS short_title4, t0.body AS body5, t0.system AS system6, t0.deleted_on AS deleted_on7 FROM page t0 WHERE t0.system = ? AND ((t0.deleted_on IS NULL)) LIMIT 1
-
DEBUG - SELECT t0.id_page AS id_page1, t0.title AS title2, t0.slug AS slug3, t0.short_title AS short_title4, t0.body AS body5, t0.system AS system6, t0.deleted_on AS deleted_on7 FROM page t0 WHERE t0.system = ? AND ((t0.deleted_on IS NULL)) LIMIT 1
-
DEBUG - SELECT t0.id_page AS id_page1, t0.title AS title2, t0.slug AS slug3, t0.short_title AS short_title4, t0.body AS body5, t0.system AS system6, t0.deleted_on AS deleted_on7 FROM page t0 WHERE t0.system = ? AND ((t0.deleted_on IS NULL)) LIMIT 1
-
DEBUG - SELECT t0.id_page AS id_page1, t0.title AS title2, t0.slug AS slug3, t0.short_title AS short_title4, t0.body AS body5, t0.system AS system6, t0.deleted_on AS deleted_on7 FROM page t0 WHERE t0.system = ? AND ((t0.deleted_on IS NULL)) LIMIT 1
-
DEBUG - SELECT t0.id_page AS id_page1, t0.title AS title2, t0.slug AS slug3, t0.short_title AS short_title4, t0.body AS body5, t0.system AS system6, t0.deleted_on AS deleted_on7 FROM page t0 WHERE t0.system = ? AND ((t0.deleted_on IS NULL)) LIMIT 1
-
DEBUG - SELECT t0.id_page AS id_page1, t0.title AS title2, t0.slug AS slug3, t0.short_title AS short_title4, t0.body AS body5, t0.system AS system6, t0.deleted_on AS deleted_on7 FROM page t0 WHERE t0.system = ? AND ((t0.deleted_on IS NULL)) LIMIT 1
-
DEBUG - SELECT t0.id_page AS id_page1, t0.title AS title2, t0.slug AS slug3, t0.short_title AS short_title4, t0.body AS body5, t0.system AS system6, t0.deleted_on AS deleted_on7 FROM page t0 WHERE t0.system = ? AND ((t0.deleted_on IS NULL)) LIMIT 1
-
DEBUG - SELECT t0.id_page AS id_page1, t0.title AS title2, t0.slug AS slug3, t0.short_title AS short_title4, t0.body AS body5, t0.system AS system6, t0.deleted_on AS deleted_on7 FROM page t0 WHERE t0.system = ? AND ((t0.deleted_on IS NULL)) LIMIT 1
-
DEBUG - SELECT t0.id_page AS id_page1, t0.title AS title2, t0.slug AS slug3, t0.short_title AS short_title4, t0.body AS body5, t0.system AS system6, t0.deleted_on AS deleted_on7 FROM page t0 WHERE t0.system = ? AND ((t0.deleted_on IS NULL)) LIMIT 1
-
DEBUG - SELECT t0.id_page AS id_page1, t0.title AS title2, t0.slug AS slug3, t0.short_title AS short_title4, t0.body AS body5, t0.system AS system6, t0.deleted_on AS deleted_on7 FROM page t0 WHERE t0.system = ? AND ((t0.deleted_on IS NULL)) LIMIT 1
-
DEBUG - SELECT t0.id_page AS id_page1, t0.title AS title2, t0.slug AS slug3, t0.short_title AS short_title4, t0.body AS body5, t0.system AS system6, t0.deleted_on AS deleted_on7 FROM page t0 WHERE t0.system = ? AND ((t0.deleted_on IS NULL)) LIMIT 1
-
DEBUG - SELECT t0.id_page AS id_page1, t0.title AS title2, t0.slug AS slug3, t0.short_title AS short_title4, t0.body AS body5, t0.system AS system6, t0.deleted_on AS deleted_on7 FROM page t0 WHERE t0.system = ? AND ((t0.deleted_on IS NULL)) LIMIT 1
-
DEBUG - SELECT t0.id_page AS id_page1, t0.title AS title2, t0.slug AS slug3, t0.short_title AS short_title4, t0.body AS body5, t0.system AS system6, t0.deleted_on AS deleted_on7 FROM page t0 WHERE t0.system = ? AND ((t0.deleted_on IS NULL)) LIMIT 1
-
DEBUG - SELECT t0.id_page AS id_page1, t0.title AS title2, t0.slug AS slug3, t0.short_title AS short_title4, t0.body AS body5, t0.system AS system6, t0.deleted_on AS deleted_on7 FROM page t0 WHERE t0.system = ? AND ((t0.deleted_on IS NULL)) LIMIT 1
-
DEBUG - SELECT t0.id_page AS id_page1, t0.title AS title2, t0.slug AS slug3, t0.short_title AS short_title4, t0.body AS body5, t0.system AS system6, t0.deleted_on AS deleted_on7 FROM page t0 WHERE t0.system = ? AND ((t0.deleted_on IS NULL)) LIMIT 1
-
DEBUG - SELECT t0.id_page AS id_page1, t0.title AS title2, t0.slug AS slug3, t0.short_title AS short_title4, t0.body AS body5, t0.system AS system6, t0.deleted_on AS deleted_on7 FROM page t0 WHERE t0.system = ? AND ((t0.deleted_on IS NULL)) LIMIT 1
-
DEBUG - SELECT t0.id_page AS id_page1, t0.title AS title2, t0.slug AS slug3, t0.short_title AS short_title4, t0.body AS body5, t0.system AS system6, t0.deleted_on AS deleted_on7 FROM page t0 WHERE t0.system = ? AND ((t0.deleted_on IS NULL)) LIMIT 1
-
DEBUG - SELECT t0.id_page AS id_page1, t0.title AS title2, t0.slug AS slug3, t0.short_title AS short_title4, t0.body AS body5, t0.system AS system6, t0.deleted_on AS deleted_on7 FROM page t0 WHERE t0.system = ? AND ((t0.deleted_on IS NULL)) LIMIT 1
-
DEBUG - SELECT t0.id_page AS id_page1, t0.title AS title2, t0.slug AS slug3, t0.short_title AS short_title4, t0.body AS body5, t0.system AS system6, t0.deleted_on AS deleted_on7 FROM page t0 WHERE t0.system = ? AND ((t0.deleted_on IS NULL)) LIMIT 1
-
DEBUG - SELECT t0.id_page AS id_page1, t0.title AS title2, t0.slug AS slug3, t0.short_title AS short_title4, t0.body AS body5, t0.system AS system6, t0.deleted_on AS deleted_on7 FROM page t0 WHERE t0.system = ? AND ((t0.deleted_on IS NULL)) LIMIT 1
-
DEBUG - SELECT t0.id_page AS id_page1, t0.title AS title2, t0.slug AS slug3, t0.short_title AS short_title4, t0.body AS body5, t0.system AS system6, t0.deleted_on AS deleted_on7 FROM page t0 WHERE t0.system = ? AND ((t0.deleted_on IS NULL)) LIMIT 1
-
DEBUG - SELECT t0.id_page AS id_page1, t0.title AS title2, t0.slug AS slug3, t0.short_title AS short_title4, t0.body AS body5, t0.system AS system6, t0.deleted_on AS deleted_on7 FROM page t0 WHERE t0.system = ? AND ((t0.deleted_on IS NULL)) LIMIT 1
-
DEBUG - SELECT t0.id_page AS id_page1, t0.title AS title2, t0.slug AS slug3, t0.short_title AS short_title4, t0.body AS body5, t0.system AS system6, t0.deleted_on AS deleted_on7 FROM page t0 WHERE t0.system = ? AND ((t0.deleted_on IS NULL)) LIMIT 1
-
DEBUG - SELECT t0.id_page AS id_page1, t0.title AS title2, t0.slug AS slug3, t0.short_title AS short_title4, t0.body AS body5, t0.system AS system6, t0.deleted_on AS deleted_on7 FROM page t0 WHERE t0.system = ? AND ((t0.deleted_on IS NULL)) LIMIT 1
-
DEBUG - SELECT t0.id_page AS id_page1, t0.title AS title2, t0.slug AS slug3, t0.short_title AS short_title4, t0.body AS body5, t0.system AS system6, t0.deleted_on AS deleted_on7 FROM page t0 WHERE t0.system = ? AND ((t0.deleted_on IS NULL)) LIMIT 1
-
DEBUG - SELECT t0.id_page AS id_page1, t0.title AS title2, t0.slug AS slug3, t0.short_title AS short_title4, t0.body AS body5, t0.system AS system6, t0.deleted_on AS deleted_on7 FROM page t0 WHERE t0.system = ? AND ((t0.deleted_on IS NULL)) LIMIT 1
-
DEBUG - SELECT t0.id_image AS id_image1, t0.filename AS filename2, t0.extension AS extension3, t0.title AS title4, t0.position AS position5, t0.id_product AS id_product6 FROM image t0 WHERE t0.id_product = ? ORDER BY t0.position ASC
-
DEBUG - SELECT t0.id_parameter AS id_parameter1, t0.value AS value2, t0.id_product AS id_product3, t0.id_parameter_type AS id_parameter_type4 FROM parameter t0 WHERE t0.id_product = ?
-
DEBUG - Notified event "kernel.exception" to listener "Symfony\Component\Security\Http\Firewall\ExceptionListener::onKernelException".
-
DEBUG - Notified event "kernel.exception" to listener "Symfony\Component\HttpKernel\EventListener\ProfilerListener::onKernelException".
-
DEBUG - Notified event "kernel.exception" to listener "Symfony\Component\HttpKernel\EventListener\ExceptionListener::onKernelException".
-
CRITICAL - Twig_Error_Runtime: An exception has been thrown during the rendering of a template ("Unable to open file (products/4501.jpg)") in "FrontBundle:Base:product.html.twig" at line 50. (uncaught exception) at /home/meteorcar.cz/data/app/cache/prod/classes.php line 9245
-
DEBUG - Notified event "kernel.request" to listener "Symfony\Component\HttpKernel\EventListener\ProfilerListener::onKernelRequest".
-
DEBUG - Notified event "kernel.request" to listener "Symfony\Bundle\FrameworkBundle\EventListener\SessionListener::onKernelRequest".
-
DEBUG - Notified event "kernel.request" to listener "Symfony\Component\HttpKernel\EventListener\RouterListener::onKernelRequest".
-
DEBUG - Notified event "kernel.request" to listener "Symfony\Component\HttpKernel\EventListener\LocaleListener::onKernelRequest".
-
DEBUG - Notified event "kernel.request" to listener "Symfony\Component\Security\Http\Firewall::onKernelRequest".
-
DEBUG - Notified event "kernel.request" to listener "Symfony\Bundle\AsseticBundle\EventListener\RequestListener::onKernelRequest".
-
DEBUG - Notified event "kernel.controller" to listener "Symfony\Bundle\FrameworkBundle\DataCollector\RouterDataCollector::onKernelController".
-
DEBUG - Notified event "kernel.controller" to listener "Sensio\Bundle\FrameworkExtraBundle\EventListener\ControllerListener::onKernelController".
-
DEBUG - Notified event "kernel.controller" to listener "Sensio\Bundle\FrameworkExtraBundle\EventListener\ParamConverterListener::onKernelController".
-
DEBUG - Notified event "kernel.controller" to listener "Sensio\Bundle\FrameworkExtraBundle\EventListener\TemplateListener::onKernelController".
-
DEBUG - Notified event "kernel.controller" to listener "Symfony\Component\HttpKernel\DataCollector\RequestDataCollector::onKernelController".