Jump to content
Sign in to follow this  

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;

Share this post

Link to post
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.

Share this post

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  


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.