ZF2-549: Zend\Log\Formatter\ErrorHandler does not handle complex events generated by error handlers

Issue Type: Bug Created: 2012-09-12T08:31:21.000+0000 Last Updated: 2012-09-15T07:26:26.000+0000 Status: Resolved Fix version(s): - Next Mini Release (04/Oct/12)

Reporter: Franck STAUFFER (franckstauffer) Assignee: Franck STAUFFER (franckstauffer) Tags: - Zend\Log

Related issues: Attachments:


When using Zend\Log\Formatter\ErrorHandler to format logs generated by an event handler, such as the ones you get when you call \Zend\Log\Logger::registerErrorHandler, a PHP Notice appears because the $event parameter is a 3-dimensional array due to the fact that the error context can be complex. I will make a pull request on github with a test case and a possible fix.


Posted by BenoƮt Durand (intiilapa) on 2012-09-15T07:26:26.000+0000

Merged in the master.

Have you found an issue?

See the Overview section for more details.


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

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