Details
-
Bug
-
Resolution: Obsolete
-
High
-
5.4.0-beta1
-
None
-
Operating System: CentOS 7.0 x64
PHP Version: 5.4.16
Database and version: Mariadb 5.5
Browser (and version): Firefox 33
Description
Hi,
When i add a "campaign" block to eZ Demo frontpage, adding an article and an image to it, i don't see the campaign block and have the following error when accessing the frontpage
Variable "item" does not exist in eZDemoBundle:block:campaign.html.twig at line 10
and
CRITICAL - Uncaught PHP Exception Twig_Error_Runtime: "Variable "item" does not exist in "eZDemoBundle:block:campaign.html.twig" at line 10" at /var/www/html/ezpublish5/vendor/twig/twig/lib/Twig/Template.php line 332
The complete stack trace
[1] Twig_Error_Runtime: Variable "item" does not exist in "eZDemoBundle:block:campaign.html.twig" at line 10 at n/a in /var/www/html/ezpublish5/vendor/twig/twig/lib/Twig/Template.php line 332 at Twig_Template->getContext(array('valid_contentinfo_items' => array(object(ContentInfo), object(ContentInfo)), 'pageService' => object(eZBundleEzPublishLegacyBundleFieldTypePagePageService_000000001c8c4de20000000030d6f1ac), 'valid_items' => array(object(Item), object(Item)), 'block' => object(Block), 'viewbaseLayout' => 'EzPublishCoreBundle::viewbase_layout.html.twig', 'assetic' => array('debug' => true, 'vars' => object(ValueContainer), 'use_controller' => true), 'ezpublish' => object(GlobalHelper), 'app' => object(GlobalVariables), 'several' => true), 'item') in /var/www/html/ezpublish5/ezpublish/cache/dev/twig/79/68/8ed039c121c58006b8835a1f915c8956f53654bc68b78e86a5cd06d97f2d.php line 28 at __TwigTemplate_79688ed039c121c58006b8835a1f915c8956f53654bc68b78e86a5cd06d97f2d->doDisplay(array('valid_contentinfo_items' => array(object(ContentInfo), object(ContentInfo)), 'pageService' => object(eZBundleEzPublishLegacyBundleFieldTypePagePageService_000000001c8c4de20000000030d6f1ac), 'valid_items' => array(object(Item), object(Item)), 'block' => object(Block), 'viewbaseLayout' => 'EzPublishCoreBundle::viewbase_layout.html.twig', 'assetic' => array('debug' => true, 'vars' => object(ValueContainer), 'use_controller' => true), 'ezpublish' => object(GlobalHelper), 'app' => object(GlobalVariables)), array()) in /var/www/html/ezpublish5/vendor/twig/twig/lib/Twig/Template.php line 279 at Twig_Template->displayWithErrorHandling(array('valid_contentinfo_items' => array(object(ContentInfo), object(ContentInfo)), 'pageService' => object(eZBundleEzPublishLegacyBundleFieldTypePagePageService_000000001c8c4de20000000030d6f1ac), 'valid_items' => array(object(Item), object(Item)), 'block' => object(Block), 'viewbaseLayout' => 'EzPublishCoreBundle::viewbase_layout.html.twig', 'assetic' => array('debug' => true, 'vars' => object(ValueContainer), 'use_controller' => true), 'ezpublish' => object(GlobalHelper), 'app' => object(GlobalVariables)), array()) in /var/www/html/ezpublish5/vendor/twig/twig/lib/Twig/Template.php line 253 at Twig_Template->display(array('valid_contentinfo_items' => array(object(ContentInfo), object(ContentInfo)), 'pageService' => object(eZBundleEzPublishLegacyBundleFieldTypePagePageService_000000001c8c4de20000000030d6f1ac), 'valid_items' => array(object(Item), object(Item)), 'block' => object(Block), 'viewbaseLayout' => 'EzPublishCoreBundle::viewbase_layout.html.twig'), array()) in /var/www/html/ezpublish5/vendor/ezsystems/ezpublish-kernel/eZ/Bundle/EzPublishDebugBundle/Twig/DebugTemplate.php line 30 at eZ\Bundle\EzPublishDebugBundle\Twig\DebugTemplate->display(array('valid_contentinfo_items' => array(object(ContentInfo), object(ContentInfo)), 'pageService' => object(eZBundleEzPublishLegacyBundleFieldTypePagePageService_000000001c8c4de20000000030d6f1ac), 'valid_items' => array(object(Item), object(Item)), 'block' => object(Block), 'viewbaseLayout' => 'EzPublishCoreBundle::viewbase_layout.html.twig')) in /var/www/html/ezpublish5/vendor/twig/twig/lib/Twig/Template.php line 264 at Twig_Template->render(array('valid_contentinfo_items' => array(object(ContentInfo), object(ContentInfo)), 'pageService' => object(eZBundleEzPublishLegacyBundleFieldTypePagePageService_000000001c8c4de20000000030d6f1ac), 'valid_items' => array(object(Item), object(Item)), 'block' => object(Block), 'viewbaseLayout' => 'EzPublishCoreBundle::viewbase_layout.html.twig')) in /var/www/html/ezpublish5/vendor/symfony/symfony/src/Symfony/Bridge/Twig/TwigEngine.php line 50 at Symfony\Bridge\Twig\TwigEngine->render('eZDemoBundle:block:campaign.html.twig', array('valid_contentinfo_items' => array(object(ContentInfo), object(ContentInfo)), 'pageService' => object(eZBundleEzPublishLegacyBundleFieldTypePagePageService_000000001c8c4de20000000030d6f1ac), 'valid_items' => array(object(Item), object(Item)), 'block' => object(Block), 'viewbaseLayout' => 'EzPublishCoreBundle::viewbase_layout.html.twig')) in /var/www/html/ezpublish5/vendor/symfony/symfony/src/Symfony/Bundle/TwigBundle/TwigEngine.php line 74 at Symfony\Bundle\TwigBundle\TwigEngine->render('eZDemoBundle:block:campaign.html.twig', array('valid_contentinfo_items' => array(object(ContentInfo), object(ContentInfo)), 'pageService' => object(eZBundleEzPublishLegacyBundleFieldTypePagePageService_000000001c8c4de20000000030d6f1ac), 'valid_items' => array(object(Item), object(Item)), 'block' => object(Block), 'viewbaseLayout' => 'EzPublishCoreBundle::viewbase_layout.html.twig')) in /var/www/html/ezpublish5/vendor/symfony/symfony/src/Symfony/Bundle/TwigBundle/Debug/TimedTwigEngine.php line 50 at Symfony\Bundle\TwigBundle\Debug\TimedTwigEngine->render('eZDemoBundle:block:campaign.html.twig', array('valid_contentinfo_items' => array(object(ContentInfo), object(ContentInfo)), 'pageService' => object(eZBundleEzPublishLegacyBundleFieldTypePagePageService_000000001c8c4de20000000030d6f1ac), 'valid_items' => array(object(Item), object(Item)), 'block' => object(Block), 'viewbaseLayout' => 'EzPublishCoreBundle::viewbase_layout.html.twig')) in /var/www/html/ezpublish5/vendor/symfony/symfony/src/Symfony/Component/Templating/DelegatingEngine.php line 49 at Symfony\Component\Templating\DelegatingEngine->render('eZDemoBundle:block:campaign.html.twig', array('valid_contentinfo_items' => array(object(ContentInfo), object(ContentInfo)), 'pageService' => object(eZBundleEzPublishLegacyBundleFieldTypePagePageService_000000001c8c4de20000000030d6f1ac), 'valid_items' => array(object(Item), object(Item)), 'block' => object(Block), 'viewbaseLayout' => 'EzPublishCoreBundle::viewbase_layout.html.twig')) in /var/www/html/ezpublish5/vendor/ezsystems/ezpublish-kernel/eZ/Publish/Core/MVC/Symfony/View/Manager.php line 335 at eZ\Publish\Core\MVC\Symfony\View\Manager->renderContentView(object(ContentView), array('valid_contentinfo_items' => array(object(ContentInfo), object(ContentInfo)), 'pageService' => object(eZBundleEzPublishLegacyBundleFieldTypePagePageService_000000001c8c4de20000000030d6f1ac), 'valid_items' => array(object(Item), object(Item)), 'block' => object(Block))) in /var/www/html/ezpublish5/vendor/ezsystems/ezpublish-kernel/eZ/Publish/Core/MVC/Symfony/View/Manager.php line 305 at eZ\Publish\Core\MVC\Symfony\View\Manager->renderBlock(object(Block), array('valid_contentinfo_items' => array(object(ContentInfo), object(ContentInfo)), 'pageService' => object(eZBundleEzPublishLegacyBundleFieldTypePagePageService_000000001c8c4de20000000030d6f1ac), 'valid_items' => array(object(Item), object(Item)))) in /var/www/html/ezpublish5/vendor/ezsystems/ezpublish-kernel/eZ/Publish/Core/MVC/Symfony/Controller/PageController.php line 75 at eZ\Publish\Core\MVC\Symfony\Controller\PageController->viewBlock(object(Block), array('valid_contentinfo_items' => array(object(ContentInfo), object(ContentInfo))), array()) in /var/www/html/ezpublish5/vendor/ezsystems/ezpublish-kernel/eZ/Bundle/EzPublishCoreBundle/Controller/PageController.php line 28 at eZ\Bundle\EzPublishCoreBundle\Controller\PageController->viewBlock(object(Block), array(), array()) in line at call_user_func_array(array(object(PageController), 'viewBlock'), array(object(Block), array(), array())) in /var/www/html/ezpublish5/vendor/symfony/symfony/src/Symfony/Component/HttpKernel/HttpKernel.php line 145 at Symfony\Component\HttpKernel\HttpKernel->handleRaw(object(Request), '2') in /var/www/html/ezpublish5/vendor/symfony/symfony/src/Symfony/Component/HttpKernel/HttpKernel.php line 66 at Symfony\Component\HttpKernel\HttpKernel->handle(object(Request), '2', false) in /var/www/html/ezpublish5/vendor/symfony/symfony/src/Symfony/Component/HttpKernel/DependencyInjection/ContainerAwareHttpKernel.php line 64 at Symfony\Component\HttpKernel\DependencyInjection\ContainerAwareHttpKernel->handle(object(Request), '2', false) in /var/www/html/ezpublish5/vendor/symfony/symfony/src/Symfony/Component/HttpKernel/Fragment/InlineFragmentRenderer.php line 85 at Symfony\Component\HttpKernel\Fragment\InlineFragmentRenderer->render(object(ControllerReference), object(Request), array('ignore_errors' => false)) in /var/www/html/ezpublish5/vendor/ezsystems/ezpublish-kernel/eZ/Bundle/EzPublishCoreBundle/Fragment/InlineFragmentRenderer.php line 62 at eZ\Bundle\EzPublishCoreBundle\Fragment\InlineFragmentRenderer->render(object(ControllerReference), object(Request), array('ignore_errors' => false)) in /var/www/html/ezpublish5/vendor/symfony/symfony/src/Symfony/Component/HttpKernel/Fragment/FragmentHandler.php line 116 at Symfony\Component\HttpKernel\Fragment\FragmentHandler->render(object(ControllerReference), 'inline', array()) in /var/www/html/ezpublish5/vendor/symfony/symfony/src/Symfony/Bridge/Twig/Extension/HttpKernelExtension.php line 60 at Symfony\Bridge\Twig\Extension\HttpKernelExtension->renderFragment(object(ControllerReference)) in /var/www/html/ezpublish5/ezpublish/cache/dev/twig/95/d0/476d749dcbf7506b5dbe0e1a529bdb3d4bc5ed85791d8ee55998c3f511de.php line 50 at __TwigTemplate_95d0476d749dcbf7506b5dbe0e1a529bdb3d4bc5ed85791d8ee55998c3f511de->doDisplay(array('parameters' => array('pageService' => object(eZBundleEzPublishLegacyBundleFieldTypePagePageService_000000001c8c4de20000000030d6f1ac)), 'attr' => array('class' => 'ezpage-field'), 'field' => object(Field), 'content' => object(Content), 'contentInfo' => object(ContentInfo), 'versionInfo' => object(VersionInfo), 'fieldSettings' => array('defaultLayout' => ''), 'layout' => '2ZonesLayout1', 'template' => 'eZDemoBundle:zone:2zoneslayout1.html.twig', 'zones' => array(object(Zone), object(Zone)), 'zone_layout' => '2ZonesLayout1', 'pageService' => object(eZBundleEzPublishLegacyBundleFieldTypePagePageService_000000001c8c4de20000000030d6f1ac), 'assetic' => array('debug' => true, 'vars' => object(ValueContainer), 'use_controller' => true), 'ezpublish' => object(GlobalHelper), 'app' => object(GlobalVariables)), array()) in /var/www/html/ezpublish5/vendor/twig/twig/lib/Twig/Template.php line 279 at Twig_Template->displayWithErrorHandling(array('parameters' => array('pageService' => object(eZBundleEzPublishLegacyBundleFieldTypePagePageService_000000001c8c4de20000000030d6f1ac)), 'attr' => array('class' => 'ezpage-field'), 'field' => object(Field), 'content' => object(Content), 'contentInfo' => object(ContentInfo), 'versionInfo' => object(VersionInfo), 'fieldSettings' => array('defaultLayout' => ''), 'layout' => '2ZonesLayout1', 'template' => 'eZDemoBundle:zone:2zoneslayout1.html.twig', 'zones' => array(object(Zone), object(Zone)), 'zone_layout' => '2ZonesLayout1', 'pageService' => object(eZBundleEzPublishLegacyBundleFieldTypePagePageService_000000001c8c4de20000000030d6f1ac), 'assetic' => array('debug' => true, 'vars' => object(ValueContainer), 'use_controller' => true), 'ezpublish' => object(GlobalHelper), 'app' => object(GlobalVariables)), array()) in /var/www/html/ezpublish5/vendor/twig/twig/lib/Twig/Template.php line 253 at Twig_Template->display(array('parameters' => array('pageService' => object(eZBundleEzPublishLegacyBundleFieldTypePagePageService_000000001c8c4de20000000030d6f1ac)), 'attr' => array('class' => 'ezpage-field'), 'field' => object(Field), 'content' => object(Content), 'contentInfo' => object(ContentInfo), 'versionInfo' => object(VersionInfo), 'fieldSettings' => array('defaultLayout' => ''), 'layout' => '2ZonesLayout1', 'template' => 'eZDemoBundle:zone:2zoneslayout1.html.twig', 'zones' => array(object(Zone), object(Zone)), 'zone_layout' => '2ZonesLayout1', 'pageService' => object(eZBundleEzPublishLegacyBundleFieldTypePagePageService_000000001c8c4de20000000030d6f1ac)), array()) in /var/www/html/ezpublish5/vendor/ezsystems/ezpublish-kernel/eZ/Bundle/EzPublishDebugBundle/Twig/DebugTemplate.php line 30 at eZ\Bundle\EzPublishDebugBundle\Twig\DebugTemplate->display(array('parameters' => array('pageService' => object(eZBundleEzPublishLegacyBundleFieldTypePagePageService_000000001c8c4de20000000030d6f1ac)), 'attr' => array('class' => 'ezpage-field'), 'field' => object(Field), 'content' => object(Content), 'contentInfo' => object(ContentInfo), 'versionInfo' => object(VersionInfo), 'fieldSettings' => array('defaultLayout' => ''), 'layout' => '2ZonesLayout1', 'template' => 'eZDemoBundle:zone:2zoneslayout1.html.twig', 'zones' => array(object(Zone), object(Zone)), 'zone_layout' => '2ZonesLayout1', 'pageService' => object(eZBundleEzPublishLegacyBundleFieldTypePagePageService_000000001c8c4de20000000030d6f1ac))) in /var/www/html/ezpublish5/ezpublish/cache/dev/twig/75/d9/910778bcb28a804019f9faa534915b1a2a2d4774a8f3fd38e043a2b07faf.php line 1179 at __TwigTemplate_75d9910778bcb28a804019f9faa534915b1a2a2d4774a8f3fd38e043a2b07faf->block_ezpage_field(array('parameters' => array('pageService' => object(eZBundleEzPublishLegacyBundleFieldTypePagePageService_000000001c8c4de20000000030d6f1ac)), 'attr' => array('class' => 'ezpage-field'), 'field' => object(Field), 'content' => object(Content), 'contentInfo' => object(ContentInfo), 'versionInfo' => object(VersionInfo), 'fieldSettings' => array('defaultLayout' => '')), array('ezpage_field' => array(object(__TwigTemplate_75d9910778bcb28a804019f9faa534915b1a2a2d4774a8f3fd38e043a2b07faf), 'block_ezpage_field'))) in /var/www/html/ezpublish5/vendor/twig/twig/lib/Twig/Template.php line 144 at Twig_Template->displayBlock('ezpage_field', array('parameters' => array('pageService' => object(eZBundleEzPublishLegacyBundleFieldTypePagePageService_000000001c8c4de20000000030d6f1ac)), 'attr' => array('class' => 'ezpage-field'), 'field' => object(Field), 'content' => object(Content), 'contentInfo' => object(ContentInfo), 'versionInfo' => object(VersionInfo), 'fieldSettings' => array('defaultLayout' => '')), array('ezpage_field' => array(object(__TwigTemplate_75d9910778bcb28a804019f9faa534915b1a2a2d4774a8f3fd38e043a2b07faf), 'block_ezpage_field')), true) in /var/www/html/ezpublish5/vendor/twig/twig/lib/Twig/Template.php line 191 at Twig_Template->renderBlock('ezpage_field', array('parameters' => array('pageService' => object(eZBundleEzPublishLegacyBundleFieldTypePagePageService_000000001c8c4de20000000030d6f1ac)), 'attr' => array('class' => 'ezpage-field'), 'field' => object(Field), 'content' => object(Content), 'contentInfo' => object(ContentInfo), 'versionInfo' => object(VersionInfo), 'fieldSettings' => array('defaultLayout' => '')), array('ezpage_field' => array(object(__TwigTemplate_75d9910778bcb28a804019f9faa534915b1a2a2d4774a8f3fd38e043a2b07faf), 'block_ezpage_field'))) in /var/www/html/ezpublish5/vendor/ezsystems/ezpublish-kernel/eZ/Publish/Core/MVC/Symfony/Templating/Twig/Extension/ContentExtension.php line 409 at eZ\Publish\Core\MVC\Symfony\Templating\Twig\Extension\ContentExtension->renderField(object(Content), 'page') in /var/www/html/ezpublish5/ezpublish/cache/dev/twig/ce/d8/43b08eac4cad89baea1efd5505f07d2acb731d7922d776b7898acb897e3e.php line 40 at __TwigTemplate_ced843b08eac4cad89baea1efd5505f07d2acb731d7922d776b7898acb897e3e->block_content(array('noLayout' => false, 'location' => object(Location), 'content' => object(Content), 'viewbaseLayout' => 'EzPublishCoreBundle::viewbase_layout.html.twig', 'assetic' => array('debug' => true, 'vars' => object(ValueContainer), 'use_controller' => true), 'ezpublish' => object(GlobalHelper), 'app' => object(GlobalVariables), 'currentLocation' => object(Location)), array('page_head' => array(object(__TwigTemplate_78b2485a5be04418c433f7275002525927fdfb73c7af88a6d9c5b3b2c51442c7), 'block_page_head'), 'header' => array(object(__TwigTemplate_78b2485a5be04418c433f7275002525927fdfb73c7af88a6d9c5b3b2c51442c7), 'block_header'), 'topMenu' => array(object(__TwigTemplate_78b2485a5be04418c433f7275002525927fdfb73c7af88a6d9c5b3b2c51442c7), 'block_topMenu'), 'path' => array(object(__TwigTemplate_78b2485a5be04418c433f7275002525927fdfb73c7af88a6d9c5b3b2c51442c7), 'block_path'), 'breadcrumb' => array(object(__TwigTemplate_78b2485a5be04418c433f7275002525927fdfb73c7af88a6d9c5b3b2c51442c7), 'block_breadcrumb'), 'content' => array(object(__TwigTemplate_ced843b08eac4cad89baea1efd5505f07d2acb731d7922d776b7898acb897e3e), 'block_content'), 'footer' => array(object(__TwigTemplate_78b2485a5be04418c433f7275002525927fdfb73c7af88a6d9c5b3b2c51442c7), 'block_footer'), 'footerScript' => array(object(__TwigTemplate_78b2485a5be04418c433f7275002525927fdfb73c7af88a6d9c5b3b2c51442c7), 'block_footerScript'))) in /var/www/html/ezpublish5/vendor/twig/twig/lib/Twig/Template.php line 144 at Twig_Template->displayBlock('content', array('noLayout' => false, 'location' => object(Location), 'content' => object(Content), 'viewbaseLayout' => 'EzPublishCoreBundle::viewbase_layout.html.twig', 'assetic' => array('debug' => true, 'vars' => object(ValueContainer), 'use_controller' => true), 'ezpublish' => object(GlobalHelper), 'app' => object(GlobalVariables), 'currentLocation' => object(Location)), array('page_head' => array(object(__TwigTemplate_78b2485a5be04418c433f7275002525927fdfb73c7af88a6d9c5b3b2c51442c7), 'block_page_head'), 'header' => array(object(__TwigTemplate_78b2485a5be04418c433f7275002525927fdfb73c7af88a6d9c5b3b2c51442c7), 'block_header'), 'topMenu' => array(object(__TwigTemplate_78b2485a5be04418c433f7275002525927fdfb73c7af88a6d9c5b3b2c51442c7), 'block_topMenu'), 'path' => array(object(__TwigTemplate_78b2485a5be04418c433f7275002525927fdfb73c7af88a6d9c5b3b2c51442c7), 'block_path'), 'breadcrumb' => array(object(__TwigTemplate_78b2485a5be04418c433f7275002525927fdfb73c7af88a6d9c5b3b2c51442c7), 'block_breadcrumb'), 'content' => array(object(__TwigTemplate_ced843b08eac4cad89baea1efd5505f07d2acb731d7922d776b7898acb897e3e), 'block_content'), 'footer' => array(object(__TwigTemplate_78b2485a5be04418c433f7275002525927fdfb73c7af88a6d9c5b3b2c51442c7), 'block_footer'), 'footerScript' => array(object(__TwigTemplate_78b2485a5be04418c433f7275002525927fdfb73c7af88a6d9c5b3b2c51442c7), 'block_footerScript'))) in /var/www/html/ezpublish5/ezpublish/cache/dev/twig/78/b2/485a5be04418c433f7275002525927fdfb73c7af88a6d9c5b3b2c51442c7.php line 124 at __TwigTemplate_78b2485a5be04418c433f7275002525927fdfb73c7af88a6d9c5b3b2c51442c7->doDisplay(array('noLayout' => false, 'location' => object(Location), 'content' => object(Content), 'viewbaseLayout' => 'EzPublishCoreBundle::viewbase_layout.html.twig', 'assetic' => array('debug' => true, 'vars' => object(ValueContainer), 'use_controller' => true), 'ezpublish' => object(GlobalHelper), 'app' => object(GlobalVariables)), array('page_head' => array(object(__TwigTemplate_78b2485a5be04418c433f7275002525927fdfb73c7af88a6d9c5b3b2c51442c7), 'block_page_head'), 'header' => array(object(__TwigTemplate_78b2485a5be04418c433f7275002525927fdfb73c7af88a6d9c5b3b2c51442c7), 'block_header'), 'topMenu' => array(object(__TwigTemplate_78b2485a5be04418c433f7275002525927fdfb73c7af88a6d9c5b3b2c51442c7), 'block_topMenu'), 'path' => array(object(__TwigTemplate_78b2485a5be04418c433f7275002525927fdfb73c7af88a6d9c5b3b2c51442c7), 'block_path'), 'breadcrumb' => array(object(__TwigTemplate_78b2485a5be04418c433f7275002525927fdfb73c7af88a6d9c5b3b2c51442c7), 'block_breadcrumb'), 'content' => array(object(__TwigTemplate_ced843b08eac4cad89baea1efd5505f07d2acb731d7922d776b7898acb897e3e), 'block_content'), 'footer' => array(object(__TwigTemplate_78b2485a5be04418c433f7275002525927fdfb73c7af88a6d9c5b3b2c51442c7), 'block_footer'), 'footerScript' => array(object(__TwigTemplate_78b2485a5be04418c433f7275002525927fdfb73c7af88a6d9c5b3b2c51442c7), 'block_footerScript'))) in /var/www/html/ezpublish5/vendor/twig/twig/lib/Twig/Template.php line 279 at Twig_Template->displayWithErrorHandling(array('noLayout' => false, 'location' => object(Location), 'content' => object(Content), 'viewbaseLayout' => 'EzPublishCoreBundle::viewbase_layout.html.twig', 'assetic' => array('debug' => true, 'vars' => object(ValueContainer), 'use_controller' => true), 'ezpublish' => object(GlobalHelper), 'app' => object(GlobalVariables)), array('page_head' => array(object(__TwigTemplate_78b2485a5be04418c433f7275002525927fdfb73c7af88a6d9c5b3b2c51442c7), 'block_page_head'), 'header' => array(object(__TwigTemplate_78b2485a5be04418c433f7275002525927fdfb73c7af88a6d9c5b3b2c51442c7), 'block_header'), 'topMenu' => array(object(__TwigTemplate_78b2485a5be04418c433f7275002525927fdfb73c7af88a6d9c5b3b2c51442c7), 'block_topMenu'), 'path' => array(object(__TwigTemplate_78b2485a5be04418c433f7275002525927fdfb73c7af88a6d9c5b3b2c51442c7), 'block_path'), 'breadcrumb' => array(object(__TwigTemplate_78b2485a5be04418c433f7275002525927fdfb73c7af88a6d9c5b3b2c51442c7), 'block_breadcrumb'), 'content' => array(object(__TwigTemplate_ced843b08eac4cad89baea1efd5505f07d2acb731d7922d776b7898acb897e3e), 'block_content'), 'footer' => array(object(__TwigTemplate_78b2485a5be04418c433f7275002525927fdfb73c7af88a6d9c5b3b2c51442c7), 'block_footer'), 'footerScript' => array(object(__TwigTemplate_78b2485a5be04418c433f7275002525927fdfb73c7af88a6d9c5b3b2c51442c7), 'block_footerScript'))) in /var/www/html/ezpublish5/vendor/twig/twig/lib/Twig/Template.php line 253 at Twig_Template->display(array('noLayout' => false, 'location' => object(Location), 'content' => object(Content), 'viewbaseLayout' => 'EzPublishCoreBundle::viewbase_layout.html.twig', 'assetic' => array('debug' => true, 'vars' => object(ValueContainer), 'use_controller' => true), 'ezpublish' => object(GlobalHelper), 'app' => object(GlobalVariables)), array('content' => array(object(__TwigTemplate_ced843b08eac4cad89baea1efd5505f07d2acb731d7922d776b7898acb897e3e), 'block_content'))) in /var/www/html/ezpublish5/vendor/ezsystems/ezpublish-kernel/eZ/Bundle/EzPublishDebugBundle/Twig/DebugTemplate.php line 30 at eZ\Bundle\EzPublishDebugBundle\Twig\DebugTemplate->display(array('noLayout' => false, 'location' => object(Location), 'content' => object(Content), 'viewbaseLayout' => 'EzPublishCoreBundle::viewbase_layout.html.twig', 'assetic' => array('debug' => true, 'vars' => object(ValueContainer), 'use_controller' => true), 'ezpublish' => object(GlobalHelper), 'app' => object(GlobalVariables)), array('content' => array(object(__TwigTemplate_ced843b08eac4cad89baea1efd5505f07d2acb731d7922d776b7898acb897e3e), 'block_content'))) in /var/www/html/ezpublish5/ezpublish/cache/dev/twig/ce/d8/43b08eac4cad89baea1efd5505f07d2acb731d7922d776b7898acb897e3e.php line 24 at __TwigTemplate_ced843b08eac4cad89baea1efd5505f07d2acb731d7922d776b7898acb897e3e->doDisplay(array('noLayout' => false, 'location' => object(Location), 'content' => object(Content), 'viewbaseLayout' => 'EzPublishCoreBundle::viewbase_layout.html.twig', 'assetic' => array('debug' => true, 'vars' => object(ValueContainer), 'use_controller' => true), 'ezpublish' => object(GlobalHelper), 'app' => object(GlobalVariables)), array('content' => array(object(__TwigTemplate_ced843b08eac4cad89baea1efd5505f07d2acb731d7922d776b7898acb897e3e), 'block_content'))) in /var/www/html/ezpublish5/vendor/twig/twig/lib/Twig/Template.php line 279 at Twig_Template->displayWithErrorHandling(array('noLayout' => false, 'location' => object(Location), 'content' => object(Content), 'viewbaseLayout' => 'EzPublishCoreBundle::viewbase_layout.html.twig', 'assetic' => array('debug' => true, 'vars' => object(ValueContainer), 'use_controller' => true), 'ezpublish' => object(GlobalHelper), 'app' => object(GlobalVariables)), array('content' => array(object(__TwigTemplate_ced843b08eac4cad89baea1efd5505f07d2acb731d7922d776b7898acb897e3e), 'block_content'))) in /var/www/html/ezpublish5/vendor/twig/twig/lib/Twig/Template.php line 253 at Twig_Template->display(array('noLayout' => false, 'location' => object(Location), 'content' => object(Content), 'viewbaseLayout' => 'EzPublishCoreBundle::viewbase_layout.html.twig'), array()) in /var/www/html/ezpublish5/vendor/ezsystems/ezpublish-kernel/eZ/Bundle/EzPublishDebugBundle/Twig/DebugTemplate.php line 30 at eZ\Bundle\EzPublishDebugBundle\Twig\DebugTemplate->display(array('noLayout' => false, 'location' => object(Location), 'content' => object(Content), 'viewbaseLayout' => 'EzPublishCoreBundle::viewbase_layout.html.twig')) in /var/www/html/ezpublish5/vendor/twig/twig/lib/Twig/Template.php line 264 at Twig_Template->render(array('noLayout' => false, 'location' => object(Location), 'content' => object(Content), 'viewbaseLayout' => 'EzPublishCoreBundle::viewbase_layout.html.twig')) in /var/www/html/ezpublish5/vendor/symfony/symfony/src/Symfony/Bridge/Twig/TwigEngine.php line 50 at Symfony\Bridge\Twig\TwigEngine->render('eZDemoBundle:full:landing_page.html.twig', array('noLayout' => false, 'location' => object(Location), 'content' => object(Content), 'viewbaseLayout' => 'EzPublishCoreBundle::viewbase_layout.html.twig')) in /var/www/html/ezpublish5/vendor/symfony/symfony/src/Symfony/Bundle/TwigBundle/TwigEngine.php line 74 at Symfony\Bundle\TwigBundle\TwigEngine->render('eZDemoBundle:full:landing_page.html.twig', array('noLayout' => false, 'location' => object(Location), 'content' => object(Content), 'viewbaseLayout' => 'EzPublishCoreBundle::viewbase_layout.html.twig')) in /var/www/html/ezpublish5/vendor/symfony/symfony/src/Symfony/Bundle/TwigBundle/Debug/TimedTwigEngine.php line 50 at Symfony\Bundle\TwigBundle\Debug\TimedTwigEngine->render('eZDemoBundle:full:landing_page.html.twig', array('noLayout' => false, 'location' => object(Location), 'content' => object(Content), 'viewbaseLayout' => 'EzPublishCoreBundle::viewbase_layout.html.twig')) in /var/www/html/ezpublish5/vendor/symfony/symfony/src/Symfony/Component/Templating/DelegatingEngine.php line 49 at Symfony\Component\Templating\DelegatingEngine->render('eZDemoBundle:full:landing_page.html.twig', array('noLayout' => false, 'location' => object(Location), 'content' => object(Content), 'viewbaseLayout' => 'EzPublishCoreBundle::viewbase_layout.html.twig')) in /var/www/html/ezpublish5/vendor/ezsystems/ezpublish-kernel/eZ/Publish/Core/MVC/Symfony/View/Manager.php line 335 at eZ\Publish\Core\MVC\Symfony\View\Manager->renderContentView(object(ContentView), array('noLayout' => false, 'location' => object(Location), 'content' => object(Content))) in /var/www/html/ezpublish5/vendor/ezsystems/ezpublish-kernel/eZ/Publish/Core/MVC/Symfony/View/Manager.php line 278 at eZ\Publish\Core\MVC\Symfony\View\Manager->renderLocation(object(Location), 'full', array('noLayout' => false)) in /var/www/html/ezpublish5/vendor/ezsystems/ezpublish-kernel/eZ/Publish/Core/MVC/Symfony/Controller/Content/ViewController.php line 407 at eZ\Publish\Core\MVC\Symfony\Controller\Content\ViewController->renderLocation(object(Location), 'full', true, array()) in /var/www/html/ezpublish5/vendor/ezsystems/ezpublish-kernel/eZ/Publish/Core/MVC/Symfony/Controller/Content/ViewController.php line 130 at eZ\Publish\Core\MVC\Symfony\Controller\Content\ViewController->viewLocation('2', 'full', true, array()) in line at call_user_func_array(array(object(ViewController), 'viewLocation'), array('2', 'full', true, array())) in /var/www/html/ezpublish5/vendor/symfony/symfony/src/Symfony/Component/HttpKernel/HttpKernel.php line 145 at Symfony\Component\HttpKernel\HttpKernel->handleRaw(object(Request), '1') in /var/www/html/ezpublish5/vendor/symfony/symfony/src/Symfony/Component/HttpKernel/HttpKernel.php line 66 at Symfony\Component\HttpKernel\HttpKernel->handle(object(Request), '1', true) in /var/www/html/ezpublish5/vendor/symfony/symfony/src/Symfony/Component/HttpKernel/DependencyInjection/ContainerAwareHttpKernel.php line 64 at Symfony\Component\HttpKernel\DependencyInjection\ContainerAwareHttpKernel->handle(object(Request), '1', true) in /var/www/html/ezpublish5/vendor/symfony/symfony/src/Symfony/Component/HttpKernel/Kernel.php line 185 at Symfony\Component\HttpKernel\Kernel->handle(object(Request)) in /var/www/html/ezpublish5/web/index.php line 77
Steps to Reproduce
– Create an article
– Create an image
– Edit frontpage and add a "Campaign" block
– Add