Exception detected!

Impossible to access an attribute ("title") on a null variable.

500 Internal Server Error - Twig_Error_Runtime

Stack Trace

  1. in src/Pekin/HomeBundle/Resources/views/Default/page.html.twig at line 4  -
    1.   {% extends "PekinHomeBundle::layout.html.twig" %}
    2. {% block app_title %} <title> {{ page.title }} </title> {% endblock app_title %} 
    3. {% block final_content %}
  2. at Twig_Template ->getAttribute (null, 'title', array())
    in var/cache/prod/twig/98/985e6d9f069a8dc5355c07377714e21434fa3a476d5f4b7628813189d35b92a2.php at line 41  +
  3. at __TwigTemplate_6a933ce30eb73456a4a40137035ad13460e9a41c90c5af6f894c37e0100287f3 ->block_app_title (array('page' => null, 'assetic' => array('debug' => true, 'vars' => object(ValueContainer), 'use_controller' => true), 'wrap_fields_with_addons' => true, 'app' => object(AppVariable), 'entities' => object(Entities), 'sonata_media' => object(GlobalVariables), 'sonata_block' => object(GlobalVariables), 'sonata_admin' => object(GlobalVariables)), array('facebook_description' => array(object(__TwigTemplate_abcbee8f7b76c1a01ba5d2e4720fae9893adcfc1663ed5cda8285e12941d0c73), 'block_facebook_description'), 'app_title' => array(object(__TwigTemplate_6a933ce30eb73456a4a40137035ad13460e9a41c90c5af6f894c37e0100287f3), 'block_app_title'), 'icon' => array(object(__TwigTemplate_ce0505da515b472f85ae5d52cf0850acf318f14dd5af9718419b134b053268d3), 'block_icon'), 'css_files' => array(object(__TwigTemplate_ce0505da515b472f85ae5d52cf0850acf318f14dd5af9718419b134b053268d3), 'block_css_files'), 'content' => array(object(__TwigTemplate_ce0505da515b472f85ae5d52cf0850acf318f14dd5af9718419b134b053268d3), 'block_content'), 'js_files' => array(object(__TwigTemplate_ce0505da515b472f85ae5d52cf0850acf318f14dd5af9718419b134b053268d3), 'block_js_files'), 'index_facebook_description' => array(object(__TwigTemplate_ce0505da515b472f85ae5d52cf0850acf318f14dd5af9718419b134b053268d3), 'block_index_facebook_description'), 'final_content' => array(object(__TwigTemplate_6a933ce30eb73456a4a40137035ad13460e9a41c90c5af6f894c37e0100287f3), 'block_final_content')))
    in var/cache/prod/classes.php at line 18934  +
  4. at Twig_Template ->displayBlock ('app_title', array('page' => null, 'assetic' => array('debug' => true, 'vars' => object(ValueContainer), 'use_controller' => true), 'wrap_fields_with_addons' => true, 'app' => object(AppVariable), 'entities' => object(Entities), 'sonata_media' => object(GlobalVariables), 'sonata_block' => object(GlobalVariables), 'sonata_admin' => object(GlobalVariables)), array('facebook_description' => array(object(__TwigTemplate_abcbee8f7b76c1a01ba5d2e4720fae9893adcfc1663ed5cda8285e12941d0c73), 'block_facebook_description'), 'app_title' => array(object(__TwigTemplate_6a933ce30eb73456a4a40137035ad13460e9a41c90c5af6f894c37e0100287f3), 'block_app_title'), 'icon' => array(object(__TwigTemplate_ce0505da515b472f85ae5d52cf0850acf318f14dd5af9718419b134b053268d3), 'block_icon'), 'css_files' => array(object(__TwigTemplate_ce0505da515b472f85ae5d52cf0850acf318f14dd5af9718419b134b053268d3), 'block_css_files'), 'content' => array(object(__TwigTemplate_ce0505da515b472f85ae5d52cf0850acf318f14dd5af9718419b134b053268d3), 'block_content'), 'js_files' => array(object(__TwigTemplate_ce0505da515b472f85ae5d52cf0850acf318f14dd5af9718419b134b053268d3), 'block_js_files'), 'index_facebook_description' => array(object(__TwigTemplate_ce0505da515b472f85ae5d52cf0850acf318f14dd5af9718419b134b053268d3), 'block_index_facebook_description'), 'final_content' => array(object(__TwigTemplate_6a933ce30eb73456a4a40137035ad13460e9a41c90c5af6f894c37e0100287f3), 'block_final_content')))
    in var/cache/prod/twig/f8/f856493c663ea5e9ed738f1ab060a379998fc185c24041c422747b04d1d08c7f.php at line 49  +
  5. at __TwigTemplate_abcbee8f7b76c1a01ba5d2e4720fae9893adcfc1663ed5cda8285e12941d0c73 ->doDisplay (array('page' => null, 'assetic' => array('debug' => true, 'vars' => object(ValueContainer), 'use_controller' => true), 'wrap_fields_with_addons' => true, 'app' => object(AppVariable), 'entities' => object(Entities), 'sonata_media' => object(GlobalVariables), 'sonata_block' => object(GlobalVariables), 'sonata_admin' => object(GlobalVariables)), array('facebook_description' => array(object(__TwigTemplate_abcbee8f7b76c1a01ba5d2e4720fae9893adcfc1663ed5cda8285e12941d0c73), 'block_facebook_description'), 'app_title' => array(object(__TwigTemplate_6a933ce30eb73456a4a40137035ad13460e9a41c90c5af6f894c37e0100287f3), 'block_app_title'), 'icon' => array(object(__TwigTemplate_ce0505da515b472f85ae5d52cf0850acf318f14dd5af9718419b134b053268d3), 'block_icon'), 'css_files' => array(object(__TwigTemplate_ce0505da515b472f85ae5d52cf0850acf318f14dd5af9718419b134b053268d3), 'block_css_files'), 'content' => array(object(__TwigTemplate_ce0505da515b472f85ae5d52cf0850acf318f14dd5af9718419b134b053268d3), 'block_content'), 'js_files' => array(object(__TwigTemplate_ce0505da515b472f85ae5d52cf0850acf318f14dd5af9718419b134b053268d3), 'block_js_files'), 'index_facebook_description' => array(object(__TwigTemplate_ce0505da515b472f85ae5d52cf0850acf318f14dd5af9718419b134b053268d3), 'block_index_facebook_description'), 'final_content' => array(object(__TwigTemplate_6a933ce30eb73456a4a40137035ad13460e9a41c90c5af6f894c37e0100287f3), 'block_final_content')))
    in var/cache/prod/classes.php at line 19052  +
  6. at Twig_Template ->displayWithErrorHandling (array('page' => null, 'assetic' => array('debug' => true, 'vars' => object(ValueContainer), 'use_controller' => true), 'wrap_fields_with_addons' => true, 'app' => object(AppVariable), 'entities' => object(Entities), 'sonata_media' => object(GlobalVariables), 'sonata_block' => object(GlobalVariables), 'sonata_admin' => object(GlobalVariables)), array('facebook_description' => array(object(__TwigTemplate_abcbee8f7b76c1a01ba5d2e4720fae9893adcfc1663ed5cda8285e12941d0c73), 'block_facebook_description'), 'app_title' => array(object(__TwigTemplate_6a933ce30eb73456a4a40137035ad13460e9a41c90c5af6f894c37e0100287f3), 'block_app_title'), 'icon' => array(object(__TwigTemplate_ce0505da515b472f85ae5d52cf0850acf318f14dd5af9718419b134b053268d3), 'block_icon'), 'css_files' => array(object(__TwigTemplate_ce0505da515b472f85ae5d52cf0850acf318f14dd5af9718419b134b053268d3), 'block_css_files'), 'content' => array(object(__TwigTemplate_ce0505da515b472f85ae5d52cf0850acf318f14dd5af9718419b134b053268d3), 'block_content'), 'js_files' => array(object(__TwigTemplate_ce0505da515b472f85ae5d52cf0850acf318f14dd5af9718419b134b053268d3), 'block_js_files'), 'index_facebook_description' => array(object(__TwigTemplate_ce0505da515b472f85ae5d52cf0850acf318f14dd5af9718419b134b053268d3), 'block_index_facebook_description'), 'final_content' => array(object(__TwigTemplate_6a933ce30eb73456a4a40137035ad13460e9a41c90c5af6f894c37e0100287f3), 'block_final_content')))
    in var/cache/prod/classes.php at line 19028  +
  7. at Twig_Template ->display (array('page' => null, 'assetic' => array('debug' => true, 'vars' => object(ValueContainer), 'use_controller' => true), 'wrap_fields_with_addons' => true, 'app' => object(AppVariable), 'entities' => object(Entities), 'sonata_media' => object(GlobalVariables), 'sonata_block' => object(GlobalVariables), 'sonata_admin' => object(GlobalVariables)), array('index_facebook_description' => array(object(__TwigTemplate_ce0505da515b472f85ae5d52cf0850acf318f14dd5af9718419b134b053268d3), 'block_index_facebook_description'), 'icon' => array(object(__TwigTemplate_ce0505da515b472f85ae5d52cf0850acf318f14dd5af9718419b134b053268d3), 'block_icon'), 'css_files' => array(object(__TwigTemplate_ce0505da515b472f85ae5d52cf0850acf318f14dd5af9718419b134b053268d3), 'block_css_files'), 'content' => array(object(__TwigTemplate_ce0505da515b472f85ae5d52cf0850acf318f14dd5af9718419b134b053268d3), 'block_content'), 'final_content' => array(object(__TwigTemplate_6a933ce30eb73456a4a40137035ad13460e9a41c90c5af6f894c37e0100287f3), 'block_final_content'), 'js_files' => array(object(__TwigTemplate_ce0505da515b472f85ae5d52cf0850acf318f14dd5af9718419b134b053268d3), 'block_js_files'), 'app_title' => array(object(__TwigTemplate_6a933ce30eb73456a4a40137035ad13460e9a41c90c5af6f894c37e0100287f3), 'block_app_title')))
    in var/cache/prod/twig/42/42171e94d537d6bb21b9ec2346f1a0f4d39a5b84f6605416fa65a6072f7272a4.php at line 32  +
  8. at __TwigTemplate_ce0505da515b472f85ae5d52cf0850acf318f14dd5af9718419b134b053268d3 ->doDisplay (array('page' => null, 'assetic' => array('debug' => true, 'vars' => object(ValueContainer), 'use_controller' => true), 'wrap_fields_with_addons' => true, 'app' => object(AppVariable), 'entities' => object(Entities), 'sonata_media' => object(GlobalVariables), 'sonata_block' => object(GlobalVariables), 'sonata_admin' => object(GlobalVariables)), array('index_facebook_description' => array(object(__TwigTemplate_ce0505da515b472f85ae5d52cf0850acf318f14dd5af9718419b134b053268d3), 'block_index_facebook_description'), 'icon' => array(object(__TwigTemplate_ce0505da515b472f85ae5d52cf0850acf318f14dd5af9718419b134b053268d3), 'block_icon'), 'css_files' => array(object(__TwigTemplate_ce0505da515b472f85ae5d52cf0850acf318f14dd5af9718419b134b053268d3), 'block_css_files'), 'content' => array(object(__TwigTemplate_ce0505da515b472f85ae5d52cf0850acf318f14dd5af9718419b134b053268d3), 'block_content'), 'final_content' => array(object(__TwigTemplate_6a933ce30eb73456a4a40137035ad13460e9a41c90c5af6f894c37e0100287f3), 'block_final_content'), 'js_files' => array(object(__TwigTemplate_ce0505da515b472f85ae5d52cf0850acf318f14dd5af9718419b134b053268d3), 'block_js_files'), 'app_title' => array(object(__TwigTemplate_6a933ce30eb73456a4a40137035ad13460e9a41c90c5af6f894c37e0100287f3), 'block_app_title')))
    in var/cache/prod/classes.php at line 19052  +
  9. at Twig_Template ->displayWithErrorHandling (array('page' => null, 'assetic' => array('debug' => true, 'vars' => object(ValueContainer), 'use_controller' => true), 'wrap_fields_with_addons' => true, 'app' => object(AppVariable), 'entities' => object(Entities), 'sonata_media' => object(GlobalVariables), 'sonata_block' => object(GlobalVariables), 'sonata_admin' => object(GlobalVariables)), array('index_facebook_description' => array(object(__TwigTemplate_ce0505da515b472f85ae5d52cf0850acf318f14dd5af9718419b134b053268d3), 'block_index_facebook_description'), 'icon' => array(object(__TwigTemplate_ce0505da515b472f85ae5d52cf0850acf318f14dd5af9718419b134b053268d3), 'block_icon'), 'css_files' => array(object(__TwigTemplate_ce0505da515b472f85ae5d52cf0850acf318f14dd5af9718419b134b053268d3), 'block_css_files'), 'content' => array(object(__TwigTemplate_ce0505da515b472f85ae5d52cf0850acf318f14dd5af9718419b134b053268d3), 'block_content'), 'final_content' => array(object(__TwigTemplate_6a933ce30eb73456a4a40137035ad13460e9a41c90c5af6f894c37e0100287f3), 'block_final_content'), 'js_files' => array(object(__TwigTemplate_ce0505da515b472f85ae5d52cf0850acf318f14dd5af9718419b134b053268d3), 'block_js_files'), 'app_title' => array(object(__TwigTemplate_6a933ce30eb73456a4a40137035ad13460e9a41c90c5af6f894c37e0100287f3), 'block_app_title')))
    in var/cache/prod/classes.php at line 19028  +
  10. at Twig_Template ->display (array('page' => null, 'assetic' => array('debug' => true, 'vars' => object(ValueContainer), 'use_controller' => true), 'wrap_fields_with_addons' => true, 'app' => object(AppVariable), 'entities' => object(Entities), 'sonata_media' => object(GlobalVariables), 'sonata_block' => object(GlobalVariables), 'sonata_admin' => object(GlobalVariables)), array('app_title' => array(object(__TwigTemplate_6a933ce30eb73456a4a40137035ad13460e9a41c90c5af6f894c37e0100287f3), 'block_app_title'), 'final_content' => array(object(__TwigTemplate_6a933ce30eb73456a4a40137035ad13460e9a41c90c5af6f894c37e0100287f3), 'block_final_content')))
    in var/cache/prod/twig/98/985e6d9f069a8dc5355c07377714e21434fa3a476d5f4b7628813189d35b92a2.php at line 28  +
  11. at __TwigTemplate_6a933ce30eb73456a4a40137035ad13460e9a41c90c5af6f894c37e0100287f3 ->doDisplay (array('page' => null, 'assetic' => array('debug' => true, 'vars' => object(ValueContainer), 'use_controller' => true), 'wrap_fields_with_addons' => true, 'app' => object(AppVariable), 'entities' => object(Entities), 'sonata_media' => object(GlobalVariables), 'sonata_block' => object(GlobalVariables), 'sonata_admin' => object(GlobalVariables)), array('app_title' => array(object(__TwigTemplate_6a933ce30eb73456a4a40137035ad13460e9a41c90c5af6f894c37e0100287f3), 'block_app_title'), 'final_content' => array(object(__TwigTemplate_6a933ce30eb73456a4a40137035ad13460e9a41c90c5af6f894c37e0100287f3), 'block_final_content')))
    in var/cache/prod/classes.php at line 19052  +
  12. at Twig_Template ->displayWithErrorHandling (array('page' => null, 'assetic' => array('debug' => true, 'vars' => object(ValueContainer), 'use_controller' => true), 'wrap_fields_with_addons' => true, 'app' => object(AppVariable), 'entities' => object(Entities), 'sonata_media' => object(GlobalVariables), 'sonata_block' => object(GlobalVariables), 'sonata_admin' => object(GlobalVariables)), array('app_title' => array(object(__TwigTemplate_6a933ce30eb73456a4a40137035ad13460e9a41c90c5af6f894c37e0100287f3), 'block_app_title'), 'final_content' => array(object(__TwigTemplate_6a933ce30eb73456a4a40137035ad13460e9a41c90c5af6f894c37e0100287f3), 'block_final_content')))
    in var/cache/prod/classes.php at line 19028  +
  13. at Twig_Template ->display (array('page' => null))
    in var/cache/prod/classes.php at line 19035  +
  14. at Twig_Template ->render (array('page' => null))
    in vendor/symfony/symfony/src/Symfony/Bridge/Twig/TwigEngine.php at line 50  +
  15. at TwigEngine ->render ('PekinHomeBundle:Default:page.html.twig', array('page' => null))
    in vendor/symfony/symfony/src/Symfony/Bundle/TwigBundle/TwigEngine.php at line 50  +
  16. at TwigEngine ->render ('PekinHomeBundle:Default:page.html.twig', array('page' => null))
    in vendor/symfony/symfony/src/Symfony/Bundle/TwigBundle/TwigEngine.php at line 75  +
  17. at TwigEngine ->renderResponse ('PekinHomeBundle:Default:page.html.twig', array('page' => null), null)
    in vendor/symfony/symfony/src/Symfony/Bundle/FrameworkBundle/Controller/Controller.php at line 186  +
  18. at Controller ->render ('PekinHomeBundle:Default:page.html.twig', array('page' => null))
    in src/Pekin/HomeBundle/Controller/DefaultController.php at line 65  +
  19. at DefaultController ->pageAction (object(Request), 'mediatheque')
  20. at call_user_func_array (array(object(DefaultController), 'pageAction'), array(object(Request), 'mediatheque'))
    in vendor/symfony/symfony/src/Symfony/Component/HttpKernel/HttpKernel.php at line 144  +
  21. at HttpKernel ->handleRaw (object(Request), '1')
    in vendor/symfony/symfony/src/Symfony/Component/HttpKernel/HttpKernel.php at line 64  +
  22. at HttpKernel ->handle (object(Request), '1', true)
    in vendor/symfony/symfony/src/Symfony/Component/HttpKernel/Kernel.php at line 169  +
  23. at Kernel ->handle (object(Request))
    in fr/app.php at line 28  +

Logs  -

Stack Trace (Plain Text)  +