Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Twig\Error\LoaderError: #966

Open
mzerres opened this issue Sep 9, 2021 · 1 comment
Open

Twig\Error\LoaderError: #966

mzerres opened this issue Sep 9, 2021 · 1 comment

Comments

@mzerres
Copy link

mzerres commented Sep 9, 2021

I'm running into a twig error, when displaying a content page:

Failure:
Twig\Error\LoaderError: Template "@atoms/form-element/_input.twig" is not defined in "themes/contrib/particle/apps/drupal-default/particle_theme/templates/form/input.html.twig" at line 14. in Twig\Loader\ChainLoader->getCacheKey() (line 98 of /var/www/html/vendor/twig/twig/src/Loader/ChainLoader.php).

  • Fresh D9 (9.2.5) installation
  • Module components activated
  • Module Particle_helper activated
  • Particle (default theme) activated

npm start (without failure)
「wdm」: Compiled successfully.

@arun-mps
Copy link

Trying to get it to work in Drupal 8.9.20 with Components, Particle Helper module installed.

After clear a cache works fine locally and server, but I get error "The website encountered an unexpected error. Please try again later."

Here's my log file:
Uncaught PHP Exception Twig\Error\LoaderError: "Template "@molecules/container/main.twig" is not def
ined in "themes/particle/drupal_theme/apps/drupal-default/drupal_theme/templates/system/page.html.twig" at line 58." at /opt/sites/particle/site-repo/releases/20221102101229/vendor/twig
/twig/src/Loader/ChainLoader.php line 142

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants