geocoderProvider googlemaps not working with 4.6

Created on 27 April 2023, over 1 year ago
Updated 2 May 2023, over 1 year ago

geocoderProvider googlemaps not working with 4.6

Error: Cannot instantiate interface Psr\Http\Client\ClientInterface in Drupal\Component\DependencyInjection\Container->createService() (line 259 of /Applications/MAMP/htdocs/acquia_cms/docroot/core/lib/Drupal/Component/DependencyInjection/Container.php).

Steps to reproduce:
- Install site with minimal profile Drupal 10.0.7

  • composer create-project acquia/drupal-recommended-project project && cd project
  • composer require drupal/geocoder:^4.6
  • drush si minimal -y && drush in geocoder_address geocoder_field geocoder_geofield -y

- Visit /admin/config/system/geocoder/geocoder-provider/ and select GoogleMaps from dropdown and click Add
- See error

Next step:

🐛 Bug report
Status

Fixed

Version

4.6

Component

Code

Created by

🇮🇳India rajeshreeputra Pune

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Production build 0.71.5 2024