Exception detected!

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

500 Internal Server Error - Twig_Error_Runtime

Stack Trace

  1. in app/Resources/views/frontend/header.html.twig at line 67  -
    1.             </div>
    2.             {% set menu = amz_menu() %}
    3.             {% for entity in menu %}
    4.                 <div class="item {% if app.request.attributes.get('_route') == entity.type.slug %}active-nav{% endif %}">
    5.                     <a href="{{ entity.url }}">
    6.                         <img src="{{ vich_uploader_asset(entity, 'thumbnailFile') }}" alt="">
    7.                         <span>{{ entity.title }}</span>
  2. at Twig_Template ->getAttribute (null, 'slug', array())
    in app/cache/dev/twig/76/76c6fce60da7d62d81e3fb58f9d2e6f8877b40e1979f9e5d981bfe5e2cb541b4.php at line 193  +
  3. at __TwigTemplate_f01f6ed43f5a2de882daabf5537e945dce24931b5b1c566e858718fd41a5f36e ->doDisplay (array('text' => object(CategorySub), 'feature' => array(object(Feature), object(Feature), object(Feature), object(Feature), object(Feature), object(Feature), object(Feature), object(Feature), object(Feature), object(Feature)), 'assetic' => array('debug' => true, 'vars' => object(ValueContainer), 'use_controller' => true), 'grid' => null, 'column' => null, 'row' => null, 'value' => null, 'submitOnChange' => null, 'withjs' => true, 'pagerfanta' => false, 'op' => 'eq', 'app' => object(AppVariable), 'languages' => array('vi' => 'Tiếng Việt', 'en' => 'Tiếng Anh'), 'base_url' => 'http://galaxy-paint.vn/', 'recaptcha' => object(Config), 'bg' => array(object(BackgroundColor), object(BackgroundColor), object(BackgroundColor), object(BackgroundColor), object(BackgroundColor), object(BackgroundColor)), 'logo' => object(Config), 'menu' => array(object(MenuLevel1), object(MenuLevel1), object(MenuLevel1), object(MenuLevel1), object(MenuLevel1), object(MenuLevel1), object(MenuLevel1), object(MenuLevel1)), '_parent' => array('text' => object(CategorySub), 'feature' => array(object(Feature), object(Feature), object(Feature), object(Feature), object(Feature), object(Feature), object(Feature), object(Feature), object(Feature), object(Feature)), 'assetic' => array('debug' => true, 'vars' => object(ValueContainer), 'use_controller' => true), 'grid' => null, 'column' => null, 'row' => null, 'value' => null, 'submitOnChange' => null, 'withjs' => true, 'pagerfanta' => false, 'op' => 'eq', 'app' => object(AppVariable), 'languages' => array('vi' => 'Tiếng Việt', 'en' => 'Tiếng Anh'), 'base_url' => 'http://galaxy-paint.vn/', 'recaptcha' => object(Config), 'bg' => array(object(BackgroundColor), object(BackgroundColor), object(BackgroundColor), object(BackgroundColor), object(BackgroundColor), object(BackgroundColor)), 'logo' => object(Config), 'menu' => array(object(MenuLevel1), object(MenuLevel1), object(MenuLevel1), object(MenuLevel1), object(MenuLevel1), object(MenuLevel1), object(MenuLevel1), object(MenuLevel1))), '_seq' => array(object(MenuLevel1), object(MenuLevel1), object(MenuLevel1), object(MenuLevel1), object(MenuLevel1), object(MenuLevel1), object(MenuLevel1), object(MenuLevel1)), 'entity' => object(MenuLevel1), '_key' => '3'), array())
    in app/cache/dev/classes.php at line 5126  +
  4. at Twig_Template ->displayWithErrorHandling (array('text' => object(CategorySub), 'feature' => array(object(Feature), object(Feature), object(Feature), object(Feature), object(Feature), object(Feature), object(Feature), object(Feature), object(Feature), object(Feature)), 'assetic' => array('debug' => true, 'vars' => object(ValueContainer), 'use_controller' => true), 'grid' => null, 'column' => null, 'row' => null, 'value' => null, 'submitOnChange' => null, 'withjs' => true, 'pagerfanta' => false, 'op' => 'eq', 'app' => object(AppVariable), 'languages' => array('vi' => 'Tiếng Việt', 'en' => 'Tiếng Anh'), 'base_url' => 'http://galaxy-paint.vn/', 'recaptcha' => object(Config), 'bg' => array(object(BackgroundColor), object(BackgroundColor), object(BackgroundColor), object(BackgroundColor), object(BackgroundColor), object(BackgroundColor))), array())
    in app/cache/dev/classes.php at line 5102  +
  5. at Twig_Template ->display (array('text' => object(CategorySub), 'feature' => array(object(Feature), object(Feature), object(Feature), object(Feature), object(Feature), object(Feature), object(Feature), object(Feature), object(Feature), object(Feature)), 'assetic' => array('debug' => true, 'vars' => object(ValueContainer), 'use_controller' => true), 'grid' => null, 'column' => null, 'row' => null, 'value' => null, 'submitOnChange' => null, 'withjs' => true, 'pagerfanta' => false, 'op' => 'eq', 'app' => object(AppVariable), 'languages' => array('vi' => 'Tiếng Việt', 'en' => 'Tiếng Anh'), 'base_url' => 'http://galaxy-paint.vn/', 'recaptcha' => object(Config), 'bg' => array(object(BackgroundColor), object(BackgroundColor), object(BackgroundColor), object(BackgroundColor), object(BackgroundColor), object(BackgroundColor))))
    in app/cache/dev/classes.php at line 5109  +
  6. at Twig_Template ->render (array('text' => object(CategorySub), 'feature' => array(object(Feature), object(Feature), object(Feature), object(Feature), object(Feature), object(Feature), object(Feature), object(Feature), object(Feature), object(Feature)), 'assetic' => array('debug' => true, 'vars' => object(ValueContainer), 'use_controller' => true), 'grid' => null, 'column' => null, 'row' => null, 'value' => null, 'submitOnChange' => null, 'withjs' => true, 'pagerfanta' => false, 'op' => 'eq', 'app' => object(AppVariable), 'languages' => array('vi' => 'Tiếng Việt', 'en' => 'Tiếng Anh'), 'base_url' => 'http://galaxy-paint.vn/', 'recaptcha' => object(Config), 'bg' => array(object(BackgroundColor), object(BackgroundColor), object(BackgroundColor), object(BackgroundColor), object(BackgroundColor), object(BackgroundColor))))
    in app/cache/dev/classes.php at line 4723  +
  7. at twig_include (object(Twig_Environment), array('text' => object(CategorySub), 'feature' => array(object(Feature), object(Feature), object(Feature), object(Feature), object(Feature), object(Feature), object(Feature), object(Feature), object(Feature), object(Feature)), 'assetic' => array('debug' => true, 'vars' => object(ValueContainer), 'use_controller' => true), 'grid' => null, 'column' => null, 'row' => null, 'value' => null, 'submitOnChange' => null, 'withjs' => true, 'pagerfanta' => false, 'op' => 'eq', 'app' => object(AppVariable), 'languages' => array('vi' => 'Tiếng Việt', 'en' => 'Tiếng Anh'), 'base_url' => 'http://galaxy-paint.vn/', 'recaptcha' => object(Config), 'bg' => array(object(BackgroundColor), object(BackgroundColor), object(BackgroundColor), object(BackgroundColor), object(BackgroundColor), object(BackgroundColor))), 'frontend/header.html.twig')
    in app/cache/dev/twig/73/73062cb56bd47278c0b4d2005b98250d5ce603e87278daad464ea4feb43701fb.php at line 136  +
  8. at __TwigTemplate_a942f3e35a5b19b10d5cec6aa9b6856d1de1f12b5c0d4144b9d0c1dc69d94b98 ->doDisplay (array('text' => object(CategorySub), 'feature' => array(object(Feature), object(Feature), object(Feature), object(Feature), object(Feature), object(Feature), object(Feature), object(Feature), object(Feature), object(Feature)), 'assetic' => array('debug' => true, 'vars' => object(ValueContainer), 'use_controller' => true), 'grid' => null, 'column' => null, 'row' => null, 'value' => null, 'submitOnChange' => null, 'withjs' => true, 'pagerfanta' => false, 'op' => 'eq', 'app' => object(AppVariable), 'languages' => array('vi' => 'Tiếng Việt', 'en' => 'Tiếng Anh'), 'base_url' => 'http://galaxy-paint.vn/', 'recaptcha' => object(Config), 'bg' => array(object(BackgroundColor), object(BackgroundColor), object(BackgroundColor), object(BackgroundColor), object(BackgroundColor), object(BackgroundColor))), array('fb_meta' => array(object(__TwigTemplate_c4e804bc87598944716202409f9680e329e35424e709ab7ff99c59d392779470), 'block_fb_meta'), 'title' => array(object(__TwigTemplate_c4e804bc87598944716202409f9680e329e35424e709ab7ff99c59d392779470), 'block_title'), 'body' => array(object(__TwigTemplate_c4e804bc87598944716202409f9680e329e35424e709ab7ff99c59d392779470), 'block_body'), 'breadcrumb' => array(object(__TwigTemplate_c4e804bc87598944716202409f9680e329e35424e709ab7ff99c59d392779470), 'block_breadcrumb'), 'login' => array(object(__TwigTemplate_a942f3e35a5b19b10d5cec6aa9b6856d1de1f12b5c0d4144b9d0c1dc69d94b98), 'block_login'), 'css_html' => array(object(__TwigTemplate_a942f3e35a5b19b10d5cec6aa9b6856d1de1f12b5c0d4144b9d0c1dc69d94b98), 'block_css_html'), 'js_background' => array(object(__TwigTemplate_a942f3e35a5b19b10d5cec6aa9b6856d1de1f12b5c0d4144b9d0c1dc69d94b98), 'block_js_background'), 'js_script' => array(object(__TwigTemplate_c4e804bc87598944716202409f9680e329e35424e709ab7ff99c59d392779470), 'block_js_script')))
    in app/cache/dev/classes.php at line 5126  +
  9. at Twig_Template ->displayWithErrorHandling (array('text' => object(CategorySub), 'feature' => array(object(Feature), object(Feature), object(Feature), object(Feature), object(Feature), object(Feature), object(Feature), object(Feature), object(Feature), object(Feature)), 'assetic' => array('debug' => true, 'vars' => object(ValueContainer), 'use_controller' => true), 'grid' => null, 'column' => null, 'row' => null, 'value' => null, 'submitOnChange' => null, 'withjs' => true, 'pagerfanta' => false, 'op' => 'eq', 'app' => object(AppVariable), 'languages' => array('vi' => 'Tiếng Việt', 'en' => 'Tiếng Anh'), 'base_url' => 'http://galaxy-paint.vn/'), array('fb_meta' => array(object(__TwigTemplate_c4e804bc87598944716202409f9680e329e35424e709ab7ff99c59d392779470), 'block_fb_meta'), 'title' => array(object(__TwigTemplate_c4e804bc87598944716202409f9680e329e35424e709ab7ff99c59d392779470), 'block_title'), 'body' => array(object(__TwigTemplate_c4e804bc87598944716202409f9680e329e35424e709ab7ff99c59d392779470), 'block_body'), 'breadcrumb' => array(object(__TwigTemplate_c4e804bc87598944716202409f9680e329e35424e709ab7ff99c59d392779470), 'block_breadcrumb'), 'login' => array(object(__TwigTemplate_a942f3e35a5b19b10d5cec6aa9b6856d1de1f12b5c0d4144b9d0c1dc69d94b98), 'block_login'), 'css_html' => array(object(__TwigTemplate_a942f3e35a5b19b10d5cec6aa9b6856d1de1f12b5c0d4144b9d0c1dc69d94b98), 'block_css_html'), 'js_background' => array(object(__TwigTemplate_a942f3e35a5b19b10d5cec6aa9b6856d1de1f12b5c0d4144b9d0c1dc69d94b98), 'block_js_background'), 'js_script' => array(object(__TwigTemplate_c4e804bc87598944716202409f9680e329e35424e709ab7ff99c59d392779470), 'block_js_script')))
    in app/cache/dev/classes.php at line 5102  +
  10. at Twig_Template ->display (array('text' => object(CategorySub), 'feature' => array(object(Feature), object(Feature), object(Feature), object(Feature), object(Feature), object(Feature), object(Feature), object(Feature), object(Feature), object(Feature)), 'assetic' => array('debug' => true, 'vars' => object(ValueContainer), 'use_controller' => true), 'grid' => null, 'column' => null, 'row' => null, 'value' => null, 'submitOnChange' => null, 'withjs' => true, 'pagerfanta' => false, 'op' => 'eq', 'app' => object(AppVariable), 'languages' => array('vi' => 'Tiếng Việt', 'en' => 'Tiếng Anh'), 'base_url' => 'http://galaxy-paint.vn/'), array('fb_meta' => array(object(__TwigTemplate_c4e804bc87598944716202409f9680e329e35424e709ab7ff99c59d392779470), 'block_fb_meta'), 'title' => array(object(__TwigTemplate_c4e804bc87598944716202409f9680e329e35424e709ab7ff99c59d392779470), 'block_title'), 'body' => array(object(__TwigTemplate_c4e804bc87598944716202409f9680e329e35424e709ab7ff99c59d392779470), 'block_body'), 'breadcrumb' => array(object(__TwigTemplate_c4e804bc87598944716202409f9680e329e35424e709ab7ff99c59d392779470), 'block_breadcrumb'), 'js_script' => array(object(__TwigTemplate_c4e804bc87598944716202409f9680e329e35424e709ab7ff99c59d392779470), 'block_js_script')))
    in app/cache/dev/twig/cd/cd17192e5ae8d5739e40e1705e32f880867223b1c82839a2f481db19e356317c.php at line 31  +
  11. at __TwigTemplate_c4e804bc87598944716202409f9680e329e35424e709ab7ff99c59d392779470 ->doDisplay (array('text' => object(CategorySub), 'feature' => array(object(Feature), object(Feature), object(Feature), object(Feature), object(Feature), object(Feature), object(Feature), object(Feature), object(Feature), object(Feature)), 'assetic' => array('debug' => true, 'vars' => object(ValueContainer), 'use_controller' => true), 'grid' => null, 'column' => null, 'row' => null, 'value' => null, 'submitOnChange' => null, 'withjs' => true, 'pagerfanta' => false, 'op' => 'eq', 'app' => object(AppVariable), 'languages' => array('vi' => 'Tiếng Việt', 'en' => 'Tiếng Anh'), 'base_url' => 'http://galaxy-paint.vn/'), array('fb_meta' => array(object(__TwigTemplate_c4e804bc87598944716202409f9680e329e35424e709ab7ff99c59d392779470), 'block_fb_meta'), 'title' => array(object(__TwigTemplate_c4e804bc87598944716202409f9680e329e35424e709ab7ff99c59d392779470), 'block_title'), 'body' => array(object(__TwigTemplate_c4e804bc87598944716202409f9680e329e35424e709ab7ff99c59d392779470), 'block_body'), 'breadcrumb' => array(object(__TwigTemplate_c4e804bc87598944716202409f9680e329e35424e709ab7ff99c59d392779470), 'block_breadcrumb'), 'js_script' => array(object(__TwigTemplate_c4e804bc87598944716202409f9680e329e35424e709ab7ff99c59d392779470), 'block_js_script')))
    in app/cache/dev/classes.php at line 5126  +
  12. at Twig_Template ->displayWithErrorHandling (array('text' => object(CategorySub), 'feature' => array(object(Feature), object(Feature), object(Feature), object(Feature), object(Feature), object(Feature), object(Feature), object(Feature), object(Feature), object(Feature)), 'assetic' => array('debug' => true, 'vars' => object(ValueContainer), 'use_controller' => true), 'grid' => null, 'column' => null, 'row' => null, 'value' => null, 'submitOnChange' => null, 'withjs' => true, 'pagerfanta' => false, 'op' => 'eq', 'app' => object(AppVariable), 'languages' => array('vi' => 'Tiếng Việt', 'en' => 'Tiếng Anh'), 'base_url' => 'http://galaxy-paint.vn/'), array('fb_meta' => array(object(__TwigTemplate_c4e804bc87598944716202409f9680e329e35424e709ab7ff99c59d392779470), 'block_fb_meta'), 'title' => array(object(__TwigTemplate_c4e804bc87598944716202409f9680e329e35424e709ab7ff99c59d392779470), 'block_title'), 'body' => array(object(__TwigTemplate_c4e804bc87598944716202409f9680e329e35424e709ab7ff99c59d392779470), 'block_body'), 'breadcrumb' => array(object(__TwigTemplate_c4e804bc87598944716202409f9680e329e35424e709ab7ff99c59d392779470), 'block_breadcrumb'), 'js_script' => array(object(__TwigTemplate_c4e804bc87598944716202409f9680e329e35424e709ab7ff99c59d392779470), 'block_js_script')))
    in app/cache/dev/classes.php at line 5102  +
  13. at Twig_Template ->display (array('text' => object(CategorySub), 'feature' => array(object(Feature), object(Feature), object(Feature), object(Feature), object(Feature), object(Feature), object(Feature), object(Feature), object(Feature), object(Feature))))
    in app/cache/dev/classes.php at line 5109  +
  14. at Twig_Template ->render (array('text' => object(CategorySub), 'feature' => array(object(Feature), object(Feature), object(Feature), object(Feature), object(Feature), object(Feature), object(Feature), object(Feature), object(Feature), object(Feature))))
    in vendor/symfony/symfony/src/Symfony/Bridge/Twig/TwigEngine.php at line 50  +
  15. at TwigEngine ->render ('AppBundle:GalaxyStory:index.html.twig', array('text' => object(CategorySub), 'feature' => array(object(Feature), object(Feature), object(Feature), object(Feature), object(Feature), object(Feature), object(Feature), object(Feature), object(Feature), object(Feature))))
    in vendor/symfony/symfony/src/Symfony/Bundle/TwigBundle/TwigEngine.php at line 72  +
  16. at TwigEngine ->render ('AppBundle:GalaxyStory:index.html.twig', array('text' => object(CategorySub), 'feature' => array(object(Feature), object(Feature), object(Feature), object(Feature), object(Feature), object(Feature), object(Feature), object(Feature), object(Feature), object(Feature))))
    in vendor/symfony/symfony/src/Symfony/Bundle/TwigBundle/TwigEngine.php at line 99  +
  17. at TwigEngine ->renderResponse ('AppBundle:GalaxyStory:index.html.twig', array('text' => object(CategorySub), 'feature' => array(object(Feature), object(Feature), object(Feature), object(Feature), object(Feature), object(Feature), object(Feature), object(Feature), object(Feature), object(Feature))), object(Response))
    in vendor/symfony/symfony/src/Symfony/Bundle/FrameworkBundle/Controller/Controller.php at line 185  +
  18. at Controller ->render ('AppBundle:GalaxyStory:index.html.twig', array('text' => object(CategorySub), 'feature' => array(object(Feature), object(Feature), object(Feature), object(Feature), object(Feature), object(Feature), object(Feature), object(Feature), object(Feature), object(Feature))))
    in src/AppBundle/Controller/GalaxyStoryController.php at line 19  +
  19. at GalaxyStoryController ->indexAction (object(Request))
  20. at call_user_func_array (array(object(GalaxyStoryController), 'indexAction'), array(object(Request)))
    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/DependencyInjection/ContainerAwareHttpKernel.php at line 69  +
  23. at ContainerAwareHttpKernel ->handle (object(Request), '1', true)
    in vendor/symfony/symfony/src/Symfony/Component/HttpKernel/Kernel.php at line 185  +
  24. at Kernel ->handle (object(Request))
    in app_dev.php at line 28  +

