Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Start Module options fail #3932

Closed
robbrandt opened this issue Oct 7, 2018 · 4 comments
Closed

Start Module options fail #3932

robbrandt opened this issue Oct 7, 2018 · 4 comments
Labels
Bug
Milestone

Comments

@robbrandt
Copy link

@robbrandt robbrandt commented Oct 7, 2018

Q A
Zikula Version 2.0.11
PHP Version 5.6.38

Expected behavior

Displays single page on home page

Actual behavior

View home page

This WAS working last time I looked a couple of days ago. I went back to add a page, and the page was broken.

Viewing the page normally (not on the home page) works fine, so it seems to be a core issue?

The error below looks familiar but I can't see from where.

Steps to reproduce

Start Controller = ZikulaContentModule:Page:display
Start function arguments = slug=intro

in modules/zikula/ContentModule/Resources/views/base.html.twig (line 6)

{# purpose of this template: general base layout #}{% block header %}
{% endblock %}
{% block appTitle %}    
{{ moduleHeader('user', '', '', false, true, false, true) }}
{% endblock %}{% block titleArea %}    <h2>
{% block title %}{% endblock %}</h2>
{% endblock %}
Stack Trace (2)
ContextErrorException
Symfony\Component\Debug\Exception\ContextErrorException:
Notice: Undefined index: _zkModule

  at system/ExtensionsModule/Controller/ExtensionsInterfaceController.php:35
  at Zikula\ExtensionsModule\Controller\ExtensionsInterfaceController->headerAction()
  at call_user_func_array(array(object(ExtensionsInterfaceController), 'headerAction'), array())
     (vendor/symfony/symfony/src/Symfony/Component/HttpKernel/HttpKernel.php:151)
  at Symfony\Component\HttpKernel\HttpKernel->handleRaw(object(Request), 2)
     (vendor/symfony/symfony/src/Symfony/Component/HttpKernel/HttpKernel.php:68)
  at Symfony\Component\HttpKernel\HttpKernel->handle(object(Request), 2, false)
     (vendor/symfony/symfony/src/Symfony/Component/HttpKernel/HttpCache/SubRequestHandler.php:98)
  at Symfony\Component\HttpKernel\HttpCache\SubRequestHandler::handle(object(HttpKernel), object(Request), 2, false)
     (vendor/symfony/symfony/src/Symfony/Component/HttpKernel/Fragment/InlineFragmentRenderer.php:80)
  at Symfony\Component\HttpKernel\Fragment\InlineFragmentRenderer->render(object(ControllerReference), object(Request), array('ignore_errors' => false))
     (vendor/symfony/symfony/src/Symfony/Component/HttpKernel/Fragment/FragmentHandler.php:87)
  at Symfony\Component\HttpKernel\Fragment\FragmentHandler->render(object(ControllerReference), 'inline', array())
     (vendor/symfony/symfony/src/Symfony/Component/HttpKernel/DependencyInjection/LazyLoadingFragmentHandler.php:77)
  at Symfony\Component\HttpKernel\DependencyInjection\LazyLoadingFragmentHandler->render(object(ControllerReference), 'inline', array())
     (system/ExtensionsModule/Twig/Extension/SimpleFunction/ModuleHeaderFunction.php:61)
  at Zikula\ExtensionsModule\Twig\Extension\SimpleFunction\ModuleHeaderFunction->display('user', '', '', false, true, false, true)
  at call_user_func_array(array(object(ModuleHeaderFunction), 'display'), array('user', '', '', false, true, false, true))
     (var/cache/prod/twig/10/10ae6826a30400f054ff1b94bf38751494223f6c28a1112a0d4bb514262a64a0.php:80)
  at __TwigTemplate_067ad1e92d33c0da4c7d345784cfe67f0de94a2c4c06238e8cd1fc32eb28a246->block_appTitle(array('routeArea' => '', 'page' => object(PageEntity), 'currentUrlObject' => object(RouteUrl), 'permissionHelper' => object(PermissionHelper), 'featureActivationHelper' => object(FeatureActivationHelper), 'app' => object(AppVariable), 'pagevars' => object(ParameterBag), 'themevars' => object(ParameterBag), 'currentUser' => object(CurrentUserApi), 'localeApi' => array('language_direction' => 'auto'), 'baseTemplate' => 'base', 'macros' => object(__TwigTemplate_92ccef5b952ab77bded33fe8ac95797a584cf9d5be690b33e3cd37e521708997)), array('header' => array(object(__TwigTemplate_067ad1e92d33c0da4c7d345784cfe67f0de94a2c4c06238e8cd1fc32eb28a246), 'block_header'), 'appTitle' => array(object(__TwigTemplate_92ccef5b952ab77bded33fe8ac95797a584cf9d5be690b33e3cd37e521708997), 'block_appTitle'), 'titleArea' => array(object(__TwigTemplate_92ccef5b952ab77bded33fe8ac95797a584cf9d5be690b33e3cd37e521708997), 'block_titleArea'), 'title' => array(object(__TwigTemplate_92ccef5b952ab77bded33fe8ac95797a584cf9d5be690b33e3cd37e521708997), 'block_title'), 'content' => array(object(__TwigTemplate_92ccef5b952ab77bded33fe8ac95797a584cf9d5be690b33e3cd37e521708997), 'block_content'), 'footer' => array(object(__TwigTemplate_92ccef5b952ab77bded33fe8ac95797a584cf9d5be690b33e3cd37e521708997), 'block_footer'), 'pageTitle' => array(object(__TwigTemplate_92ccef5b952ab77bded33fe8ac95797a584cf9d5be690b33e3cd37e521708997), 'block_pageTitle'), 'admin_page_icon' => array(object(__TwigTemplate_92ccef5b952ab77bded33fe8ac95797a584cf9d5be690b33e3cd37e521708997), 'block_admin_page_icon'), 'display_hooks' => array(object(__TwigTemplate_92ccef5b952ab77bded33fe8ac95797a584cf9d5be690b33e3cd37e521708997), 'block_display_hooks'), 'content_elements' => array(object(__TwigTemplate_92ccef5b952ab77bded33fe8ac95797a584cf9d5be690b33e3cd37e521708997), 'block_content_elements')))
     (vendor/twig/twig/lib/Twig/Template.php:215)
  at Twig_Template->displayBlock('appTitle', array('routeArea' => '', 'page' => object(PageEntity), 'currentUrlObject' => object(RouteUrl), 'permissionHelper' => object(PermissionHelper), 'featureActivationHelper' => object(FeatureActivationHelper), 'app' => object(AppVariable), 'pagevars' => object(ParameterBag), 'themevars' => object(ParameterBag), 'currentUser' => object(CurrentUserApi), 'localeApi' => array('language_direction' => 'auto'), 'baseTemplate' => 'base', 'macros' => object(__TwigTemplate_92ccef5b952ab77bded33fe8ac95797a584cf9d5be690b33e3cd37e521708997)), array('header' => array(object(__TwigTemplate_067ad1e92d33c0da4c7d345784cfe67f0de94a2c4c06238e8cd1fc32eb28a246), 'block_header'), 'appTitle' => array(object(__TwigTemplate_92ccef5b952ab77bded33fe8ac95797a584cf9d5be690b33e3cd37e521708997), 'block_appTitle'), 'titleArea' => array(object(__TwigTemplate_92ccef5b952ab77bded33fe8ac95797a584cf9d5be690b33e3cd37e521708997), 'block_titleArea'), 'title' => array(object(__TwigTemplate_92ccef5b952ab77bded33fe8ac95797a584cf9d5be690b33e3cd37e521708997), 'block_title'), 'content' => array(object(__TwigTemplate_92ccef5b952ab77bded33fe8ac95797a584cf9d5be690b33e3cd37e521708997), 'block_content'), 'footer' => array(object(__TwigTemplate_92ccef5b952ab77bded33fe8ac95797a584cf9d5be690b33e3cd37e521708997), 'block_footer'), 'pageTitle' => array(object(__TwigTemplate_92ccef5b952ab77bded33fe8ac95797a584cf9d5be690b33e3cd37e521708997), 'block_pageTitle'), 'admin_page_icon' => array(object(__TwigTemplate_92ccef5b952ab77bded33fe8ac95797a584cf9d5be690b33e3cd37e521708997), 'block_admin_page_icon'), 'display_hooks' => array(object(__TwigTemplate_92ccef5b952ab77bded33fe8ac95797a584cf9d5be690b33e3cd37e521708997), 'block_display_hooks'), 'content_elements' => array(object(__TwigTemplate_92ccef5b952ab77bded33fe8ac95797a584cf9d5be690b33e3cd37e521708997), 'block_content_elements')), false)
     (vendor/twig/twig/lib/Twig/Template.php:174)
  at Twig_Template->displayParentBlock('appTitle', array('routeArea' => '', 'page' => object(PageEntity), 'currentUrlObject' => object(RouteUrl), 'permissionHelper' => object(PermissionHelper), 'featureActivationHelper' => object(FeatureActivationHelper), 'app' => object(AppVariable), 'pagevars' => object(ParameterBag), 'themevars' => object(ParameterBag), 'currentUser' => object(CurrentUserApi), 'localeApi' => array('language_direction' => 'auto'), 'baseTemplate' => 'base', 'macros' => object(__TwigTemplate_92ccef5b952ab77bded33fe8ac95797a584cf9d5be690b33e3cd37e521708997)), array('header' => array(object(__TwigTemplate_067ad1e92d33c0da4c7d345784cfe67f0de94a2c4c06238e8cd1fc32eb28a246), 'block_header'), 'appTitle' => array(object(__TwigTemplate_92ccef5b952ab77bded33fe8ac95797a584cf9d5be690b33e3cd37e521708997), 'block_appTitle'), 'titleArea' => array(object(__TwigTemplate_92ccef5b952ab77bded33fe8ac95797a584cf9d5be690b33e3cd37e521708997), 'block_titleArea'), 'title' => array(object(__TwigTemplate_92ccef5b952ab77bded33fe8ac95797a584cf9d5be690b33e3cd37e521708997), 'block_title'), 'content' => array(object(__TwigTemplate_92ccef5b952ab77bded33fe8ac95797a584cf9d5be690b33e3cd37e521708997), 'block_content'), 'footer' => array(object(__TwigTemplate_92ccef5b952ab77bded33fe8ac95797a584cf9d5be690b33e3cd37e521708997), 'block_footer'), 'pageTitle' => array(object(__TwigTemplate_92ccef5b952ab77bded33fe8ac95797a584cf9d5be690b33e3cd37e521708997), 'block_pageTitle'), 'admin_page_icon' => array(object(__TwigTemplate_92ccef5b952ab77bded33fe8ac95797a584cf9d5be690b33e3cd37e521708997), 'block_admin_page_icon'), 'display_hooks' => array(object(__TwigTemplate_92ccef5b952ab77bded33fe8ac95797a584cf9d5be690b33e3cd37e521708997), 'block_display_hooks'), 'content_elements' => array(object(__TwigTemplate_92ccef5b952ab77bded33fe8ac95797a584cf9d5be690b33e3cd37e521708997), 'block_content_elements')))
     (var/cache/prod/twig/c3/c36dd6da05bd5d42d818a03981e34560bba5b36ecac93fb8bc3778bc5445a649.php:56)
  at __TwigTemplate_92ccef5b952ab77bded33fe8ac95797a584cf9d5be690b33e3cd37e521708997->block_appTitle(array('routeArea' => '', 'page' => object(PageEntity), 'currentUrlObject' => object(RouteUrl), 'permissionHelper' => object(PermissionHelper), 'featureActivationHelper' => object(FeatureActivationHelper), 'app' => object(AppVariable), 'pagevars' => object(ParameterBag), 'themevars' => object(ParameterBag), 'currentUser' => object(CurrentUserApi), 'localeApi' => array('language_direction' => 'auto'), 'baseTemplate' => 'base', 'macros' => object(__TwigTemplate_92ccef5b952ab77bded33fe8ac95797a584cf9d5be690b33e3cd37e521708997)), array('header' => array(object(__TwigTemplate_067ad1e92d33c0da4c7d345784cfe67f0de94a2c4c06238e8cd1fc32eb28a246), 'block_header'), 'appTitle' => array(object(__TwigTemplate_92ccef5b952ab77bded33fe8ac95797a584cf9d5be690b33e3cd37e521708997), 'block_appTitle'), 'titleArea' => array(object(__TwigTemplate_92ccef5b952ab77bded33fe8ac95797a584cf9d5be690b33e3cd37e521708997), 'block_titleArea'), 'title' => array(object(__TwigTemplate_92ccef5b952ab77bded33fe8ac95797a584cf9d5be690b33e3cd37e521708997), 'block_title'), 'content' => array(object(__TwigTemplate_92ccef5b952ab77bded33fe8ac95797a584cf9d5be690b33e3cd37e521708997), 'block_content'), 'footer' => array(object(__TwigTemplate_92ccef5b952ab77bded33fe8ac95797a584cf9d5be690b33e3cd37e521708997), 'block_footer'), 'pageTitle' => array(object(__TwigTemplate_92ccef5b952ab77bded33fe8ac95797a584cf9d5be690b33e3cd37e521708997), 'block_pageTitle'), 'admin_page_icon' => array(object(__TwigTemplate_92ccef5b952ab77bded33fe8ac95797a584cf9d5be690b33e3cd37e521708997), 'block_admin_page_icon'), 'display_hooks' => array(object(__TwigTemplate_92ccef5b952ab77bded33fe8ac95797a584cf9d5be690b33e3cd37e521708997), 'block_display_hooks'), 'content_elements' => array(object(__TwigTemplate_92ccef5b952ab77bded33fe8ac95797a584cf9d5be690b33e3cd37e521708997), 'block_content_elements')))
     (vendor/twig/twig/lib/Twig/Template.php:215)
  at Twig_Template->displayBlock('appTitle', array('routeArea' => '', 'page' => object(PageEntity), 'currentUrlObject' => object(RouteUrl), 'permissionHelper' => object(PermissionHelper), 'featureActivationHelper' => object(FeatureActivationHelper), 'app' => object(AppVariable), 'pagevars' => object(ParameterBag), 'themevars' => object(ParameterBag), 'currentUser' => object(CurrentUserApi), 'localeApi' => array('language_direction' => 'auto'), 'baseTemplate' => 'base', 'macros' => object(__TwigTemplate_92ccef5b952ab77bded33fe8ac95797a584cf9d5be690b33e3cd37e521708997)), array('header' => array(object(__TwigTemplate_067ad1e92d33c0da4c7d345784cfe67f0de94a2c4c06238e8cd1fc32eb28a246), 'block_header'), 'appTitle' => array(object(__TwigTemplate_92ccef5b952ab77bded33fe8ac95797a584cf9d5be690b33e3cd37e521708997), 'block_appTitle'), 'titleArea' => array(object(__TwigTemplate_92ccef5b952ab77bded33fe8ac95797a584cf9d5be690b33e3cd37e521708997), 'block_titleArea'), 'title' => array(object(__TwigTemplate_92ccef5b952ab77bded33fe8ac95797a584cf9d5be690b33e3cd37e521708997), 'block_title'), 'content' => array(object(__TwigTemplate_92ccef5b952ab77bded33fe8ac95797a584cf9d5be690b33e3cd37e521708997), 'block_content'), 'footer' => array(object(__TwigTemplate_92ccef5b952ab77bded33fe8ac95797a584cf9d5be690b33e3cd37e521708997), 'block_footer'), 'pageTitle' => array(object(__TwigTemplate_92ccef5b952ab77bded33fe8ac95797a584cf9d5be690b33e3cd37e521708997), 'block_pageTitle'), 'admin_page_icon' => array(object(__TwigTemplate_92ccef5b952ab77bded33fe8ac95797a584cf9d5be690b33e3cd37e521708997), 'block_admin_page_icon'), 'display_hooks' => array(object(__TwigTemplate_92ccef5b952ab77bded33fe8ac95797a584cf9d5be690b33e3cd37e521708997), 'block_display_hooks'), 'content_elements' => array(object(__TwigTemplate_92ccef5b952ab77bded33fe8ac95797a584cf9d5be690b33e3cd37e521708997), 'block_content_elements')))
     (var/cache/prod/twig/10/10ae6826a30400f054ff1b94bf38751494223f6c28a1112a0d4bb514262a64a0.php:33)
  at __TwigTemplate_067ad1e92d33c0da4c7d345784cfe67f0de94a2c4c06238e8cd1fc32eb28a246->doDisplay(array('routeArea' => '', 'page' => object(PageEntity), 'currentUrlObject' => object(RouteUrl), 'permissionHelper' => object(PermissionHelper), 'featureActivationHelper' => object(FeatureActivationHelper), 'app' => object(AppVariable), 'pagevars' => object(ParameterBag), 'themevars' => object(ParameterBag), 'currentUser' => object(CurrentUserApi), 'localeApi' => array('language_direction' => 'auto'), 'baseTemplate' => 'base', 'macros' => object(__TwigTemplate_92ccef5b952ab77bded33fe8ac95797a584cf9d5be690b33e3cd37e521708997)), array('header' => array(object(__TwigTemplate_067ad1e92d33c0da4c7d345784cfe67f0de94a2c4c06238e8cd1fc32eb28a246), 'block_header'), 'appTitle' => array(object(__TwigTemplate_92ccef5b952ab77bded33fe8ac95797a584cf9d5be690b33e3cd37e521708997), 'block_appTitle'), 'titleArea' => array(object(__TwigTemplate_92ccef5b952ab77bded33fe8ac95797a584cf9d5be690b33e3cd37e521708997), 'block_titleArea'), 'title' => array(object(__TwigTemplate_92ccef5b952ab77bded33fe8ac95797a584cf9d5be690b33e3cd37e521708997), 'block_title'), 'content' => array(object(__TwigTemplate_92ccef5b952ab77bded33fe8ac95797a584cf9d5be690b33e3cd37e521708997), 'block_content'), 'footer' => array(object(__TwigTemplate_92ccef5b952ab77bded33fe8ac95797a584cf9d5be690b33e3cd37e521708997), 'block_footer'), 'pageTitle' => array(object(__TwigTemplate_92ccef5b952ab77bded33fe8ac95797a584cf9d5be690b33e3cd37e521708997), 'block_pageTitle'), 'admin_page_icon' => array(object(__TwigTemplate_92ccef5b952ab77bded33fe8ac95797a584cf9d5be690b33e3cd37e521708997), 'block_admin_page_icon'), 'display_hooks' => array(object(__TwigTemplate_92ccef5b952ab77bded33fe8ac95797a584cf9d5be690b33e3cd37e521708997), 'block_display_hooks'), 'content_elements' => array(object(__TwigTemplate_92ccef5b952ab77bded33fe8ac95797a584cf9d5be690b33e3cd37e521708997), 'block_content_elements')))
     (vendor/twig/twig/lib/Twig/Template.php:432)
  at Twig_Template->displayWithErrorHandling(array('routeArea' => '', 'page' => object(PageEntity), 'currentUrlObject' => object(RouteUrl), 'permissionHelper' => object(PermissionHelper), 'featureActivationHelper' => object(FeatureActivationHelper), 'app' => object(AppVariable), 'pagevars' => object(ParameterBag), 'themevars' => object(ParameterBag), 'currentUser' => object(CurrentUserApi), 'localeApi' => array('language_direction' => 'auto'), 'baseTemplate' => 'base', 'macros' => object(__TwigTemplate_92ccef5b952ab77bded33fe8ac95797a584cf9d5be690b33e3cd37e521708997)), array('header' => array(object(__TwigTemplate_067ad1e92d33c0da4c7d345784cfe67f0de94a2c4c06238e8cd1fc32eb28a246), 'block_header'), 'appTitle' => array(object(__TwigTemplate_92ccef5b952ab77bded33fe8ac95797a584cf9d5be690b33e3cd37e521708997), 'block_appTitle'), 'titleArea' => array(object(__TwigTemplate_92ccef5b952ab77bded33fe8ac95797a584cf9d5be690b33e3cd37e521708997), 'block_titleArea'), 'title' => array(object(__TwigTemplate_92ccef5b952ab77bded33fe8ac95797a584cf9d5be690b33e3cd37e521708997), 'block_title'), 'content' => array(object(__TwigTemplate_92ccef5b952ab77bded33fe8ac95797a584cf9d5be690b33e3cd37e521708997), 'block_content'), 'footer' => array(object(__TwigTemplate_92ccef5b952ab77bded33fe8ac95797a584cf9d5be690b33e3cd37e521708997), 'block_footer'), 'pageTitle' => array(object(__TwigTemplate_92ccef5b952ab77bded33fe8ac95797a584cf9d5be690b33e3cd37e521708997), 'block_pageTitle'), 'admin_page_icon' => array(object(__TwigTemplate_92ccef5b952ab77bded33fe8ac95797a584cf9d5be690b33e3cd37e521708997), 'block_admin_page_icon'), 'display_hooks' => array(object(__TwigTemplate_92ccef5b952ab77bded33fe8ac95797a584cf9d5be690b33e3cd37e521708997), 'block_display_hooks'), 'content_elements' => array(object(__TwigTemplate_92ccef5b952ab77bded33fe8ac95797a584cf9d5be690b33e3cd37e521708997), 'block_content_elements')))
     (vendor/twig/twig/lib/Twig/Template.php:403)
  at Twig_Template->display(array('routeArea' => '', 'page' => object(PageEntity), 'currentUrlObject' => object(RouteUrl), 'permissionHelper' => object(PermissionHelper), 'featureActivationHelper' => object(FeatureActivationHelper), 'app' => object(AppVariable), 'pagevars' => object(ParameterBag), 'themevars' => object(ParameterBag), 'currentUser' => object(CurrentUserApi), 'localeApi' => array('language_direction' => 'auto'), 'baseTemplate' => 'base', 'macros' => object(__TwigTemplate_92ccef5b952ab77bded33fe8ac95797a584cf9d5be690b33e3cd37e521708997)), array('appTitle' => array(object(__TwigTemplate_92ccef5b952ab77bded33fe8ac95797a584cf9d5be690b33e3cd37e521708997), 'block_appTitle'), 'pageTitle' => array(object(__TwigTemplate_92ccef5b952ab77bded33fe8ac95797a584cf9d5be690b33e3cd37e521708997), 'block_pageTitle'), 'title' => array(object(__TwigTemplate_92ccef5b952ab77bded33fe8ac95797a584cf9d5be690b33e3cd37e521708997), 'block_title'), 'titleArea' => array(object(__TwigTemplate_92ccef5b952ab77bded33fe8ac95797a584cf9d5be690b33e3cd37e521708997), 'block_titleArea'), 'admin_page_icon' => array(object(__TwigTemplate_92ccef5b952ab77bded33fe8ac95797a584cf9d5be690b33e3cd37e521708997), 'block_admin_page_icon'), 'content' => array(object(__TwigTemplate_92ccef5b952ab77bded33fe8ac95797a584cf9d5be690b33e3cd37e521708997), 'block_content'), 'display_hooks' => array(object(__TwigTemplate_92ccef5b952ab77bded33fe8ac95797a584cf9d5be690b33e3cd37e521708997), 'block_display_hooks'), 'content_elements' => array(object(__TwigTemplate_92ccef5b952ab77bded33fe8ac95797a584cf9d5be690b33e3cd37e521708997), 'block_content_elements'), 'footer' => array(object(__TwigTemplate_92ccef5b952ab77bded33fe8ac95797a584cf9d5be690b33e3cd37e521708997), 'block_footer')))
     (var/cache/prod/twig/c3/c36dd6da05bd5d42d818a03981e34560bba5b36ecac93fb8bc3778bc5445a649.php:39)
  at __TwigTemplate_92ccef5b952ab77bded33fe8ac95797a584cf9d5be690b33e3cd37e521708997->doDisplay(array('routeArea' => '', 'page' => object(PageEntity), 'currentUrlObject' => object(RouteUrl), 'permissionHelper' => object(PermissionHelper), 'featureActivationHelper' => object(FeatureActivationHelper), 'app' => object(AppVariable), 'pagevars' => object(ParameterBag), 'themevars' => object(ParameterBag), 'currentUser' => object(CurrentUserApi), 'localeApi' => array('language_direction' => 'auto')), array('appTitle' => array(object(__TwigTemplate_92ccef5b952ab77bded33fe8ac95797a584cf9d5be690b33e3cd37e521708997), 'block_appTitle'), 'pageTitle' => array(object(__TwigTemplate_92ccef5b952ab77bded33fe8ac95797a584cf9d5be690b33e3cd37e521708997), 'block_pageTitle'), 'title' => array(object(__TwigTemplate_92ccef5b952ab77bded33fe8ac95797a584cf9d5be690b33e3cd37e521708997), 'block_title'), 'titleArea' => array(object(__TwigTemplate_92ccef5b952ab77bded33fe8ac95797a584cf9d5be690b33e3cd37e521708997), 'block_titleArea'), 'admin_page_icon' => array(object(__TwigTemplate_92ccef5b952ab77bded33fe8ac95797a584cf9d5be690b33e3cd37e521708997), 'block_admin_page_icon'), 'content' => array(object(__TwigTemplate_92ccef5b952ab77bded33fe8ac95797a584cf9d5be690b33e3cd37e521708997), 'block_content'), 'display_hooks' => array(object(__TwigTemplate_92ccef5b952ab77bded33fe8ac95797a584cf9d5be690b33e3cd37e521708997), 'block_display_hooks'), 'content_elements' => array(object(__TwigTemplate_92ccef5b952ab77bded33fe8ac95797a584cf9d5be690b33e3cd37e521708997), 'block_content_elements'), 'footer' => array(object(__TwigTemplate_92ccef5b952ab77bded33fe8ac95797a584cf9d5be690b33e3cd37e521708997), 'block_footer')))
     (vendor/twig/twig/lib/Twig/Template.php:432)
  at Twig_Template->displayWithErrorHandling(array('routeArea' => '', 'page' => object(PageEntity), 'currentUrlObject' => object(RouteUrl), 'permissionHelper' => object(PermissionHelper), 'featureActivationHelper' => object(FeatureActivationHelper), 'app' => object(AppVariable), 'pagevars' => object(ParameterBag), 'themevars' => object(ParameterBag), 'currentUser' => object(CurrentUserApi), 'localeApi' => array('language_direction' => 'auto')), array('appTitle' => array(object(__TwigTemplate_92ccef5b952ab77bded33fe8ac95797a584cf9d5be690b33e3cd37e521708997), 'block_appTitle'), 'pageTitle' => array(object(__TwigTemplate_92ccef5b952ab77bded33fe8ac95797a584cf9d5be690b33e3cd37e521708997), 'block_pageTitle'), 'title' => array(object(__TwigTemplate_92ccef5b952ab77bded33fe8ac95797a584cf9d5be690b33e3cd37e521708997), 'block_title'), 'titleArea' => array(object(__TwigTemplate_92ccef5b952ab77bded33fe8ac95797a584cf9d5be690b33e3cd37e521708997), 'block_titleArea'), 'admin_page_icon' => array(object(__TwigTemplate_92ccef5b952ab77bded33fe8ac95797a584cf9d5be690b33e3cd37e521708997), 'block_admin_page_icon'), 'content' => array(object(__TwigTemplate_92ccef5b952ab77bded33fe8ac95797a584cf9d5be690b33e3cd37e521708997), 'block_content'), 'display_hooks' => array(object(__TwigTemplate_92ccef5b952ab77bded33fe8ac95797a584cf9d5be690b33e3cd37e521708997), 'block_display_hooks'), 'content_elements' => array(object(__TwigTemplate_92ccef5b952ab77bded33fe8ac95797a584cf9d5be690b33e3cd37e521708997), 'block_content_elements'), 'footer' => array(object(__TwigTemplate_92ccef5b952ab77bded33fe8ac95797a584cf9d5be690b33e3cd37e521708997), 'block_footer')))
     (vendor/twig/twig/lib/Twig/Template.php:403)
  at Twig_Template->display(array('routeArea' => '', 'page' => object(PageEntity), 'currentUrlObject' => object(RouteUrl), 'permissionHelper' => object(PermissionHelper), 'featureActivationHelper' => object(FeatureActivationHelper)))
     (vendor/twig/twig/lib/Twig/Template.php:411)
  at Twig_Template->render(array('routeArea' => '', 'page' => object(PageEntity), 'currentUrlObject' => object(RouteUrl), 'permissionHelper' => object(PermissionHelper), 'featureActivationHelper' => object(FeatureActivationHelper)))
     (vendor/twig/twig/lib/Twig/Environment.php:363)
  at Twig_Environment->render('@ZikulaContentModule/Page/display.html.twig', array('routeArea' => '', 'page' => object(PageEntity), 'currentUrlObject' => object(RouteUrl), 'permissionHelper' => object(PermissionHelper), 'featureActivationHelper' => object(FeatureActivationHelper)))
     (modules/zikula/ContentModule/Helper/Base/AbstractViewHelper.php:155)
  at Zikula\ContentModule\Helper\Base\AbstractViewHelper->processTemplate('page', 'display', array('routeArea' => '', 'page' => object(PageEntity), 'currentUrlObject' => object(RouteUrl), 'permissionHelper' => object(PermissionHelper), 'featureActivationHelper' => object(FeatureActivationHelper)))
     (modules/zikula/ContentModule/Controller/Base/AbstractPageController.php:287)
  at Zikula\ContentModule\Controller\Base\AbstractPageController->displayInternal(object(Request), object(PageEntity), false)
     (modules/zikula/ContentModule/Controller/Base/AbstractPageController.php:244)
  at Zikula\ContentModule\Controller\Base\AbstractPageController->displayAction(object(Request), 'intro')
     (modules/zikula/ContentModule/Controller/PageController.php:830)
  at Zikula\ContentModule\Controller\PageController->displayAction(object(Request), 'intro')
  at call_user_func_array(array(object(PageController), 'displayAction'), array(object(Request), 'intro'))
     (vendor/symfony/symfony/src/Symfony/Component/HttpKernel/HttpKernel.php:151)
  at Symfony\Component\HttpKernel\HttpKernel->handleRaw(object(Request), 2)
     (vendor/symfony/symfony/src/Symfony/Component/HttpKernel/HttpKernel.php:68)
  at Symfony\Component\HttpKernel\HttpKernel->handle(object(Request), 2, true)
     (vendor/symfony/symfony/src/Symfony/Component/HttpKernel/Kernel.php:200)
  at Symfony\Component\HttpKernel\Kernel->handle(object(Request), 2)
     (lib/Zikula/Bundle/CoreBundle/Controller/MainController.php:69)
  at Zikula\Bundle\CoreBundle\Controller\MainController->homeAction(object(Request))
  at call_user_func_array(array(object(MainController), 'homeAction'), array(object(Request)))
     (vendor/symfony/symfony/src/Symfony/Component/HttpKernel/HttpKernel.php:151)
  at Symfony\Component\HttpKernel\HttpKernel->handleRaw(object(Request), 1)
     (vendor/symfony/symfony/src/Symfony/Component/HttpKernel/HttpKernel.php:68)
  at Symfony\Component\HttpKernel\HttpKernel->handle(object(Request), 1, true)
     (vendor/symfony/symfony/src/Symfony/Component/HttpKernel/Kernel.php:200)
  at Symfony\Component\HttpKernel\Kernel->handle(object(Request))
     (index.php:18)

[2/2] Twig_Error_Runtime
Twig_Error_Runtime:
An exception has been thrown during the rendering of a template ("Notice: Undefined index: _zkModule").

  at modules/zikula/ContentModule/Resources/views/base.html.twig:6
  at Twig_Template->displayBlock('appTitle', array('routeArea' => '', 'page' => object(PageEntity), 'currentUrlObject' => object(RouteUrl), 'permissionHelper' => object(PermissionHelper), 'featureActivationHelper' => object(FeatureActivationHelper), 'app' => object(AppVariable), 'pagevars' => object(ParameterBag), 'themevars' => object(ParameterBag), 'currentUser' => object(CurrentUserApi), 'localeApi' => array('language_direction' => 'auto'), 'baseTemplate' => 'base', 'macros' => object(__TwigTemplate_92ccef5b952ab77bded33fe8ac95797a584cf9d5be690b33e3cd37e521708997)), array('header' => array(object(__TwigTemplate_067ad1e92d33c0da4c7d345784cfe67f0de94a2c4c06238e8cd1fc32eb28a246), 'block_header'), 'appTitle' => array(object(__TwigTemplate_92ccef5b952ab77bded33fe8ac95797a584cf9d5be690b33e3cd37e521708997), 'block_appTitle'), 'titleArea' => array(object(__TwigTemplate_92ccef5b952ab77bded33fe8ac95797a584cf9d5be690b33e3cd37e521708997), 'block_titleArea'), 'title' => array(object(__TwigTemplate_92ccef5b952ab77bded33fe8ac95797a584cf9d5be690b33e3cd37e521708997), 'block_title'), 'content' => array(object(__TwigTemplate_92ccef5b952ab77bded33fe8ac95797a584cf9d5be690b33e3cd37e521708997), 'block_content'), 'footer' => array(object(__TwigTemplate_92ccef5b952ab77bded33fe8ac95797a584cf9d5be690b33e3cd37e521708997), 'block_footer'), 'pageTitle' => array(object(__TwigTemplate_92ccef5b952ab77bded33fe8ac95797a584cf9d5be690b33e3cd37e521708997), 'block_pageTitle'), 'admin_page_icon' => array(object(__TwigTemplate_92ccef5b952ab77bded33fe8ac95797a584cf9d5be690b33e3cd37e521708997), 'block_admin_page_icon'), 'display_hooks' => array(object(__TwigTemplate_92ccef5b952ab77bded33fe8ac95797a584cf9d5be690b33e3cd37e521708997), 'block_display_hooks'), 'content_elements' => array(object(__TwigTemplate_92ccef5b952ab77bded33fe8ac95797a584cf9d5be690b33e3cd37e521708997), 'block_content_elements')), false)
     (vendor/twig/twig/lib/Twig/Template.php:174)
  at Twig_Template->displayParentBlock('appTitle', array('routeArea' => '', 'page' => object(PageEntity), 'currentUrlObject' => object(RouteUrl), 'permissionHelper' => object(PermissionHelper), 'featureActivationHelper' => object(FeatureActivationHelper), 'app' => object(AppVariable), 'pagevars' => object(ParameterBag), 'themevars' => object(ParameterBag), 'currentUser' => object(CurrentUserApi), 'localeApi' => array('language_direction' => 'auto'), 'baseTemplate' => 'base', 'macros' => object(__TwigTemplate_92ccef5b952ab77bded33fe8ac95797a584cf9d5be690b33e3cd37e521708997)), array('header' => array(object(__TwigTemplate_067ad1e92d33c0da4c7d345784cfe67f0de94a2c4c06238e8cd1fc32eb28a246), 'block_header'), 'appTitle' => array(object(__TwigTemplate_92ccef5b952ab77bded33fe8ac95797a584cf9d5be690b33e3cd37e521708997), 'block_appTitle'), 'titleArea' => array(object(__TwigTemplate_92ccef5b952ab77bded33fe8ac95797a584cf9d5be690b33e3cd37e521708997), 'block_titleArea'), 'title' => array(object(__TwigTemplate_92ccef5b952ab77bded33fe8ac95797a584cf9d5be690b33e3cd37e521708997), 'block_title'), 'content' => array(object(__TwigTemplate_92ccef5b952ab77bded33fe8ac95797a584cf9d5be690b33e3cd37e521708997), 'block_content'), 'footer' => array(object(__TwigTemplate_92ccef5b952ab77bded33fe8ac95797a584cf9d5be690b33e3cd37e521708997), 'block_footer'), 'pageTitle' => array(object(__TwigTemplate_92ccef5b952ab77bded33fe8ac95797a584cf9d5be690b33e3cd37e521708997), 'block_pageTitle'), 'admin_page_icon' => array(object(__TwigTemplate_92ccef5b952ab77bded33fe8ac95797a584cf9d5be690b33e3cd37e521708997), 'block_admin_page_icon'), 'display_hooks' => array(object(__TwigTemplate_92ccef5b952ab77bded33fe8ac95797a584cf9d5be690b33e3cd37e521708997), 'block_display_hooks'), 'content_elements' => array(object(__TwigTemplate_92ccef5b952ab77bded33fe8ac95797a584cf9d5be690b33e3cd37e521708997), 'block_content_elements')))
     (var/cache/prod/twig/c3/c36dd6da05bd5d42d818a03981e34560bba5b36ecac93fb8bc3778bc5445a649.php:56)
  at __TwigTemplate_92ccef5b952ab77bded33fe8ac95797a584cf9d5be690b33e3cd37e521708997->block_appTitle(array('routeArea' => '', 'page' => object(PageEntity), 'currentUrlObject' => object(RouteUrl), 'permissionHelper' => object(PermissionHelper), 'featureActivationHelper' => object(FeatureActivationHelper), 'app' => object(AppVariable), 'pagevars' => object(ParameterBag), 'themevars' => object(ParameterBag), 'currentUser' => object(CurrentUserApi), 'localeApi' => array('language_direction' => 'auto'), 'baseTemplate' => 'base', 'macros' => object(__TwigTemplate_92ccef5b952ab77bded33fe8ac95797a584cf9d5be690b33e3cd37e521708997)), array('header' => array(object(__TwigTemplate_067ad1e92d33c0da4c7d345784cfe67f0de94a2c4c06238e8cd1fc32eb28a246), 'block_header'), 'appTitle' => array(object(__TwigTemplate_92ccef5b952ab77bded33fe8ac95797a584cf9d5be690b33e3cd37e521708997), 'block_appTitle'), 'titleArea' => array(object(__TwigTemplate_92ccef5b952ab77bded33fe8ac95797a584cf9d5be690b33e3cd37e521708997), 'block_titleArea'), 'title' => array(object(__TwigTemplate_92ccef5b952ab77bded33fe8ac95797a584cf9d5be690b33e3cd37e521708997), 'block_title'), 'content' => array(object(__TwigTemplate_92ccef5b952ab77bded33fe8ac95797a584cf9d5be690b33e3cd37e521708997), 'block_content'), 'footer' => array(object(__TwigTemplate_92ccef5b952ab77bded33fe8ac95797a584cf9d5be690b33e3cd37e521708997), 'block_footer'), 'pageTitle' => array(object(__TwigTemplate_92ccef5b952ab77bded33fe8ac95797a584cf9d5be690b33e3cd37e521708997), 'block_pageTitle'), 'admin_page_icon' => array(object(__TwigTemplate_92ccef5b952ab77bded33fe8ac95797a584cf9d5be690b33e3cd37e521708997), 'block_admin_page_icon'), 'display_hooks' => array(object(__TwigTemplate_92ccef5b952ab77bded33fe8ac95797a584cf9d5be690b33e3cd37e521708997), 'block_display_hooks'), 'content_elements' => array(object(__TwigTemplate_92ccef5b952ab77bded33fe8ac95797a584cf9d5be690b33e3cd37e521708997), 'block_content_elements')))
     (vendor/twig/twig/lib/Twig/Template.php:215)
  at Twig_Template->displayBlock('appTitle', array('routeArea' => '', 'page' => object(PageEntity), 'currentUrlObject' => object(RouteUrl), 'permissionHelper' => object(PermissionHelper), 'featureActivationHelper' => object(FeatureActivationHelper), 'app' => object(AppVariable), 'pagevars' => object(ParameterBag), 'themevars' => object(ParameterBag), 'currentUser' => object(CurrentUserApi), 'localeApi' => array('language_direction' => 'auto'), 'baseTemplate' => 'base', 'macros' => object(__TwigTemplate_92ccef5b952ab77bded33fe8ac95797a584cf9d5be690b33e3cd37e521708997)), array('header' => array(object(__TwigTemplate_067ad1e92d33c0da4c7d345784cfe67f0de94a2c4c06238e8cd1fc32eb28a246), 'block_header'), 'appTitle' => array(object(__TwigTemplate_92ccef5b952ab77bded33fe8ac95797a584cf9d5be690b33e3cd37e521708997), 'block_appTitle'), 'titleArea' => array(object(__TwigTemplate_92ccef5b952ab77bded33fe8ac95797a584cf9d5be690b33e3cd37e521708997), 'block_titleArea'), 'title' => array(object(__TwigTemplate_92ccef5b952ab77bded33fe8ac95797a584cf9d5be690b33e3cd37e521708997), 'block_title'), 'content' => array(object(__TwigTemplate_92ccef5b952ab77bded33fe8ac95797a584cf9d5be690b33e3cd37e521708997), 'block_content'), 'footer' => array(object(__TwigTemplate_92ccef5b952ab77bded33fe8ac95797a584cf9d5be690b33e3cd37e521708997), 'block_footer'), 'pageTitle' => array(object(__TwigTemplate_92ccef5b952ab77bded33fe8ac95797a584cf9d5be690b33e3cd37e521708997), 'block_pageTitle'), 'admin_page_icon' => array(object(__TwigTemplate_92ccef5b952ab77bded33fe8ac95797a584cf9d5be690b33e3cd37e521708997), 'block_admin_page_icon'), 'display_hooks' => array(object(__TwigTemplate_92ccef5b952ab77bded33fe8ac95797a584cf9d5be690b33e3cd37e521708997), 'block_display_hooks'), 'content_elements' => array(object(__TwigTemplate_92ccef5b952ab77bded33fe8ac95797a584cf9d5be690b33e3cd37e521708997), 'block_content_elements')))
     (var/cache/prod/twig/10/10ae6826a30400f054ff1b94bf38751494223f6c28a1112a0d4bb514262a64a0.php:33)
  at __TwigTemplate_067ad1e92d33c0da4c7d345784cfe67f0de94a2c4c06238e8cd1fc32eb28a246->doDisplay(array('routeArea' => '', 'page' => object(PageEntity), 'currentUrlObject' => object(RouteUrl), 'permissionHelper' => object(PermissionHelper), 'featureActivationHelper' => object(FeatureActivationHelper), 'app' => object(AppVariable), 'pagevars' => object(ParameterBag), 'themevars' => object(ParameterBag), 'currentUser' => object(CurrentUserApi), 'localeApi' => array('language_direction' => 'auto'), 'baseTemplate' => 'base', 'macros' => object(__TwigTemplate_92ccef5b952ab77bded33fe8ac95797a584cf9d5be690b33e3cd37e521708997)), array('header' => array(object(__TwigTemplate_067ad1e92d33c0da4c7d345784cfe67f0de94a2c4c06238e8cd1fc32eb28a246), 'block_header'), 'appTitle' => array(object(__TwigTemplate_92ccef5b952ab77bded33fe8ac95797a584cf9d5be690b33e3cd37e521708997), 'block_appTitle'), 'titleArea' => array(object(__TwigTemplate_92ccef5b952ab77bded33fe8ac95797a584cf9d5be690b33e3cd37e521708997), 'block_titleArea'), 'title' => array(object(__TwigTemplate_92ccef5b952ab77bded33fe8ac95797a584cf9d5be690b33e3cd37e521708997), 'block_title'), 'content' => array(object(__TwigTemplate_92ccef5b952ab77bded33fe8ac95797a584cf9d5be690b33e3cd37e521708997), 'block_content'), 'footer' => array(object(__TwigTemplate_92ccef5b952ab77bded33fe8ac95797a584cf9d5be690b33e3cd37e521708997), 'block_footer'), 'pageTitle' => array(object(__TwigTemplate_92ccef5b952ab77bded33fe8ac95797a584cf9d5be690b33e3cd37e521708997), 'block_pageTitle'), 'admin_page_icon' => array(object(__TwigTemplate_92ccef5b952ab77bded33fe8ac95797a584cf9d5be690b33e3cd37e521708997), 'block_admin_page_icon'), 'display_hooks' => array(object(__TwigTemplate_92ccef5b952ab77bded33fe8ac95797a584cf9d5be690b33e3cd37e521708997), 'block_display_hooks'), 'content_elements' => array(object(__TwigTemplate_92ccef5b952ab77bded33fe8ac95797a584cf9d5be690b33e3cd37e521708997), 'block_content_elements')))
     (vendor/twig/twig/lib/Twig/Template.php:432)
  at Twig_Template->displayWithErrorHandling(array('routeArea' => '', 'page' => object(PageEntity), 'currentUrlObject' => object(RouteUrl), 'permissionHelper' => object(PermissionHelper), 'featureActivationHelper' => object(FeatureActivationHelper), 'app' => object(AppVariable), 'pagevars' => object(ParameterBag), 'themevars' => object(ParameterBag), 'currentUser' => object(CurrentUserApi), 'localeApi' => array('language_direction' => 'auto'), 'baseTemplate' => 'base', 'macros' => object(__TwigTemplate_92ccef5b952ab77bded33fe8ac95797a584cf9d5be690b33e3cd37e521708997)), array('header' => array(object(__TwigTemplate_067ad1e92d33c0da4c7d345784cfe67f0de94a2c4c06238e8cd1fc32eb28a246), 'block_header'), 'appTitle' => array(object(__TwigTemplate_92ccef5b952ab77bded33fe8ac95797a584cf9d5be690b33e3cd37e521708997), 'block_appTitle'), 'titleArea' => array(object(__TwigTemplate_92ccef5b952ab77bded33fe8ac95797a584cf9d5be690b33e3cd37e521708997), 'block_titleArea'), 'title' => array(object(__TwigTemplate_92ccef5b952ab77bded33fe8ac95797a584cf9d5be690b33e3cd37e521708997), 'block_title'), 'content' => array(object(__TwigTemplate_92ccef5b952ab77bded33fe8ac95797a584cf9d5be690b33e3cd37e521708997), 'block_content'), 'footer' => array(object(__TwigTemplate_92ccef5b952ab77bded33fe8ac95797a584cf9d5be690b33e3cd37e521708997), 'block_footer'), 'pageTitle' => array(object(__TwigTemplate_92ccef5b952ab77bded33fe8ac95797a584cf9d5be690b33e3cd37e521708997), 'block_pageTitle'), 'admin_page_icon' => array(object(__TwigTemplate_92ccef5b952ab77bded33fe8ac95797a584cf9d5be690b33e3cd37e521708997), 'block_admin_page_icon'), 'display_hooks' => array(object(__TwigTemplate_92ccef5b952ab77bded33fe8ac95797a584cf9d5be690b33e3cd37e521708997), 'block_display_hooks'), 'content_elements' => array(object(__TwigTemplate_92ccef5b952ab77bded33fe8ac95797a584cf9d5be690b33e3cd37e521708997), 'block_content_elements')))
     (vendor/twig/twig/lib/Twig/Template.php:403)
  at Twig_Template->display(array('routeArea' => '', 'page' => object(PageEntity), 'currentUrlObject' => object(RouteUrl), 'permissionHelper' => object(PermissionHelper), 'featureActivationHelper' => object(FeatureActivationHelper), 'app' => object(AppVariable), 'pagevars' => object(ParameterBag), 'themevars' => object(ParameterBag), 'currentUser' => object(CurrentUserApi), 'localeApi' => array('language_direction' => 'auto'), 'baseTemplate' => 'base', 'macros' => object(__TwigTemplate_92ccef5b952ab77bded33fe8ac95797a584cf9d5be690b33e3cd37e521708997)), array('appTitle' => array(object(__TwigTemplate_92ccef5b952ab77bded33fe8ac95797a584cf9d5be690b33e3cd37e521708997), 'block_appTitle'), 'pageTitle' => array(object(__TwigTemplate_92ccef5b952ab77bded33fe8ac95797a584cf9d5be690b33e3cd37e521708997), 'block_pageTitle'), 'title' => array(object(__TwigTemplate_92ccef5b952ab77bded33fe8ac95797a584cf9d5be690b33e3cd37e521708997), 'block_title'), 'titleArea' => array(object(__TwigTemplate_92ccef5b952ab77bded33fe8ac95797a584cf9d5be690b33e3cd37e521708997), 'block_titleArea'), 'admin_page_icon' => array(object(__TwigTemplate_92ccef5b952ab77bded33fe8ac95797a584cf9d5be690b33e3cd37e521708997), 'block_admin_page_icon'), 'content' => array(object(__TwigTemplate_92ccef5b952ab77bded33fe8ac95797a584cf9d5be690b33e3cd37e521708997), 'block_content'), 'display_hooks' => array(object(__TwigTemplate_92ccef5b952ab77bded33fe8ac95797a584cf9d5be690b33e3cd37e521708997), 'block_display_hooks'), 'content_elements' => array(object(__TwigTemplate_92ccef5b952ab77bded33fe8ac95797a584cf9d5be690b33e3cd37e521708997), 'block_content_elements'), 'footer' => array(object(__TwigTemplate_92ccef5b952ab77bded33fe8ac95797a584cf9d5be690b33e3cd37e521708997), 'block_footer')))
     (var/cache/prod/twig/c3/c36dd6da05bd5d42d818a03981e34560bba5b36ecac93fb8bc3778bc5445a649.php:39)
  at __TwigTemplate_92ccef5b952ab77bded33fe8ac95797a584cf9d5be690b33e3cd37e521708997->doDisplay(array('routeArea' => '', 'page' => object(PageEntity), 'currentUrlObject' => object(RouteUrl), 'permissionHelper' => object(PermissionHelper), 'featureActivationHelper' => object(FeatureActivationHelper), 'app' => object(AppVariable), 'pagevars' => object(ParameterBag), 'themevars' => object(ParameterBag), 'currentUser' => object(CurrentUserApi), 'localeApi' => array('language_direction' => 'auto')), array('appTitle' => array(object(__TwigTemplate_92ccef5b952ab77bded33fe8ac95797a584cf9d5be690b33e3cd37e521708997), 'block_appTitle'), 'pageTitle' => array(object(__TwigTemplate_92ccef5b952ab77bded33fe8ac95797a584cf9d5be690b33e3cd37e521708997), 'block_pageTitle'), 'title' => array(object(__TwigTemplate_92ccef5b952ab77bded33fe8ac95797a584cf9d5be690b33e3cd37e521708997), 'block_title'), 'titleArea' => array(object(__TwigTemplate_92ccef5b952ab77bded33fe8ac95797a584cf9d5be690b33e3cd37e521708997), 'block_titleArea'), 'admin_page_icon' => array(object(__TwigTemplate_92ccef5b952ab77bded33fe8ac95797a584cf9d5be690b33e3cd37e521708997), 'block_admin_page_icon'), 'content' => array(object(__TwigTemplate_92ccef5b952ab77bded33fe8ac95797a584cf9d5be690b33e3cd37e521708997), 'block_content'), 'display_hooks' => array(object(__TwigTemplate_92ccef5b952ab77bded33fe8ac95797a584cf9d5be690b33e3cd37e521708997), 'block_display_hooks'), 'content_elements' => array(object(__TwigTemplate_92ccef5b952ab77bded33fe8ac95797a584cf9d5be690b33e3cd37e521708997), 'block_content_elements'), 'footer' => array(object(__TwigTemplate_92ccef5b952ab77bded33fe8ac95797a584cf9d5be690b33e3cd37e521708997), 'block_footer')))
     (vendor/twig/twig/lib/Twig/Template.php:432)
  at Twig_Template->displayWithErrorHandling(array('routeArea' => '', 'page' => object(PageEntity), 'currentUrlObject' => object(RouteUrl), 'permissionHelper' => object(PermissionHelper), 'featureActivationHelper' => object(FeatureActivationHelper), 'app' => object(AppVariable), 'pagevars' => object(ParameterBag), 'themevars' => object(ParameterBag), 'currentUser' => object(CurrentUserApi), 'localeApi' => array('language_direction' => 'auto')), array('appTitle' => array(object(__TwigTemplate_92ccef5b952ab77bded33fe8ac95797a584cf9d5be690b33e3cd37e521708997), 'block_appTitle'), 'pageTitle' => array(object(__TwigTemplate_92ccef5b952ab77bded33fe8ac95797a584cf9d5be690b33e3cd37e521708997), 'block_pageTitle'), 'title' => array(object(__TwigTemplate_92ccef5b952ab77bded33fe8ac95797a584cf9d5be690b33e3cd37e521708997), 'block_title'), 'titleArea' => array(object(__TwigTemplate_92ccef5b952ab77bded33fe8ac95797a584cf9d5be690b33e3cd37e521708997), 'block_titleArea'), 'admin_page_icon' => array(object(__TwigTemplate_92ccef5b952ab77bded33fe8ac95797a584cf9d5be690b33e3cd37e521708997), 'block_admin_page_icon'), 'content' => array(object(__TwigTemplate_92ccef5b952ab77bded33fe8ac95797a584cf9d5be690b33e3cd37e521708997), 'block_content'), 'display_hooks' => array(object(__TwigTemplate_92ccef5b952ab77bded33fe8ac95797a584cf9d5be690b33e3cd37e521708997), 'block_display_hooks'), 'content_elements' => array(object(__TwigTemplate_92ccef5b952ab77bded33fe8ac95797a584cf9d5be690b33e3cd37e521708997), 'block_content_elements'), 'footer' => array(object(__TwigTemplate_92ccef5b952ab77bded33fe8ac95797a584cf9d5be690b33e3cd37e521708997), 'block_footer')))
     (vendor/twig/twig/lib/Twig/Template.php:403)
  at Twig_Template->display(array('routeArea' => '', 'page' => object(PageEntity), 'currentUrlObject' => object(RouteUrl), 'permissionHelper' => object(PermissionHelper), 'featureActivationHelper' => object(FeatureActivationHelper)))
     (vendor/twig/twig/lib/Twig/Template.php:411)
  at Twig_Template->render(array('routeArea' => '', 'page' => object(PageEntity), 'currentUrlObject' => object(RouteUrl), 'permissionHelper' => object(PermissionHelper), 'featureActivationHelper' => object(FeatureActivationHelper)))
     (vendor/twig/twig/lib/Twig/Environment.php:363)
  at Twig_Environment->render('@ZikulaContentModule/Page/display.html.twig', array('routeArea' => '', 'page' => object(PageEntity), 'currentUrlObject' => object(RouteUrl), 'permissionHelper' => object(PermissionHelper), 'featureActivationHelper' => object(FeatureActivationHelper)))
     (modules/zikula/ContentModule/Helper/Base/AbstractViewHelper.php:155)
  at Zikula\ContentModule\Helper\Base\AbstractViewHelper->processTemplate('page', 'display', array('routeArea' => '', 'page' => object(PageEntity), 'currentUrlObject' => object(RouteUrl), 'permissionHelper' => object(PermissionHelper), 'featureActivationHelper' => object(FeatureActivationHelper)))
     (modules/zikula/ContentModule/Controller/Base/AbstractPageController.php:287)
  at Zikula\ContentModule\Controller\Base\AbstractPageController->displayInternal(object(Request), object(PageEntity), false)
     (modules/zikula/ContentModule/Controller/Base/AbstractPageController.php:244)
  at Zikula\ContentModule\Controller\Base\AbstractPageController->displayAction(object(Request), 'intro')
     (modules/zikula/ContentModule/Controller/PageController.php:830)
  at Zikula\ContentModule\Controller\PageController->displayAction(object(Request), 'intro')
  at call_user_func_array(array(object(PageController), 'displayAction'), array(object(Request), 'intro'))
     (vendor/symfony/symfony/src/Symfony/Component/HttpKernel/HttpKernel.php:151)
  at Symfony\Component\HttpKernel\HttpKernel->handleRaw(object(Request), 2)
     (vendor/symfony/symfony/src/Symfony/Component/HttpKernel/HttpKernel.php:68)
  at Symfony\Component\HttpKernel\HttpKernel->handle(object(Request), 2, true)
     (vendor/symfony/symfony/src/Symfony/Component/HttpKernel/Kernel.php:200)
  at Symfony\Component\HttpKernel\Kernel->handle(object(Request), 2)
     (lib/Zikula/Bundle/CoreBundle/Controller/MainController.php:69)
  at Zikula\Bundle\CoreBundle\Controller\MainController->homeAction(object(Request))
  at call_user_func_array(array(object(MainController), 'homeAction'), array(object(Request)))
     (vendor/symfony/symfony/src/Symfony/Component/HttpKernel/HttpKernel.php:151)
  at Symfony\Component\HttpKernel\HttpKernel->handleRaw(object(Request), 1)
     (vendor/symfony/symfony/src/Symfony/Component/HttpKernel/HttpKernel.php:68)
  at Symfony\Component\HttpKernel\HttpKernel->handle(object(Request), 1, true)
     (vendor/symfony/symfony/src/Symfony/Component/HttpKernel/Kernel.php:200)
  at Symfony\Component\HttpKernel\Kernel->handle(object(Request))
     (index.php:18)
@Guite Guite added this to the 2.1.0 milestone Oct 7, 2018
@Guite Guite added the Bug label Oct 7, 2018
@robbrandt

This comment has been minimized.

Copy link
Author

@robbrandt robbrandt commented Oct 10, 2018

I thought this might be solved by pasting in the display action directly as you suggested earlier, but it seems the fail the same way. Using:

            <div class="container">
                { app.request.attributes.set('_zkBundle', 'ZikulaContentModule') }}
                { app.request.attributes.set('_zkModule', 'ZikulaContentModule') }}
                {{ render(controller(
                'Zikula\\ContentModule\\Controller\\PageController::displayAction',
                {slug: 'intro'}
                )) }}
            </div>
@rallek

This comment has been minimized.

Copy link
Contributor

@rallek rallek commented Oct 22, 2018

And do not forget multilanguage environment

@Guite

This comment has been minimized.

Copy link
Member

@Guite Guite commented Oct 23, 2018

This works for me:

        {% if home|default %}
            {{ app.request.attributes.set('_zkBundle', 'ZikulaContentModule') }}
            {{ app.request.attributes.set('_zkModule', 'ZikulaContentModule') }}
            {{ render(controller(
                'Zikula\\ContentModule\\Controller\\PageController::displayAction',
                {slug: 'start'}
            )) }}
        {% else %}
            {{ maincontent|raw }}
        {% endif %}
@Guite Guite modified the milestones: 2.1.0, 3.0.0 Nov 2, 2018
@Guite

This comment has been minimized.

Copy link
Member

@Guite Guite commented Nov 5, 2018

refs #3929

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
3 participants
You can’t perform that action at this time.