Created on 13 December 2024, 5 days ago

Problem/Motivation

Installed simple_cron with composer turned it on and got Fatal Error
PHP Fatal error: Type of Drupal\simple_cron\Form\SimpleCronSettingsForm::$typedConfigManager must not be defined (as in class Drupal\Core\Form\ConfigFormBase) in /var/www/html/web/modules/contrib/simple_cron/src/Form/SimpleCronSettingsForm.php on line 17

Fatal error: Type of Drupal\simple_cron\Form\SimpleCronSettingsForm::$typedConfigManager must not be defined (as in class Drupal\Core\Form\ConfigFormBase) in /var/www/html/web/modules/contrib/simple_cron/src/Form/SimpleCronSettingsForm.php on line 17

Steps to reproduce

Proposed resolution

Adding these a propertied at the top of the class solves the problem.
protected TypedConfigManagerInterface $typedConfigManager,
protected CronJobManagerInterface $cronJobManager,

Remaining tasks

User interface changes

API changes

Data model changes

πŸ› Bug report
Status

Active

Version

1.1

Component

Code

Created by

πŸ‡ΊπŸ‡ΈUnited States trigve hagen Washington DC

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