Menu

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

New
nobody
None
Medium
Defect
2013-07-12
2013-07-12
Anonymous
No

Originally created by: jar...@gmail.com

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()){

Discussion


Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.