Skip to content

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

@wcs-gilliaard

Description

@wcs-gilliaard

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions