filestack-php
filestack-php copied to clipboard
Call to undefined function GuzzleHttp\Promise\settle()
SDK version 1.1.11
File upload is failing because of an apparent issue with Guzzle promises.
Unrelated to the issue - is this package actively being maintained?
I am not sure how to use Github, really, but this worked for me. Perhaps you can commit it?
- add use GuzzleHttp\Promise;
- Swap out the GuzzleHttp/Promises\settle for Promise\Utils::settle
We're seeing this issue too. We had to upgrade Guzzle because other dependencies require the latest version, and we are now getting this error as well.
@tomgibb there is indeed a solution here. The problem is that it does not exist in this package.
@jake-lundberg this problem is in need of a fix. I've contact Filestack support and they have brushed it off.
That was November 2023.
I had to launch something sooner vs. later which led me to searching github/packagist to find a fork with the proper changes. I found one that was appropriate: https://github.com/pubpackage/filestack-php
On Wed, Jan 10, 2024 at 2:17 PM Steven Maguire @.***> wrote:
@tomgibb https://github.com/tomgibb there is indeed a solution here. The problem is that it does not exist in this package.
@jake-lundberg https://github.com/jake-lundberg this problem is in need of a fix. I've contact Filestack support and they have brushed it off. @.*** (view on web) https://github.com/filestack/filestack-php/assets/1851973/a7133e40-41f6-4c2b-bca1-6e171b5ac1d0
That was November 2023.
— Reply to this email directly, view it on GitHub https://github.com/filestack/filestack-php/issues/62#issuecomment-1885522625, or unsubscribe https://github.com/notifications/unsubscribe-auth/AD45U3KR5TB2OPDUYIWWSTLYN3SLHAVCNFSM6AAAAAA6WOTEV2VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQOBVGUZDENRSGU . You are receiving this because you were mentioned.Message ID: @.***>
-- 347.237.2778
Thanks @tomgibb - that is a useful find. Perhaps @pubpackage is open to creating a pull request against this package? Although considering there is PR #55 from 2021 still open, getting a PR reviewed a merged may also be asking too much.