11.2 compatibility

Created on 27 May 2025, 17 days ago

Hello and thanks for the version 2,

Problem/Motivation

I've just updated my core to Drupal 11.2.0-beta1 and I've started getting this error message below:
Fatal error: Declaration of Drupal\cookies\Plugin\Block\CookiesDocsBlock::submitConfigurationForm(array &$form, Drupal\Core\Form\FormStateInterface $form_state) must be compatible with Drupal\Core\Block\BlockBase::submitConfigurationForm(array &$form, Drupal\Core\Form\FormStateInterface $form_state): void in /var/www/html/web/modules/contrib/cookies/src/Plugin/Block/CookiesDocsBlock.php on line 158

Steps to reproduce

When I uninstall the module via drush, the error disappears. After re-install, it pops up.

What should we do?

Best,
Orkut

🐛 Bug report
Status

Active

Version

2.0

Component

Code

Created by

🇹🇷Turkey orkut murat yılmaz Istanbul

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

Comments & Activities

Production build 0.71.5 2024