Home
Reading
Searching
Subscribe
Sponsors
Statistics
Posting
Contact
Spam
Lists
Links
About
Hosting
Filtering
Features Download
Marketing
Archives
FAQ
Blog
 
Gmane

From: Sebastian Kolbe <SebastianKolbe <at> gmx.net>
Subject: NuSoap and PHP 5.2
Newsgroups: gmane.comp.php.nusoap.general
Date: Wednesday 31st January 2007 16:59:49 UTC (over 12 years ago)
Hello

There might be some problems with NuSoap and PHP 5.2.  I encountered 
errors 
with a NuSoap-based web service after upgrading the apache server and PHP.
Messages only said something like:
 Object of class soapval could not be converted to string in nusoap.php on

line 5416

I found that this problem was caused by debug statements in nusoap which 
tried
to add (Strings) of objects to variables.

A solution for me was to add:
     function __toString() {
        return $this->name;
    }
in line 1991 of nusoap.php (class 'soapval').

I believe this problem exists also in other classes... Maybe someone with
more knowledge of NuSoap can verify this.

    
-- 
--
Sebastian
 
CD: 4ms