Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Problem/Motivation
On install of Varbase
[warning] The "block_content:b858d97d-eaa5-4cfe-af6f-b92c21bbca95" was not found
In EntityTypeManager.php line 143:
The "block" entity type does not exist.
#3071960: error : The "block_content" entity type does not exist.
grep -rl "b858d97d-eaa5-4cfe-af6f-b92c21bbca95" /var/www/html/products
./varbase_core/modules/varbase_default_content/content/block_content/b858d97d-eaa5-4cfe-af6f-b92c21bbca95.yml
./varbase_core/modules/varbase_default_content/config/optional/block.block.vartheme_bs4_copyright.yml
./vartheme_bs4/VARTHEME_BS4_SUBTHEME/config/optional/block.block.VARTHEME_BS4_SUBTHEME_copyright.yml
./vartheme_bs4/config/optional/block.block.vartheme_bs4_copyright.yml
Proposed resolution
Have
- drupal:block
- drupal:block_content
And enable block_content in Varbase profile install step
Comments
Comment #3
Rajab Natshah CreditAttribution: Rajab Natshah at Vardot commentedComment #4
Rajab Natshah CreditAttribution: Rajab Natshah at Vardot commentedComment #6
Rajab Natshah CreditAttribution: Rajab Natshah at Vardot commented#3220084: Fix Varbase default content issue with block content was not found
Comment #7
Rajab Natshah CreditAttribution: Rajab Natshah at Vardot commentedComment #8
Rajab Natshah CreditAttribution: Rajab Natshah at Vardot commentedMoved to managed config at the end of install to make sure that Varbase Default Content added the block.