Code: Select all
Fatal error: Uncaught Twig\Error\LoaderError: Looks like you try to load a template outside configured directories (../theme/some_file.css) in "@ExtAuthor_ExtName/some_other_file.html"
Lines that can cause this are for example:
Code: Select all
<!-- INCLUDECSS ../theme/foobar.css -->
Code: Select all
{% INCLUDECSS '../theme/foobar.css' %}
Code: Select all
<!-- INCLUDECSS @ExtAuthor_ExtName/foobar.css -->
Code: Select all
{% INCLUDECSS '@ExtAuthor_ExtName/foobar.css' %}
INCLUDEJS
or the twig include
will be affected by this behavior as well. It's recommended to always use the prefix for your extension as outlined above.