Problem/Motivation

Type 	php
Date 	Friday, December 16, 2022 - 14:12
User 	drupal
Location 	/examples/form-api-example
Referrer 	/admin/appearance
Message 	Twig\Error\LoaderError: Template "@radix/layout/html.twig" is not defined in "themes/contrib/radix/templates/layout/html.html.twig" at line 1. in Twig\Loader\ChainLoader->getCacheKey() (line 98 of vendor/twig/twig/src/Loader/ChainLoader.php).
Severity 	Error
Hostname 	127.0.0.1
Operations 	

Steps to reproduce

Go the Appearance page:
Set the theme Radix as default => causes the PHP fatal error.

Proposed resolution

Remaining tasks

User interface changes

API changes

Data model changes

Comments

Gung Wang created an issue. See original summary.

gung wang’s picture

Issue summary: View changes
gung wang’s picture

Priority: Critical » Minor
Status: Active » Closed (outdated)
clivesj’s picture

Just in case anyone else looking for this.
This will happen if/when you forget to download and enable components module

berramou’s picture

Thank you @clivesj, it works
So the components module should be a requirement.
I attached a patch to do so, it needs review.

doxigo’s picture

Status: Closed (outdated) » Needs review
berramou’s picture

StatusFileSize
new710 bytes
berramou’s picture

The components module 3.x version only has beta release
and i put in the patch require "^3.0". I don't know if it should be "^2.4" since it's stable and wait for stable release for 3.x ?

doxigo’s picture

Status: Needs review » Fixed

@berramou Thanks for the patch, currently since the 3.x is in beta and doesn't work with Drupal 8, I wanted to rather wait before making it a hard requirement, anyways even though it's still in beta I believe it's stable enough, so added. thanks

  • doxigo committed dd0bb47c on 5.0.x authored by berramou
    Issue #3327713 by berramou, Gung Wang, clivesj, doxigo: Twig\Error\...

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.