ZF-2936: Fatal error: Class 'Zend_Loader_PluginLoader_Exception' not found in [...]Zend\Loader\PluginLoader.php on line 316
Description
Reproduce: index.php:
require_once 'Zend/Form.php';
$form = new Zend_Form(array(
'elements' => array(
'submit' => 'submit'
)
));
$form->addElementPrefixPath('My_Decorator', './decorators/', 'decorator');
$form->submit->setDecorators(array('My'));
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.
Zend_Loader::loadClass('Zend_Loader_PluginLoader_Exception');
Comments
Posted by julien PAULI (doctorrock83) on 2008-03-21T03:39:56.000+0000
Fixed in trunk at r8949
Posted by Wil Sinclair (wil) on 2008-03-21T17:09:03.000+0000
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.
Posted by Wil Sinclair (wil) on 2008-03-31T16:07:17.000+0000
Please evaluate and assign as necessary.