Jump to content

Zend Framework Error


Recommended Posts

I am getting below error while accessing by website having PHP 5.4 version running on REHL-7 with Zend framework as 1.11.11. Can anyone help in resolving the below issue.

Error:: "Argument 1 passed to Zend_View_Helper_Navigation_HelperAbstract::setAcl() must be an instance of Zend_Acl, boolean given, called in /var/www/html/amov/library/Buza/Controller/Plugin/Navigation.php on line 48 and defined', '/var/www/html/amov/library/Zend/View/Helper/Navigation/HelperAbstract.php', 333"

Code in Navigation.php file:

    $view = $layout->getView();
Code in HelperAbstract.php file:

public function setAcl(Zend_Acl $acl = null)
    $this->_acl = $acl;
    return $this;

Link to comment
Share on other sites

That "acl" in the Zend_Registry doesn't exist. Or doesn't yet exist when that code is running.

Obligatory comment that PHP 5.4 is ridiculously old and that if you're working on something new (which I suspect is not the case) then you must upgrade. Oh wait you have a thread for that.

Link to comment
Share on other sites


This topic is now archived and is closed to further replies.

  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.