Error after adding the slot condition into a block

Created on 4 June 2024, 5 months ago
Updated 18 June 2024, 5 months 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.71.5 2024