Issues

ZF2-477: Multiplie navigation don't work

Issue Type: Bug Created: 2012-08-19T12:36:24.000+0000 Last Updated: 2012-10-08T20:14:56.000+0000 Status: Closed Fix version(s): Reporter: Vitalii (duken) (duken) Assignee: Frank Br├╝ckner (frosch) Tags: - Zend\Navigation

  • navigation

Related issues: Attachments:

Description

When in layout we add several navigation rendering get fatal error:

<pre class="highlight">
echo $this->navigation('navigation');
$helper = $this->navigation()->findHelper('menu');
$helper->setContainer('secondnavigation'); // <- Fatal error: Call to a member function get() on a non-object in /usr/share/zf2/library/Zend/View/Helper/Navigation/AbstractHelper.php on line 222

echo $this->navigation('secondnavigation'); // <- render old 'navigation'.

for testing enough one navigation as this line also do error:

<pre class="highlight">
    $helper->setContainer('navigation');

Comments

Posted by Ralph Schindler (ralph) on 2012-10-08T20:14:56.000+0000

This issue has been closed on Jira and moved to GitHub for issue tracking. To continue following the resolution of this issues, please visit: https://github.com/zendframework/zf2/issues/2531

Have you found an issue?

See the Overview section for more details.

Copyright

© 2006-2016 by Zend, a Rogue Wave Company. Made with by awesome contributors.

This website is built using zend-expressive and it runs on PHP 7.

Contacts