ernerojd / php-wsdl-creator

Automatically exported from code.google.com/p/php-wsdl-creator
GNU General Public License v3.0
0 stars 0 forks source link

Warning: Argument #1 is not an array in /php-wsdl-2.3/class.phpwsdlclient.php #25

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Default installation
2. Run /php-wsdl-2.3/demo6.php?name=you
3. Shows 2 warnings, and result from call

What is the expected output? What do you see instead?
- output without warnings
- ( ! ) Warning: array_merge() [function.array-merge]: Argument #1 is not an 
array in /php-wsdl-2.3/class.phpwsdlclient.php on line 233
Call Stack
#   Time    Memory  Function    Location
1   0.0000  50248   {main}( )   ../demo6.php:0
2   0.0015  210824  PhpWsdlClient->SayHello( )  ../demo6.php:17
[cut]

( ! ) Warning: array_merge() [function.array-merge]: Argument #1 is not an 
array in /php-wsdl-2.3/class.phpwsdlclient.php on line 234
Call Stack
#   Time    Memory  Function    Location
1   0.0000  50248   {main}( )   ../demo6.php:0
2   0.0015  210824  PhpWsdlClient->SayHello( )  ../demo6.php:17
[cut]

What version of the product are you using? On what operating system?
- 2.3 (no plugins)

Please provide any additional information below.
- can be fixed by changing default null:
 public function PhpWsdlClient($wsdlUri,$options=null,$requestHeaders=null,$clientOptions=Array()){
into Array():
 public function PhpWsdlClient($wsdlUri,$options=Array(),$requestHeaders=Array(),$clientOptions=Array()){

Original issue reported on code.google.com by jar...@gmail.com on 12 Jul 2013 at 8:55