ArgumentCountError:

Created on 10 March 2025, about 1 month ago

Installed: composer require 'drupal/styled_google_map:^2.6'

Created the map field in a block.

The map comes up as: This page can't load Google Maps correctly. With, "For development purposes only"
Ok, so I think I am missing the Google map Key. (The map is shown with the error messages on top)

Ok, so i thought the API key is missing.

So i click on "Configure" on the Style Google Map module and the page comes up: The website encountered an unexpected error. Try again later.

So I go back to the log and it has:

ArgumentCountError: Too few arguments to function Drupal\Core\Form\ConfigFormBase::__construct(), 1 passed in /home/nagle/public_html/modules/contrib/styled_google_map/src/Form/StyledGoogleMapSettingsForm.php on line 33 and exactly 2 expected in Drupal\Core\Form\ConfigFormBase->__construct() (line 44 of /home/nagle/public_html/core/lib/Drupal/Core/Form/ConfigFormBase.php).

updated in composer
ran database update

Doesn't look like this module works.
What am I missing?
Thanks

πŸ› Bug report
Status

Active

Version

2.6

Component

Code

Created by

πŸ‡ΊπŸ‡ΈUnited States darnold

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

Merge Requests

Comments & Activities

Production build 0.71.5 2024