Problem/Motivation

I'm getting this error after updating domain_site_settings:

Fatal error: Declaration of Drupal\dsl\Form\DslDomainConfigSettingsForm::buildForm(array $form, Drupal\Core\Form\FormStateInterface $form_state) must be compatible with Drupal\domain_site_settings\Form\DomainConfigSettingsForm::buildForm(array $form, Drupal\Core\Form\FormStateInterface $form_state, ?Drupal\domain\DomainInterface $domain = NULL) in /var/www/html/docroot/modules/contrib/dsl/src/Form/DslDomainConfigSettingsForm.php on line 17

Steps to reproduce

Update domain_site_settings, then clear the cache, you should be getting the error.

Proposed resolution

Fix this in the module.

Remaining tasks

User interface changes

API changes

Data model changes

Comments

guardiola86 created an issue. See original summary.

guardiola86’s picture

Issue summary: View changes
guardiola86’s picture

Title: Fatal error: Declaration of Drupal\dsl\Form\DslDomainConfigSettingsForm when updating domain modules » Fatal error: Declaration of Drupal\dsl\Form\DslDomainConfigSettingsForm when updating domain_site_settings
guardiola86’s picture

guardiola86’s picture

Status: Active » Needs review