Error after adding the slot condition into a block

Created on 4 June 2024, 20 days ago
Updated 18 June 2024, 6 days ago

Adding a slot condition into a block leads to an error message on pages with the slot show this error message.

TypeError: Drupal\block_content\BlockContentViewBuilder::view(): Argument #1 ($entity) must be of type Drupal\Core\Entity\EntityInterface, array given, called in /var/www/html/web/modules/contrib/slots/modules/slots_inline_block/src/Plugin/Block/SlotInlineBlock.php on line 61 in Drupal\block_content\BlockContentViewBuilder->view() (line 23 of core/modules/block_content/src/BlockContentViewBuilder.php).

🐛 Bug report
Status

Fixed

Version

1.0

Component

Code

Created by

🇩🇪Germany Antonín Slejška Hannover

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

Merge Requests

Comments & Activities

Production build 0.69.0 2024