- Issue created by @toamit
- π¨π¦Canada Liam Morland Ontario, CA π¨π¦
Fixed in
toc_filter
8.x-2.4.
Table of Content block fails to be added to the sidebar for Olivero theme.
Error message
Oops, something went wrong. Check your browser's developer console for more details
An AJAX HTTP error occurred.
HTTP Result Code: 200
Debugging information follows.
Path: /admin/structure/block/add/toc_filter/olivero?region=sidebar
StatusText: parsererror
ResponseText:
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
Add the Table of contents to the Olivero theme
Structure > Block layout > Sidebar > Place block > Table of contents
Active
2.3
Code
Fixed in toc_filter
8.x-2.4.