-
Notifications
You must be signed in to change notification settings - Fork 76
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
Argument #1 ($stream) must be of type resource, int given #172
Comments
I am also having this issue, any fix? thank you |
If your package version greater or equal when mine. Try to clean cache this probably due to serialization error. Or wait a while. |
Probably part of #165 |
I am facing same error
did you found any solution? I am using [guzzle-cache-middleware:4.1.2]. |
Is there any solution for this problem without clearing the existing cache? |
@whoisnobody wait for a while when cache will expire. |
I have a very long TTL for the cache and I cannot just clear it. I need to have some middle solution for reading an old cache with the new package. At the moment I hold with v3.5, but I don't want to stuck with this version forever. |
@whoisnobody check out this issue They offer some solutions |
Clearing the cache is not the solution for me. |
|
@Legion112 I consider this as a proposition of solution not a ready for use solution. I know that I can implement PSR16 cache class, and also I can implement my own middleware for guzzle and don't use this package. Is that your point? This package with this changes implemented in v4 is not intended to be safely used when upgraded. It needs extra actions (clearing cache or wait for it to expire). I didn't see any notice about that potential problem from maintainer. |
I agree with you @whoisnobody Probably this is critical issue @Kevinrob |
I'd also agree that this is a critical issue. It caused a full site outage in our production environment and led to us missing an uptime SLO. |
Does anyone want to suggest a fix in the form of a PR to this problem? |
I would propose serialization via symfony serializer But I am not sure how to handle existing issues with different versions of class |
I am facing the same issue, is there any solution or workaround so far? |
I am getting this warning.
Probably problem is part of this PR
Packages:
The text was updated successfully, but these errors were encountered: