Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Undefined function when calling complete() on UploadSessionProxy class #107

Open
wcs-gilliaard opened this issue Jan 12, 2023 · 0 comments

Comments

@wcs-gilliaard
Copy link

Hello,

I discover the following bug when use this package with Guzzle 7 installed.

The code breaks because of the following lines:

$stream = $this->content instanceof Stream ?
$this->content
: Psr7\stream_for($this->content);

I am getting undefined function stream_to
This because of that function does not exists in the package the guzzle/psr7 that guzzle/http package is using.
The function is moved to another location.

More information about that can be found in this issue:
guzzle/psr7#345

You can fix the issue by installing the guzzle/psr7 version 1.9

@wcs-gilliaard wcs-gilliaard changed the title Undefined function when calling complete on UploadSessionProxy class Undefined function when calling complete() on UploadSessionProxy class Jan 12, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant