-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
HashingStream incompatible with Psr\Http\Message\StreamInterface still failing #2681
Comments
Hi @martinzaleski, Once that happens, we will be able to add return types without breaking customers code. -Sam |
Hello @SamRemis, thank you for your prompt response. If I'm not missing anything, the multipart upload to S3 right now is completely broken unless you pin to the aforementioned dependency version. It took us quite some time to understand the issue and we had some bugs in production due to this. Warm regards, |
I also had the same error, to solve the error for now I rolled back some previous versions of league/flysystem-aws-s3-v3 |
here my composer.json for temporary solution:
|
I'm having the same issue. If I understand correctly, upgrading to |
Hi all, Sorry for the issues. I've submitted a PR to pin this, but our next release won't be until tomorrow (we are blocked today). |
#2684 has been merged, which should resolve this. Our latest release will contain this change. Feel free to open another issue if anything else comes up! |
|
How to solve this? |
This should not be an issue if you're using the latest version of the SDK. |
I am not using it because I am on Laravel 8, how can I solve this? (when installing with composer the version ~1.0 was installed) |
@yodaylay22 @asterism612 @stobrien89 I was facing the same issue although all of my composer packages are up-to-date.
|
How do you do this. Steps please |
Describe the bug
I'd like to re-open this issue: #2644
I strongly believe there's actually a bug that has been unresolved.
The signature of the latest versions of
psr/http-message
andaws-sdk-php
do not match and I'm still getting the same error.I fixed it pinning to version
1.0.1
ofpsr/http-message
but of course that's not the optimal solution.Expected Behavior
Not throw the exception.
Current Behavior
It runs the same exception due to incompatibility between signatures:
Reproduction Steps
It's a compilation error so no steps to reproduce. I use the latest version of
psr/http-message
Possible Solution
No response
Additional Information/Context
No response
SDK version used
3.263.15
Environment details (Version of PHP (
php -v
)? OS name and version, etc.)PHP 8.1 OS
The text was updated successfully, but these errors were encountered: