You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When looping through $value using $k (key) and $v (value) - a NOTICE is raised if $v is an array (array to string conversion).
Not a big deal, but it's causing an issue when using your class within a development environment. I'm extending your SOAP class within an email project. Emails are sent via AJAX, and returns a JSON response. As a result of the notice, it is breaking the JSON response (on dev environment only obviously).
I'm not sure how you'd like to handle this --- but I'm proposing possibly JSON encoding $v (json_encode($v)) if it is not an integer or string value.
The text was updated successfully, but these errors were encountered:
See: https://github.com/fergusean/nusoap/blob/master/lib/class.wsdl.php#L1550
When looping through
$value
using$k
(key) and$v
(value) - a NOTICE is raised if$v
is an array (array to string conversion).Not a big deal, but it's causing an issue when using your class within a development environment. I'm extending your SOAP class within an email project. Emails are sent via AJAX, and returns a JSON response. As a result of the notice, it is breaking the JSON response (on dev environment only obviously).
I'm not sure how you'd like to handle this --- but I'm proposing possibly JSON encoding
$v
(json_encode($v)
) if it is not an integer or string value.The text was updated successfully, but these errors were encountered: