Closed scr4bble closed 2 years ago
@scr4bble - Looking at the error it seems somehow your code is still referring to old version of guzzle as chooseHandler()
method is defined in the guzzle 7.4.0
#0 \/vendor\/guzzlehttp\/guzzle\/src\/HandlerStack.php(42): GuzzleHttp\choose_handler() this error shows in HandlerStack.php file somehow choose_handler() is there where it should be chooseHandler()
In guzzle < 7 choose_handler()
method is defined
In guzzle > 7 chooseHandler()
method is defined
You can try below things :
composer update
and verify in your vendor/guzzlehttp/guzzle/src/HandlerStack.php fileLet us know if these worked for you.
Thank you for the investigation. Composer update worked. We actually still had the old version of guzzle installed -_- Cause of the problem - having multiple composer.json files in different parts of the project. Wasn't problem until now - we will need to unify that to eliminate such dependency versioning mess.
I am closing this - thank you for the help :)
Versions:
Code triggering error:
Stack trace: