bi-paragraph-base.html.twig not found

Created on 23 May 2024, 7 months ago
Updated 13 June 2024, 6 months ago

Problem/Motivation

AH01071: Got error 'PHP message: Uncaught PHP Exception Twig\\Error\\LoaderError: "Template "@bootstrap_italia_paragraph/content/bi-paragraph-base.html.twig" is not defined in "themes/contrib/bootstrap_italia/modules/bootstrap_italia_paragraph/templates/paragraph--content--default.html.twig" at line 41." at /home/neb-chapter/drupal/vendor/twig/twig/src/Loader/ChainLoader.php line 99', referer: https://neb-chapter.eu/admin/content

Steps to reproduce

I installed the Theme on an existing drupal, following the installation procedure.

Proposed resolution

I corrected the the path to bi-paragraph-base.html.twig from
bootstrap_italia_paragraph/content/bi-paragraph-base.html.twig
to /bootstrap_italia_paragraph/templates/components/content/bi-paragraph-base.html.twig
in the file
themes/contrib/bootstrap_italia/modules/bootstrap_italia_paragraph/templates/paragraph--content--default.html.twig

After the correction the site was functional again.

Remaining tasks

User interface changes

API changes

Data model changes

🐛 Bug report
Status

Fixed

Version

2.8

Component

Code

Created by

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

Comments & Activities

Production build 0.71.5 2024