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
Language, language version, and OS: PHP 8.1.2 on ubuntu 2.17
Issue description
When calling $result->toString() on a Braintree\Result\Error object, a PHP warning "Array to string conversion" is thrown. The issue may be caused by the presence of an array within the _attributes property, perhapsinternationalPhoneNumber=Array – which I see in the output of $result->toString().
Here is edited/redacted output of $result->toString():
General information
Issue description
When calling
$result->toString()
on aBraintree\Result\Error
object, a PHP warning "Array to string conversion" is thrown. The issue may be caused by the presence of an array within the_attributes
property, perhapsinternationalPhoneNumber=Array
– which I see in the output of$result->toString()
.Here is edited/redacted output of
$result->toString()
:Steps to Reproduce:
Braintree\Result\Error
object.$result->toString()
on theBraintree\Result\Error
object.The text was updated successfully, but these errors were encountered: