Skip to content
This repository has been archived by the owner on May 16, 2018. It is now read-only.

Error: trim() expects parameter 1 to be string, array given - library/Zend/Http/Client.php:1127 #667

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

chrisdeeming
Copy link

We have seen occasions where the location header is returned as an array, but the code assumes we'll be dealing with a string, so check for that and reset the array where applicable.

…/Zend/Http/Client.php:1127

We have seen occasions where the location header is returned as an array, but the code assumes we'll be dealing with a string, so check for that and reset the array where applicable.
@chrisdeeming chrisdeeming changed the title Error: trim() expects parameter 1 to be string, array given - library… Error: trim() expects parameter 1 to be string, array given - library/Zend/Http/Client.php:1127 Feb 1, 2016
@froschdesign
Copy link
Member

@chrisdeeming
Sorry, but I can not found a signed CLA.

Can we check this with an unit test?

@chrisdeeming
Copy link
Author

@froschdesign apologies, I haven't yet submitted a CLA. Wasn't aware of the requirement; I will send this through soon - is there an email address to send to or only post/fax?

I will commit a unit test ASAP.

@froschdesign
Copy link
Member

@chrisdeeming

is there an email address

See: "Contributor License Agreement (CLA): Submitting a CLA"

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants