with Drupal 10.2.xx - PHP Fatal error: Type of Drupal\geocoder\Form\SettingsForm::$typedConfigManager must be typed

Created on 20 October 2023, about 1 year ago
Updated 19 June 2024, 5 months ago

Problem/Motivation

with Drupal 10.2.x, I'm getting the following error -

PHP Fatal error: Type of Drupal\geocoder\Form\SettingsForm::$typedConfigManager must be ?Drupal\Core\Config\TypedConfigManagerInterface (as in class Drupal\Core\Form\ConfigFormBase) in /var/www/web/modules/contrib/geocoder/src/Form/SettingsForm.php on line 14

Steps to reproduce

with the Drupal core updated to 10.2.x - run "drush cr" and you will see the error

Proposed resolution

in Drupal\geocoder\Form\SettingsForm line 14 needs to be changed like so -

protected ?TypedConfigManagerInterface $typedConfigManager;

Remaining tasks

User interface changes

n/a

API changes

n/a

Data model changes

n/a

🐛 Bug report
Status

Fixed

Version

4.0

Component

Code

Created by

🇺🇸United States oivanov

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

Comments & Activities

Production build 0.71.5 2024