PEAR is discontinued

This is a static archive preserving historical releases and metadata. No new packages or updates will be published. For updates to existing packages, or to publish new packages, please use Composer and Packagist.

Home » Web Services » SOAP » Bug #2822

Fatal Error in SOAP/Client.php

Details

Submitted2004-11-24 16:08 UTC
Fromrabe at p-i-n dot com
Assignedchagenbu
StatusClosed
PackageSOAP
PHP Version5.0.2
OSFreeBSD, maybe any
Roadmaps(Not assigned)

Comments

[2004-11-24 16:08 UTC] rabe at p-i-n dot com

Description:
------------
SOAP/Client.php seems to be incompatible to php5.

[error] PHP Fatal error: Method SOAP_Client::__call() must take exactly 2 arguments in /usr/local/share/pear/SOAP/Client.php on line 336

Ports (Packages) installed:

pear-SOAP-0.8 SOAP Client/Server for PHP
php5-pear-5.0.2 PEAR framework for PHP
php5-5.0.2 PHP Scripting Language (Apache Module and CLI)

and many more pear-* and php5-*

Reproduce code:
---------------
require_once "SOAP/Client.php";

Expected result:
----------------
no error

Actual result:
--------------
PHP Fatal error: Method SOAP_Client::__call() must take exactly 2 arguments in /usr/local/share/pear/SOAP/Client.php on line 336

[2004-11-24 16:10 UTC] rabe at p-i-n dot com

Thread in the php.de-Board (in german):
http://www.php.de/viewtopic.php?t=27166

[2004-11-28 22:45 UTC] jfxbenrs at hotmail dot com

There is a new version of Client.php in CVS that fixes this bug, see bug report: http://pear.php.net/bugs/bug.php?id=2466

Though I recall trying this and I ran into another bug somewhere else and I never did get PEAR::SOAP working properly on my system...

[2004-11-29 19:55 UTC] administrator at megastarfinancial dot com

This is happening on my Windows installation as well. Apache 2 with PHP 5.0.2.