Logs  -

1 error
  1. INFO - Matched route "amz_frontend_galaxy_story".
  2. INFO - Populated the TokenStorage with an anonymous Token.
  3. DEBUG - Notified event "kernel.request" to listener "Symfony\Component\HttpKernel\EventListener\DebugHandlersListener::configure".
  4. DEBUG - Notified event "kernel.request" to listener "Symfony\Component\HttpKernel\EventListener\ProfilerListener::onKernelRequest".
  5. DEBUG - Notified event "kernel.request" to listener "Symfony\Component\HttpKernel\EventListener\ValidateRequestListener::onKernelRequest".
  6. DEBUG - Notified event "kernel.request" to listener "Symfony\Bundle\FrameworkBundle\EventListener\SessionListener::onKernelRequest".
  7. DEBUG - Notified event "kernel.request" to listener "Symfony\Component\HttpKernel\EventListener\FragmentListener::onKernelRequest".
  8. DEBUG - Notified event "kernel.request" to listener "Symfony\Component\HttpKernel\EventListener\RouterListener::onKernelRequest".
  9. DEBUG - Notified event "kernel.request" to listener "Symfony\Component\HttpKernel\EventListener\LocaleListener::onKernelRequest".
  10. DEBUG - Notified event "kernel.request" to listener "Symfony\Component\HttpKernel\EventListener\TranslatorListener::onKernelRequest".
  11. DEBUG - Notified event "kernel.request" to listener "Symfony\Component\Security\Http\Firewall::onKernelRequest".
  12. DEBUG - Notified event "kernel.request" to listener "SunCat\MobileDetectBundle\EventListener\RequestResponseListener::handleRequest".
  13. DEBUG - Notified event "kernel.request" to listener "Symfony\Bundle\AsseticBundle\EventListener\RequestListener::onKernelRequest".
  14. DEBUG - Notified event "kernel.request" to listener "Knp\Bundle\PaginatorBundle\Subscriber\SlidingPaginationSubscriber::onKernelRequest".
  15. DEBUG - Notified event "kernel.request" to listener "Stof\DoctrineExtensionsBundle\EventListener\LocaleListener::onKernelRequest".
  16. DEBUG - Notified event "kernel.request" to listener "Stof\DoctrineExtensionsBundle\EventListener\LoggerListener::onKernelRequest".
  17. DEBUG - Notified event "kernel.controller" to listener "Symfony\Bundle\FrameworkBundle\DataCollector\RouterDataCollector::onKernelController".
  18. DEBUG - Notified event "kernel.controller" to listener "Symfony\Component\HttpKernel\DataCollector\RequestDataCollector::onKernelController".
  19. DEBUG - Notified event "kernel.controller" to listener "Sensio\Bundle\FrameworkExtraBundle\EventListener\ControllerListener::onKernelController".
  20. DEBUG - Notified event "kernel.controller" to listener "Sensio\Bundle\FrameworkExtraBundle\EventListener\ParamConverterListener::onKernelController".
  21. DEBUG - Notified event "kernel.controller" to listener "Sensio\Bundle\FrameworkExtraBundle\EventListener\HttpCacheListener::onKernelController".
  22. DEBUG - Notified event "kernel.controller" to listener "Sensio\Bundle\FrameworkExtraBundle\EventListener\SecurityListener::onKernelController".
  23. DEBUG - Notified event "kernel.controller" to listener "Sensio\Bundle\FrameworkExtraBundle\EventListener\TemplateListener::onKernelController".
  24. DEBUG - SELECT a0_.seo_title AS seo_title_0, a0_.seo_keyword AS seo_keyword_1, a0_.seo_description AS seo_description_2, a0_.seo_facebook_title AS seo_facebook_title_3, a0_.seo_facebook_description AS seo_facebook_description_4, a0_.seo_facebook_thumbnail AS seo_facebook_thumbnail_5, a0_.id AS id_6, a0_.title AS title_7, a0_.slug AS slug_8, a0_.sorter AS sorter_9, a0_.thumbnail AS thumbnail_10, a0_.video AS video_11, a0_.description AS description_12, a0_.deleted AS deleted_13, a0_.is_slug AS is_slug_14, a0_.created_date AS created_date_15, a0_.updated_date AS updated_date_16, a0_.category_top_id AS category_top_id_17 FROM amz_blog_cate_sub a0_ WHERE a0_.slug LIKE 'cau-chuyen-galaxy' AND a0_.deleted = 0 GROUP BY a0_.id ORDER BY a0_.sorter ASC LIMIT 1 OFFSET 0
  25. DEBUG - SELECT a0_.seo_title AS seo_title_0, a0_.seo_keyword AS seo_keyword_1, a0_.seo_description AS seo_description_2, a0_.seo_facebook_title AS seo_facebook_title_3, a0_.seo_facebook_description AS seo_facebook_description_4, a0_.seo_facebook_thumbnail AS seo_facebook_thumbnail_5, a0_.id AS id_6, a0_.title AS title_7, a0_.content AS content_8, a0_.code AS code_9, a0_.link AS link_10, a0_.sorter AS sorter_11, a0_.thumbnail AS thumbnail_12, a0_.background AS background_13, a0_.description AS description_14, a0_.deleted AS deleted_15, a0_.created_date AS created_date_16, a0_.updated_date AS updated_date_17 FROM amz_feature a0_ WHERE a0_.deleted = 0 GROUP BY a0_.id ORDER BY a0_.sorter ASC
  26. DEBUG - SELECT t0.id AS id_1, t0.type AS type_2, t0.title AS title_3, t0.keyword AS keyword_4, t0.description AS description_5, t0.facebook_title AS facebook_title_6, t0.facebook_description AS facebook_description_7, t0.facebook_thumbnail AS facebook_thumbnail_8, t0.link AS link_9, t0.created_at AS created_at_10, t0.updated_at AS updated_at_11 FROM amz_seo t0 WHERE t0.type = ? LIMIT 1
  27. DEBUG - SELECT t0.id AS id_1, t0.title AS title_2, t0.value AS value_3, t0.type AS type_4, t0.link AS link_5, t0.is_link AS is_link_6, t0.thumbnail AS thumbnail_7, t0.is_thumbnail AS is_thumbnail_8, t0.created_at AS created_at_9, t0.updated_at AS updated_at_10 FROM amz_config t0 WHERE t0.title = ? LIMIT 1
  28. DEBUG - SELECT a0_.seo_title AS seo_title_0, a0_.seo_keyword AS seo_keyword_1, a0_.seo_description AS seo_description_2, a0_.seo_facebook_title AS seo_facebook_title_3, a0_.seo_facebook_description AS seo_facebook_description_4, a0_.seo_facebook_thumbnail AS seo_facebook_thumbnail_5, a0_.id AS id_6, a0_.title1 AS title1_7, a0_.title2 AS title2_8, a0_.value AS value_9, a0_.link AS link_10, a0_.sorter AS sorter_11, a0_.thumbnail AS thumbnail_12, a0_.description AS description_13, a0_.deleted AS deleted_14, a0_.created_date AS created_date_15, a0_.updated_date AS updated_date_16 FROM amz_background_color a0_ WHERE a0_.deleted = 0 GROUP BY a0_.id ORDER BY a0_.sorter ASC
  29. DEBUG - SELECT t0.id AS id_1, t0.title AS title_2, t0.value AS value_3, t0.type AS type_4, t0.link AS link_5, t0.is_link AS is_link_6, t0.thumbnail AS thumbnail_7, t0.is_thumbnail AS is_thumbnail_8, t0.created_at AS created_at_9, t0.updated_at AS updated_at_10 FROM amz_config t0 WHERE t0.title = ? LIMIT 1
  30. DEBUG - SELECT a0_.seo_title AS seo_title_0, a0_.seo_keyword AS seo_keyword_1, a0_.seo_description AS seo_description_2, a0_.seo_facebook_title AS seo_facebook_title_3, a0_.seo_facebook_description AS seo_facebook_description_4, a0_.seo_facebook_thumbnail AS seo_facebook_thumbnail_5, a0_.id AS id_6, a0_.title AS title_7, a0_.url AS url_8, a0_.thumbnail AS thumbnail_9, a0_.icon AS icon_10, a0_.sort_order AS sort_order_11, a0_.excerpt AS excerpt_12, a0_.content AS content_13, a0_.featured AS featured_14, a0_.created_at AS created_at_15, a0_.updated_at AS updated_at_16 FROM amz_menu_level_1 a0_ ORDER BY a0_.sort_order ASC
  31. DEBUG - SELECT t0.id AS id_1, t0.title AS title_2, t0.created_at AS created_at_3, t0.updated_at AS updated_at_4, t0.menu1_id AS menu1_id_5, t0.menu2_id AS menu2_id_6, t0.menu3_id AS menu3_id_7 FROM amz_menu_type t0 WHERE t0.menu1_id = ?
  32. DEBUG - SELECT t0.id AS id_1, t0.title AS title_2, t0.created_at AS created_at_3, t0.updated_at AS updated_at_4, t0.menu1_id AS menu1_id_5, t0.menu2_id AS menu2_id_6, t0.menu3_id AS menu3_id_7 FROM amz_menu_type t0 WHERE t0.menu1_id = ?
  33. DEBUG - SELECT t0.id AS id_1, t0.title AS title_2, t0.created_at AS created_at_3, t0.updated_at AS updated_at_4, t0.menu1_id AS menu1_id_5, t0.menu2_id AS menu2_id_6, t0.menu3_id AS menu3_id_7 FROM amz_menu_type t0 WHERE t0.menu1_id = ?
  34. DEBUG - SELECT t0.id AS id_1, t0.title AS title_2, t0.created_at AS created_at_3, t0.updated_at AS updated_at_4, t0.menu1_id AS menu1_id_5, t0.menu2_id AS menu2_id_6, t0.menu3_id AS menu3_id_7 FROM amz_menu_type t0 WHERE t0.menu1_id = ?
  35. DEBUG - SELECT t0.id AS id_1, t0.title AS title_2, t0.created_at AS created_at_3, t0.updated_at AS updated_at_4, t0.menu1_id AS menu1_id_5, t0.menu2_id AS menu2_id_6, t0.menu3_id AS menu3_id_7 FROM amz_menu_type t0 WHERE t0.menu1_id = ?
  36. DEBUG - SELECT t0.id AS id_1, t0.title AS title_2, t0.created_at AS created_at_3, t0.updated_at AS updated_at_4, t0.menu1_id AS menu1_id_5, t0.menu2_id AS menu2_id_6, t0.menu3_id AS menu3_id_7 FROM amz_menu_type t0 WHERE t0.menu1_id = ?
  37. DEBUG - SELECT t0.id AS id_1, t0.title AS title_2, t0.created_at AS created_at_3, t0.updated_at AS updated_at_4, t0.menu1_id AS menu1_id_5, t0.menu2_id AS menu2_id_6, t0.menu3_id AS menu3_id_7 FROM amz_menu_type t0 WHERE t0.menu1_id = ?
  38. DEBUG - SELECT t0.id AS id_1, t0.title AS title_2, t0.created_at AS created_at_3, t0.updated_at AS updated_at_4, t0.menu1_id AS menu1_id_5, t0.menu2_id AS menu2_id_6, t0.menu3_id AS menu3_id_7 FROM amz_menu_type t0 WHERE t0.menu1_id = ?
  39. CRITICAL - Uncaught PHP Exception Twig_Error_Runtime: "Impossible to access an attribute ("slug") on a null variable." at /home/galaxy/web/galaxy-paint.vn/public_html/app/Resources/views/frontend/header.html.twig line 67
  40. DEBUG - Notified event "kernel.request" to listener "Symfony\Component\HttpKernel\EventListener\DebugHandlersListener::configure".
  41. DEBUG - Notified event "kernel.request" to listener "Symfony\Component\HttpKernel\EventListener\ProfilerListener::onKernelRequest".
  42. DEBUG - Notified event "kernel.request" to listener "Symfony\Component\HttpKernel\EventListener\ValidateRequestListener::onKernelRequest".
  43. DEBUG - Notified event "kernel.request" to listener "Symfony\Bundle\FrameworkBundle\EventListener\SessionListener::onKernelRequest".
  44. DEBUG - Notified event "kernel.request" to listener "Symfony\Component\HttpKernel\EventListener\FragmentListener::onKernelRequest".
  45. DEBUG - Notified event "kernel.request" to listener "Symfony\Component\HttpKernel\EventListener\RouterListener::onKernelRequest".
  46. DEBUG - Notified event "kernel.request" to listener "Symfony\Component\HttpKernel\EventListener\LocaleListener::onKernelRequest".
  47. DEBUG - Notified event "kernel.request" to listener "Symfony\Component\HttpKernel\EventListener\TranslatorListener::onKernelRequest".
  48. DEBUG - Notified event "kernel.request" to listener "Symfony\Component\Security\Http\Firewall::onKernelRequest".
  49. DEBUG - Notified event "kernel.request" to listener "SunCat\MobileDetectBundle\EventListener\RequestResponseListener::handleRequest".
  50. DEBUG - Notified event "kernel.request" to listener "Symfony\Bundle\AsseticBundle\EventListener\RequestListener::onKernelRequest".
  51. DEBUG - Notified event "kernel.request" to listener "Knp\Bundle\PaginatorBundle\Subscriber\SlidingPaginationSubscriber::onKernelRequest".
  52. DEBUG - Notified event "kernel.request" to listener "Stof\DoctrineExtensionsBundle\EventListener\LocaleListener::onKernelRequest".
  53. DEBUG - Notified event "kernel.request" to listener "Stof\DoctrineExtensionsBundle\EventListener\LoggerListener::onKernelRequest".
  54. DEBUG - Notified event "kernel.controller" to listener "Symfony\Bundle\FrameworkBundle\DataCollector\RouterDataCollector::onKernelController".
  55. DEBUG - Notified event "kernel.controller" to listener "Symfony\Component\HttpKernel\DataCollector\RequestDataCollector::onKernelController".
  56. DEBUG - Notified event "kernel.controller" to listener "Sensio\Bundle\FrameworkExtraBundle\EventListener\ControllerListener::onKernelController".
  57. DEBUG - Notified event "kernel.controller" to listener "Sensio\Bundle\FrameworkExtraBundle\EventListener\ParamConverterListener::onKernelController".
  58. DEBUG - Notified event "kernel.controller" to listener "Sensio\Bundle\FrameworkExtraBundle\EventListener\HttpCacheListener::onKernelController".
  59. DEBUG - Notified event "kernel.controller" to listener "Sensio\Bundle\FrameworkExtraBundle\EventListener\SecurityListener::onKernelController".
  60. DEBUG - Notified event "kernel.controller" to listener "Sensio\Bundle\FrameworkExtraBundle\EventListener\TemplateListener::onKernelController".

Stack Trace (Plain Text)  +