Drupal 11 submitConfigurationForm incompatibility

Created on 25 June 2025, 12 days ago

Problem/Motivation

After upgrading to Drupal 11.2, running drush updb will throw the error:

> PHP Fatal error: Declaration of Drupal\pdb\Plugin\Block\PdbBlock::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/pdb/src/Plugin/Block/PdbBlock.php on line 175
> [warning] Drush command terminated abnormally.
In ProcessBase.php line 171:

📌 Task
Status

Active

Version

2.0

Component

Code

Created by

🇧🇷Brazil barone Belo Horizonte

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

Comments & Activities

Production build 0.71.5 2024