generic node.html.twig displays white page

Created on 5 May 2024, 7 months ago
Updated 6 May 2024, 7 months ago

Problem/Motivation

Hello,
when using the generic node.html.twig code on a totally new custom sub-theme, I get a white page.
The HTML is :

<!-- THEME DEBUG -->
<!-- THEME HOOK: 'html' -->
<!-- FILE NAME SUGGESTIONS:
   * html--node--mycontentype.html.twig
   x html--node--11.html.twig
   * html--node--%.html.twig
   * html--node.html.twig
   * html.html.twig
-->
<!-- BEGIN OUTPUT from 'themes/contrib/bootstrap_barrio/templates/content/html--node--11.html.twig' -->


<article class="toolbar-icon-10 toolbar-loading layout-one-sidebar layout-sidebar-first page-node-11 node node--type- node--unpublished clearfix">
  <header>

	
	  </header>
  <div class="node__content clearfix">
	
  </div>
</article>

<!-- END OUTPUT from 'themes/contrib/bootstrap_barrio/templates/content/html--node--11.html.twig' -->

NB: I created the new sub-theme with the UNIX script I found here:
https://www.drupal.org/docs/8/themes/barrio-bootstrap-4-drupal-89-theme/...

What's is missing in my setup?

💬 Support request
Status

Closed: cannot reproduce

Version

5.5

Component

Code

Created by

🇫🇷France webmestre

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

Comments & Activities

Production build 0.71.5 2024