ZF-8682: Error Handler Plugin + Layout Exceptions = Plugin broker bug
Steps to reproduce
1 - user an error hander and use an error controller 2 - have an exception thrown during dispatching (unknown controller) 3 - error handler controller renders its message in the layout 4 - have a second exception get thrown ( eg wrong routes applied to a url view helper in the layout it is trying to render to)
Problem: suppresses all errors & exceptions!!!
See attached patch