Needs review
Project:
Block Tabs
Version:
8.x-1.0
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Reporter:
Created:
12 Feb 2026 at 04:10 UTC
Updated:
13 Feb 2026 at 15:09 UTC
Jump to comment: Most recent
Facing this error: Error: Call to a member function getEntityTypeId() on null in Drupal\blocktabs\Plugin\Tab\BlockContentTab->getContent() (line 108 of modules/contrib/blocktabs/src/Plugin/Tab/BlockContentTab.php).
on the layout builder.
Start within a Git clone of the project using the version control instructions.
Or, if you do not have SSH keys set up on git.drupalcode.org:
Comments
Comment #4
nickolajAdded a null check after `loadEntityByUuid()` in `BlockContentTab::getContent()` to prevent the fatal error when the referenced block content entity no longer exists.