title: Array to string conversion with nusoap client
body: <p>I sent request to webservice like this : </p>
  
  <pre><code> $transaction = new Transaction();
      $transaction-&gt;amount = $amount;
      $transaction-&gt;order_id = $orderId;
      $transaction-&gt;status = 0;
      $transaction-&gt;additional_data = $additionalData;
      $transaction-&gt;type = 1;
      $transaction-&gt;ip = Request::getClientIp();
      $transaction-&gt;save();
      $soap = new nusoap_client(self::$request_url);
      $fields = array(
          'terminalId' =&gt; self::$terminalId,
          'userName' =&gt; self::$username,
          'userPassword' =&gt; self::$password,
          'orderId' =&gt; $transaction-&gt;order_id,
          'amount' =&gt; $amount,
          'localDate' =&gt; date('Ymd'),
          'localTime' =&gt; date('His'),
          'additionalData' =&gt; $additionalData,
          'callBackUrl' =&gt; self::$callBackUrl,
          'payerId' =&gt; 0,
      );
      $response = $soap-&gt;call('bpPayRequest', $fields, 'http://interfaces.core.sw.bps.com/');
  </code></pre>
  
  <p>but i get exception in line <code>2125</code> in <code>nusoap.php</code> : </p>
  
  <blockquote>
    <p>Array to string conversion</p>
  </blockquote>
  
  <p>exception thrown from :</p>
  
  <pre><code>    // TODO: there is a PHP bug that can cause this to SEGV for CURLINFO_CONTENT_TYPE
      foreach(curl_getinfo($this-&gt;ch) as $k =&gt; $v){
          $err .= "$k: $v&lt;br&gt;";
      }
      $this-&gt;debug($err);
  </code></pre>