Loading...


Related Products


Date Published: April 3, 2025

Error 'This block is broken or missing' on Site Studio

Issue

After adding any block through Site studio "block" element, when previewing the component, you will get this error:

This block is broken or missing. You may be missing content or you might need to enable the original module.

Resolution

  1. Check if the twig_tweak module is enabled.
  2. If it is enabled and not in use, then this should be disabled, as the twig_tweak module is not compatible with Site Studio currently.

You can look for more information at: https://sitestudiodocs.acquia.com/8.0/user-guide/twig-tweak-module

Cause

The issue will occur only when adding the block to the pages through Site Studio block element, and not when added through block layout, because the twig_tweak incompatibility is with Site Studio and not Drupal. The drupal_block function defined in Site Studio's TwigExtension is overridden by twig_tweak's drupal_block function. 


Did not find what you were looking for?

If this content did not answer your questions, try searching or contacting our support team for further assistance.

Back to Section navigation
Back to Site navigation