ZF-7842: PHP Fatal error: Class 'Zend_XmlRpc_Value_Nil' not found
Description
This is the error I get when passing null value to XML-RPC server:
PHP Fatal error: Class 'Zend_XmlRpc_Value_Nil' not found in ZendFramework/library/Zend/XmlRpc/Value.php on line 313
It occurs in 1.9.2 version, for some reason in Zend/XmlRpc/Value.php near 313 are added require onces for each type in switch-case, which was not the case in 1.9.1, but not before using Zend_XmlRpc_Value_Nil.
Same problem exists in method getXmlRpcValue() line #151, again switch-case with no require once statements.
Comments
Posted by Sasa Stamenkovic (umpirsky) on 2009-09-14T01:39:25.000+0000
Suggested patch to Zend/XmlRpc/Value.php (line # 313).
Posted by Satoru Yoshida (satoruyoshida) on 2009-09-15T06:17:50.000+0000
Solved in SVN r18118, 18119
Posted by Sasa Stamenkovic (umpirsky) on 2009-09-15T06:31:24.000+0000
Same problem exists in method getXmlRpcValue() line #165, again switch-case with no require once statements, I don't see that line is changed.
Error was:
Fatal error: Class 'Zend_XmlRpc_Value_Integer' not found in Zend/XmlRpc/Value.php on line 165
Posted by Satoru Yoshida (satoruyoshida) on 2009-09-15T15:31:06.000+0000
I can find the change to be related to your indication at SVN r17759 in 1.9 branch. I changed in only trunk now ( at SVN 18130).
I will be happy if you ensure with trunk's code. If it works fine, I will merge this changes into 1.9 branch.
Posted by Sasa Stamenkovic (umpirsky) on 2009-09-16T02:04:10.000+0000
Looks real nice. Didn't tried it out but thats just require ;)
Posted by Satoru Yoshida (satoruyoshida) on 2009-09-16T07:47:42.000+0000
Thank you ;-) Well, I merge it for next mini release at SVN r18139
Posted by Sasa Stamenkovic (umpirsky) on 2009-09-16T23:10:10.000+0000
Thanks :)