particle icon indicating copy to clipboard operation
particle copied to clipboard

Twig\Error\LoaderError:

Open mzerres opened this issue 4 years ago • 1 comments
trafficstars

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.

mzerres avatar Sep 09 '21 14:09 mzerres

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

arun-mps avatar Nov 10 '22 14:11 arun-mps