Closed garak closed 5 years ago
Hello @garak ,
Did you install php-http/message
as specified in the README
file ?
You will need php-http/guzzle6-adapter
and php-http/message
on top of the Google Maps provider to make it work :
composer require geocoder-php/google-maps-provider php-http/guzzle6-adapter php-http/message
Thanks for your reply. I already installed all required packages
Opened an issue on https://github.com/php-http/discovery/issues/114
As explained in mentioned issue, I solved by replacing Buzz with Guzzle. Thanks anyway.
I'm getting such error when trying to instantiate
GoogleMaps
. It looks like there's no way to pass a MessageFactory to it, and sadly MessageFactoryDiscovery is failing here. I'm pretty sure that I'm doing something wrong and this is more a support request than a bug report.Here is the super crazy part: if I install dev requirement, it works. If I don't (like in production), it fails.
thanks in advance