braintree/braintree_php — Issue #8: Undefined property on Braintree_Subscription:update()
Author: brettbuddin
Created: 2012-03-08 16:46:16+00:00
State: open

```
Mar 8 08:32:36 squeeze64 ool www[836]: PHP Notice: Undefined property: Braintree_Result_Successful::$_attributes in /webroot/base/branches/3/classes/_extensions/braintree/lib/Braintree/Instance.php on line 40
Mar 8 08:32:36 squeeze64 ool www[836]: PHP Warning: array_key_exists() expects parameter 2 to be array, null given in /webroot/base/branches/3/classes/_extensions/braintree/lib/Braintree/Instance.php on line 40
Mar 8 08:32:36 squeeze64 ool www[836]: PHP Notice: Undefined property on Braintree_Result_Successful: _attributes in /webroot/base/branches/3/classes/_extensions/braintree/lib/Braintree/Instance.php on line 43
Mar 8 08:32:36 squeeze64 ool www[836]: PHP Warning: array_key_exists() expects parameter 2 to be array, null given in /webroot/base/branches/3/classes/_extensions/braintree/lib/Braintree/Instance.php on line 40
Mar 8 08:32:36 squeeze64 ool www[836]: PHP Notice: Undefined property on Braintree_Result_Successful: message in /webroot/base/branches/3/classes/_extensions/braintree/lib/Braintree/Instance.php on line 43
```

Any idea what this might be? The `Braintree_Result_Successful` object doesn't appear to have an `$_attributes` instance variable.

The call made to cause this to happen was:

```php
$result = Braintree_Subscription::update($subscriptionToken, array('price' => 20));
```

`$subscriptionToken` is a valid token ID.