Zend Framework

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

Details

  • Type: Bug Bug
  • Status: Resolved Resolved
  • Priority: Minor Minor
  • Resolution: Fixed
  • Affects Version/s: 1.5.0
  • Fix Version/s: 1.5.1
  • Component/s: Zend_Loader
  • Labels:
    None

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');

Activity

Hide
julien PAULI added a comment -

Fixed in trunk at r8949

Show
julien PAULI added a comment - Fixed in trunk at r8949
Hide
Wil Sinclair added a comment -

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.

Show
Wil Sinclair added a comment - 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.
Hide
Wil Sinclair added a comment -

Please evaluate and assign as necessary.

Show
Wil Sinclair added a comment - Please evaluate and assign as necessary.

People

Vote (0)
Watch (0)

Dates

  • Created:
    Updated:
    Resolved: