Exception detected!

Impossible to access an attribute ("name") on a NULL variable ("") in LilicelestineFrontendBundle:Post:category.html.twig at line 3

500 Internal Server Error - Twig_Error_Runtime

Stack Trace

  1. in kernel.root_dir/cache/prod/classes.php at line 4406  -
    1. } elseif (Twig_TemplateInterface::ARRAY_CALL === $type) {
    2. throw new Twig_Error_Runtime(sprintf('Impossible to access a key ("%s") on a %s variable ("%s")'$itemgettype($object), $object), -1$this->getTemplateName());
    3. } else {
    4. throw new Twig_Error_Runtime(sprintf('Impossible to access an attribute ("%s") on a %s variable ("%s")'$itemgettype($object), $object), -1$this->getTemplateName());
    5. }
    6. }
    7. }
  2. at Twig_Template ->getAttribute (null, 'name')
    in kernel.root_dir/cache/prod/twig/e9/e0/97e0779874bc1584f8bccef78855.php at line 39  +
  3. at __TwigTemplate_e9e097e0779874bc1584f8bccef78855 ->block_title (array('posts' => array(), 'category' => null, 'url' => 'nos-promenades', 'last_page' => '0', 'previous_page' => '1', 'current_page' => '1', 'next_page' => '0', 'total' => '0', 'max_per_page' => '24', 'path' => 'lilicelestine_frontend_blog_category', 'get' => '?', 'assetic' => array('debug' => true, 'vars' => object(ValueContainer), 'use_controller' => false), 'app' => object(GlobalVariables), 'website_name' => 'Lili Célestine', 'website_url' => 'https://www.lilicelestine.com', 'frais_port_gratuit' => '49'), array('class' => array(object(__TwigTemplate_e9e097e0779874bc1584f8bccef78855), 'block_class'), 'breadcrumb' => array(object(__TwigTemplate_e9e097e0779874bc1584f8bccef78855), 'block_breadcrumb'), 'content' => array(object(__TwigTemplate_e9e097e0779874bc1584f8bccef78855), 'block_content')))
  4. at call_user_func (array(object(__TwigTemplate_e9e097e0779874bc1584f8bccef78855), 'block_title'), array('posts' => array(), 'category' => null, 'url' => 'nos-promenades', 'last_page' => '0', 'previous_page' => '1', 'current_page' => '1', 'next_page' => '0', 'total' => '0', 'max_per_page' => '24', 'path' => 'lilicelestine_frontend_blog_category', 'get' => '?', 'assetic' => array('debug' => true, 'vars' => object(ValueContainer), 'use_controller' => false), 'app' => object(GlobalVariables), 'website_name' => 'Lili Célestine', 'website_url' => 'https://www.lilicelestine.com', 'frais_port_gratuit' => '49'), array('class' => array(object(__TwigTemplate_e9e097e0779874bc1584f8bccef78855), 'block_class'), 'breadcrumb' => array(object(__TwigTemplate_e9e097e0779874bc1584f8bccef78855), 'block_breadcrumb'), 'content' => array(object(__TwigTemplate_e9e097e0779874bc1584f8bccef78855), 'block_content')))
    in kernel.root_dir/cache/prod/classes.php at line 4303  +
  5. at Twig_Template ->displayBlock ('title', array('posts' => array(), 'category' => null, 'url' => 'nos-promenades', 'last_page' => '0', 'previous_page' => '1', 'current_page' => '1', 'next_page' => '0', 'total' => '0', 'max_per_page' => '24', 'path' => 'lilicelestine_frontend_blog_category', 'get' => '?', 'assetic' => array('debug' => true, 'vars' => object(ValueContainer), 'use_controller' => false), 'app' => object(GlobalVariables), 'website_name' => 'Lili Célestine', 'website_url' => 'https://www.lilicelestine.com', 'frais_port_gratuit' => '49'), array('class' => array(object(__TwigTemplate_e9e097e0779874bc1584f8bccef78855), 'block_class'), 'title' => array(object(__TwigTemplate_e9e097e0779874bc1584f8bccef78855), 'block_title'), 'breadcrumb' => array(object(__TwigTemplate_e9e097e0779874bc1584f8bccef78855), 'block_breadcrumb'), 'content' => array(object(__TwigTemplate_e9e097e0779874bc1584f8bccef78855), 'block_content')))
    in kernel.root_dir/cache/prod/twig/cf/e5/074eb58884c13a21b4a12119d7e6.php at line 39  +
  6. at __TwigTemplate_cfe5074eb58884c13a21b4a12119d7e6 ->doDisplay (array('posts' => array(), 'category' => null, 'url' => 'nos-promenades', 'last_page' => '0', 'previous_page' => '1', 'current_page' => '1', 'next_page' => '0', 'total' => '0', 'max_per_page' => '24', 'path' => 'lilicelestine_frontend_blog_category', 'get' => '?', 'assetic' => array('debug' => true, 'vars' => object(ValueContainer), 'use_controller' => false), 'app' => object(GlobalVariables), 'website_name' => 'Lili Célestine', 'website_url' => 'https://www.lilicelestine.com', 'frais_port_gratuit' => '49'), array('class' => array(object(__TwigTemplate_e9e097e0779874bc1584f8bccef78855), 'block_class'), 'title' => array(object(__TwigTemplate_e9e097e0779874bc1584f8bccef78855), 'block_title'), 'breadcrumb' => array(object(__TwigTemplate_e9e097e0779874bc1584f8bccef78855), 'block_breadcrumb'), 'content' => array(object(__TwigTemplate_e9e097e0779874bc1584f8bccef78855), 'block_content')))
    in kernel.root_dir/cache/prod/classes.php at line 4355  +
  7. at Twig_Template ->displayWithErrorHandling (array('posts' => array(), 'category' => null, 'url' => 'nos-promenades', 'last_page' => '0', 'previous_page' => '1', 'current_page' => '1', 'next_page' => '0', 'total' => '0', 'max_per_page' => '24', 'path' => 'lilicelestine_frontend_blog_category', 'get' => '?', 'assetic' => array('debug' => true, 'vars' => object(ValueContainer), 'use_controller' => false), 'app' => object(GlobalVariables), 'website_name' => 'Lili Célestine', 'website_url' => 'https://www.lilicelestine.com', 'frais_port_gratuit' => '49'), array('class' => array(object(__TwigTemplate_e9e097e0779874bc1584f8bccef78855), 'block_class'), 'title' => array(object(__TwigTemplate_e9e097e0779874bc1584f8bccef78855), 'block_title'), 'breadcrumb' => array(object(__TwigTemplate_e9e097e0779874bc1584f8bccef78855), 'block_breadcrumb'), 'content' => array(object(__TwigTemplate_e9e097e0779874bc1584f8bccef78855), 'block_content')))
    in kernel.root_dir/cache/prod/classes.php at line 4336  +
  8. at Twig_Template ->display (array('posts' => array(), 'category' => null, 'url' => 'nos-promenades', 'last_page' => '0', 'previous_page' => '1', 'current_page' => '1', 'next_page' => '0', 'total' => '0', 'max_per_page' => '24', 'path' => 'lilicelestine_frontend_blog_category', 'get' => '?', 'assetic' => array('debug' => true, 'vars' => object(ValueContainer), 'use_controller' => false), 'app' => object(GlobalVariables), 'website_name' => 'Lili Célestine', 'website_url' => 'https://www.lilicelestine.com', 'frais_port_gratuit' => '49'), array('class' => array(object(__TwigTemplate_e9e097e0779874bc1584f8bccef78855), 'block_class'), 'title' => array(object(__TwigTemplate_e9e097e0779874bc1584f8bccef78855), 'block_title'), 'breadcrumb' => array(object(__TwigTemplate_e9e097e0779874bc1584f8bccef78855), 'block_breadcrumb'), 'content' => array(object(__TwigTemplate_e9e097e0779874bc1584f8bccef78855), 'block_content')))
    in kernel.root_dir/cache/prod/twig/e9/e0/97e0779874bc1584f8bccef78855.php at line 27  +
  9. at __TwigTemplate_e9e097e0779874bc1584f8bccef78855 ->doDisplay (array('posts' => array(), 'category' => null, 'url' => 'nos-promenades', 'last_page' => '0', 'previous_page' => '1', 'current_page' => '1', 'next_page' => '0', 'total' => '0', 'max_per_page' => '24', 'path' => 'lilicelestine_frontend_blog_category', 'get' => '?', 'assetic' => array('debug' => true, 'vars' => object(ValueContainer), 'use_controller' => false), 'app' => object(GlobalVariables), 'website_name' => 'Lili Célestine', 'website_url' => 'https://www.lilicelestine.com', 'frais_port_gratuit' => '49'), array())
    in kernel.root_dir/cache/prod/classes.php at line 4355  +
  10. at Twig_Template ->displayWithErrorHandling (array('posts' => array(), 'category' => null, 'url' => 'nos-promenades', 'last_page' => '0', 'previous_page' => '1', 'current_page' => '1', 'next_page' => '0', 'total' => '0', 'max_per_page' => '24', 'path' => 'lilicelestine_frontend_blog_category', 'get' => '?', 'assetic' => array('debug' => true, 'vars' => object(ValueContainer), 'use_controller' => false), 'app' => object(GlobalVariables), 'website_name' => 'Lili Célestine', 'website_url' => 'https://www.lilicelestine.com', 'frais_port_gratuit' => '49'), array())
    in kernel.root_dir/cache/prod/classes.php at line 4336  +
  11. at Twig_Template ->display (array('posts' => array(), 'category' => null, 'url' => 'nos-promenades', 'last_page' => '0', 'previous_page' => '1', 'current_page' => '1', 'next_page' => '0', 'total' => '0', 'max_per_page' => '24', 'path' => 'lilicelestine_frontend_blog_category', 'get' => '?'))
    in kernel.root_dir/cache/prod/classes.php at line 4343  +
  12. at Twig_Template ->render (array('posts' => array(), 'category' => null, 'url' => 'nos-promenades', 'last_page' => '0', 'previous_page' => '1', 'current_page' => '1', 'next_page' => '0', 'total' => '0', 'max_per_page' => '24', 'path' => 'lilicelestine_frontend_blog_category', 'get' => '?'))
    in /home/lilicele/www/vendor/symfony/symfony/src/Symfony/Bridge/Twig/TwigEngine.php at line 53  +
  13. at TwigEngine ->render ('LilicelestineFrontendBundle:Post:category.html.twig', array('posts' => array(), 'category' => null, 'url' => 'nos-promenades', 'last_page' => '0', 'previous_page' => '1', 'current_page' => '1', 'next_page' => '0', 'total' => '0', 'max_per_page' => '24', 'path' => 'lilicelestine_frontend_blog_category', 'get' => '?'))
    in /home/lilicele/www/vendor/symfony/symfony/src/Symfony/Bundle/TwigBundle/TwigEngine.php at line 79  +
  14. at TwigEngine ->render ('LilicelestineFrontendBundle:Post:category.html.twig', array('posts' => array(), 'category' => null, 'url' => 'nos-promenades', 'last_page' => '0', 'previous_page' => '1', 'current_page' => '1', 'next_page' => '0', 'total' => '0', 'max_per_page' => '24', 'path' => 'lilicelestine_frontend_blog_category', 'get' => '?'))
    in /home/lilicele/www/vendor/symfony/symfony/src/Symfony/Bundle/TwigBundle/Debug/TimedTwigEngine.php at line 52  +
  15. at TimedTwigEngine ->render ('LilicelestineFrontendBundle:Post:category.html.twig', array('posts' => array(), 'category' => null, 'url' => 'nos-promenades', 'last_page' => '0', 'previous_page' => '1', 'current_page' => '1', 'next_page' => '0', 'total' => '0', 'max_per_page' => '24', 'path' => 'lilicelestine_frontend_blog_category', 'get' => '?'))
    in /home/lilicele/www/vendor/symfony/symfony/src/Symfony/Bundle/TwigBundle/TwigEngine.php at line 108  +
  16. at TwigEngine ->renderResponse ('LilicelestineFrontendBundle:Post:category.html.twig', array('posts' => array(), 'category' => null, 'url' => 'nos-promenades', 'last_page' => '0', 'previous_page' => '1', 'current_page' => '1', 'next_page' => '0', 'total' => '0', 'max_per_page' => '24', 'path' => 'lilicelestine_frontend_blog_category', 'get' => '?'), null)
    in /home/lilicele/www/vendor/symfony/symfony/src/Symfony/Bundle/FrameworkBundle/Controller/Controller.php at line 106  +
  17. at Controller ->render ('LilicelestineFrontendBundle:Post:category.html.twig', array('posts' => array(), 'category' => null, 'url' => 'nos-promenades', 'last_page' => '0', 'previous_page' => '1', 'current_page' => '1', 'next_page' => '0', 'total' => '0', 'max_per_page' => '24', 'path' => 'lilicelestine_frontend_blog_category', 'get' => '?'))
    in /home/lilicele/www/src/Lilicelestine/FrontendBundle/Controller/PostController.php at line 209  +
  18. at PostController ->categoryAction ('nos-promenades', '1')
  19. at call_user_func_array (array(object(PostController), 'categoryAction'), array('nos-promenades', '1'))
    in kernel.root_dir/bootstrap.php.cache at line 2815  +
  20. at HttpKernel ->handleRaw (object(Request), '1')
    in kernel.root_dir/bootstrap.php.cache at line 2789  +
  21. at HttpKernel ->handle (object(Request), '1', true)
    in kernel.root_dir/bootstrap.php.cache at line 2918  +
  22. at ContainerAwareHttpKernel ->handle (object(Request), '1', true)
    in kernel.root_dir/bootstrap.php.cache at line 2220  +
  23. at Kernel ->handle (object(Request), '1', true)
    in /home/lilicele/www/vendor/symfony/symfony/src/Symfony/Component/HttpKernel/HttpCache/HttpCache.php at line 473  +
  24. at HttpCache ->forward (object(Request), true, null)
    in /home/lilicele/www/vendor/symfony/symfony/src/Symfony/Bundle/FrameworkBundle/HttpCache/HttpCache.php at line 60  +
  25. at HttpCache ->forward (object(Request), true)
    in /home/lilicele/www/vendor/symfony/symfony/src/Symfony/Component/HttpKernel/HttpCache/HttpCache.php at line 430  +
  26. at HttpCache ->fetch (object(Request), true)
    in /home/lilicele/www/vendor/symfony/symfony/src/Symfony/Component/HttpKernel/HttpCache/HttpCache.php at line 330  +
  27. at HttpCache ->lookup (object(Request), true)
    in /home/lilicele/www/vendor/symfony/symfony/src/Symfony/Component/HttpKernel/HttpCache/HttpCache.php at line 194  +
  28. at HttpCache ->handle (object(Request))
    in /home/lilicele/www/web/app.php at line 29  +

Logs  -

Stack Trace (Plain Text)  +