Fatal error after updating to toc_api:^2

Created on 10 April 2025, 14 days ago

Problem/Motivation

Fatal error: Declaration of Drupal\toc_filter\Plugin\Block\TocFilterBlock::blockAccess(Drupal\Core\Session\AccountInterface $account) must be compatible with Drupal\toc_api\Plugin\Block\TocBlockBase::blockAccess(Drupal\Core\Session\AccountInterface $account): Drupal\Core\Access\AccessResultInterface in /var/www/html/web/modules/contrib/toc_filter/src/Plugin/Block/TocFilterBlock.php on line 24

🐛 Bug report
Status

Active

Version

2.0

Component

Code

Created by

🇪🇸Spain fjgarlin

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