eileenmcnaughton / org.wikimedia.geocoder

Geocoder for CiviCRM
Other
6 stars 17 forks source link

Error on Guzzle #21

Closed edvanleeuwen closed 3 years ago

edvanleeuwen commented 3 years ago

If I try to access CiviCRM the first time, I get the following error:

Error: Call to undefined function GuzzleHttp\Psr7\get_message_body_summary() in GuzzleHttp\Exception\RequestException::getResponseBodySummary() (regel 127 van /home/xxx/domains/xxx.nl/public_html/sites/default/files/civicrm/ext/org.wikimedia.geocoder/vendor/guzzlehttp/guzzle/src/Exception/RequestException.php).

After refreshing, I am able to use CiviCRM and the geocoding without any problem.

eileenmcnaughton commented 3 years ago

@edvanleeuwen which version of Civi - there is a bit of a guzzle compatibility issue

eileenmcnaughton commented 3 years ago

We merged the 6.5 version of guzzle to civi core here https://github.com/civicrm/civicrm-core/pull/17551 - it looks like it will ship in 5.28 which I guess drops on Aug 5

eileenmcnaughton commented 3 years ago

I guess I could delete guzzle releases 1.4 & 1.5 & do a new 1.6 that specifies civi version 5.28 although I've had trouble deleting releases before

eileenmcnaughton commented 3 years ago

Ok - well I've tried deleting release 1.4 & updating 1.5 to only support civicrm 5.28+

edvanleeuwen commented 3 years ago

I have tried upgrading my 5.27.1 test site to 5.28-beta1 and the latest code from here. I now get Failed to geocode address, no co-ordinates saved

No errors in Drupal, Civi or webserver logs.

I'll try to resync my test site with production and give it another try.

edvanleeuwen commented 3 years ago

The version is still 1.5. Shouldn't it be 1.6?

eileenmcnaughton commented 3 years ago

Hmm maybe - I retagged 1.5 just to try to update the minimum version in the info file because that is the only difference.

That error could just be an address it can't find - I found I couldn't geocode my own address using the way I normally write it....

github-actions[bot] commented 3 years ago

Stale issue message