Fatal error: Could not check compatibility

Created on 9 January 2024, 5 months ago

After updating Drupal from version 10.1.6 to 10.2.1, we encountered a fatal error upon visiting the status page. The error message is as follows:

Fatal error: Could not check compatibility between Drupal\Core\Block\Plugin\Block\PageTitleBlock::blockForm($form, Drupal\Core\Block\Plugin\Block\FormStateInterface $form_state) and Drupal\Core\Block\BlockBase::blockForm($form, Drupal\Core\Form\FormStateInterface $form_state), because class Drupal\Core\Block\Plugin\Block\FormStateInterface is not available in /var/www/html/docroot/core/lib/Drupal/Core/Block/Plugin/Block/PageTitleBlock.php on line 112

Steps to reproduce:

Reference: https://www.drupal.org/docs/updating-drupal/updating-drupal-core-via-com... →

composer update drush/drush
composer update "drupal/core-*" --with-all-dependencies
drush updatedb
drush cr

💬 Support request
Status

Postponed: needs info

Version

10.2 ✨

Component
Block  →

Last updated 4 days ago

Created by

🇮🇳India Gaurav_drupal Indore

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

Comments & Activities

Production build 0.69.0 2024