Details
Description
When I create a project with Zend_Tool, for exemple:
$ cd /var/www
$ zf create project test
And after, in the browser I call: "http://localhost/test/public/error/error", I see 3 notices in the development enviroment:
Notice: Trying to get property of non-object in /var/www/test/application/controllers/ErrorController.php on line 10
Notice: Trying to get property of non-object in /var/www/test/application/controllers/ErrorController.php on line 33
Notice: Trying to get property of non-object in /var/www/test/application/controllers/ErrorController.php on line 36
This occurred becouse $this->_getParam('error_handler') is null when I am in "/error/error".
Before proceeding this line, must have a verification if $this->_getParam('error_handler') is instance of ArrayObject.
Attachments
Issue Links
| This issue is duplicated by: | ||||
| ZF-10252 | Error controller created by command line tool generates notices |
|
|
|
In a issue similar the this was fixed
ZF-10252with r22872.ZF-10252with r22872.