-
-
Notifications
You must be signed in to change notification settings - Fork 117
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 method named "of" of class "GuzzleHttp\Promise\Coroutine" #130
Comments
Looks like you need to restart php-fpm because you have a stale cache of the Coroutine.php file. Either that, or you need to delete you vendor folder and composer cache, and run |
We have immutable infrastructure and build the whole container anew for each update, including the composer dependencies. The logs from
The thing that confuses me most is that |
That indicates there is not a bug here, just that your vendor folder didn't get updated properly. Delete you composer cache directory as well as the vendor folder. The 1.4.0 zip definitely has the correct files in it: https://github.com/guzzle/promises/archive/1.4.0.zip. |
After quite some debugging we found the source for this problems. The But thank you for your fast replies & your support. |
PHP version: 7.4.10
Description
After updating to guzzle 1.4.0 there occurs an error that the mehtod
Coroutine::of()
method cannot be found.How to reproduce
Seems like an issue when using the
coroutine()
function. See stacktrace below.Additional context
This issue occured in combination with using flysystem & the aws s3 adapter of flysystem.
The error occured when
Filesystem::deleteDir()
was called.Full stacktrace:
The text was updated successfully, but these errors were encountered: