PHP Fatal error: Type of Drupal\hubspot_api\Form\SettingsForm::$typedConfigManager must not be defined...

Created on 17 January 2025, 7 days ago

Problem/Motivation

PHP Fatal error: Type of Drupal\hubspot_api\Form\SettingsForm::$typedConfigManager must not be defined (as in class Drupal\Core\Form\ConfigFormBase) in /htdocs/modules/contrib/hubspot_api/src/Form/SettingsForm.php on line 21

Steps to reproduce

Update core to 10.4.*

Proposed resolution

remove protected from line 25
protected TypedConfigManagerInterface $typedConfigManager,

and replace by
TypedConfigManagerInterface $typedConfigManager,

in Drupal\hubspot_api\Form\SettingsForm

๐Ÿ› Bug report
Status

Active

Version

3.0

Component

Code

Created by

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