Skip to content

Warning: Undefined array key "custom" #150

@gjuric

Description

@gjuric

I am not sure this is the right venue to address the issue, but since today we started having warnings issued when adding custom attributes to a customer.

Warning: Undefined array key "custom"

The warning is issued when calling Customer::addCustomAttributes() here:

public function addCustomAttributes($custom)
{
$result = $this->getClient()
->send(
'/v1/customers/'.$this->uuid.'/attributes/custom',
'POST',
[
'custom' => func_get_args()
]
);
$this->attributes['custom'] = $result['custom'];
return $result['custom'];
}

It looks like the response doesn't receive the custom value that was set.

Problem started occurring today around 10:30 CEST.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions