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
| Comment | File | Size | Author |
|---|---|---|---|
| hubspot_api_typed_config.patch | 577 bytes | yekaterina k |
Issue fork hubspot_api-3500469
Show commands
Start within a Git clone of the project using the version control instructions.
Or, if you do not have SSH keys set up on git.drupalcode.org:
Comments
Comment #2
yekaterina k commentedComment #3
yekaterina k commentedComment #7
immaculatexavier commentedComment #8
i-trokhanenkoMR#17 contains many changes that need to be moved to a separate issue. @immaculatexavier can you create a new issue please, and describe your changes?
Comment #9
i-trokhanenkoI'm going to commit the hubspot_api_typed_config.patch
Comment #11
i-trokhanenkoThanks!