ZF-2936: Fatal error: Class 'Zend_Loader_PluginLoader_Exception' not found in [...]Zend\Loader\PluginLoader.php on line 316


Reproduce: index.php:

require_once 'Zend/Form.php';
$form = new Zend_Form(array(
    'elements' => array(
        'submit' => 'submit'
$form->addElementPrefixPath('My_Decorator', './decorators/', 'decorator');

and create an empty file "./decorators/My.php".

This will trigger the error "Fatal error: Class 'Zend_Loader_PluginLoader_Exception' not found in [...]Zend\Loader\PluginLoader.php on line 316".

Suggested solution: Add the following line to Zend\Loader\PluginLoader.php at line 316.



Fixed in trunk at r8949

I'm assuming this fix is merged to the 1.5 release branch for release with 1.5.1. Please update JIRA if this is not the case.

Please evaluate and assign as necessary.