ZF-5803: Class 'Zend_XmlRpc_Value_Collection' not found

Issue Type: Bug Created: 2009-02-16T13:09:40.000+0000 Last Updated: 2009-08-22T11:03:35.000+0000 Status: Resolved Fix version(s): Reporter: Francois (f.verry) Assignee: Lars Strojny (lars) Tags: - Zend_XmlRpc_Client

Related issues: Attachments:


When calling a class like Zend_XmlRpc_Value_Array before any other Zend_XmlRpc subclass (eg : Zend_XmlRpc_Client, Zend_XmlRpc), php gives fatal error : "Class 'Zend_XmlRpc_Value_Collection' not found" The problem resides in the require_once order : first is called Zend_XmlRpc_Value_Array which require_once Zend_XmlRpc_Value_Collection which require_once Zend_XmlRpc_Value which require_once Zend_XmlRpc_Value_Struct which require_once Zend_XmlRpc_Value_Collection -- well, it's already required so skip this one then Zend_XmlRpc_Value_Struct tries to extends Zend_XmlRpc_Value_Collection but the file still is not loaded, because we are deep down the including process. So the Class Zend_XmlRpc_Value_Collection cannot be found.

Possible fix would be to require mother class Zend_XmlRpc_Value before anyone else.


Posted by Lars Strojny (lars) on 2009-08-22T11:03:35.000+0000

Same issue as ZF-5989. Fixed in r17756

Have you found an issue?

See the Overview section for more details.


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

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