You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Thanks for reporting this, @nstCactus. For some reason, it's ending up with two compiled templates being created for index.twig, causing this error. I'm not really sure why that's happening at this stage, but as a workaround, see if you can localise your usage of {% nocache %} to the specific places within the {% embed %} block or the embedded/included templates that need it.
Description
Using the
{% nocache %}
around an{% embed %}
tag throws ayii\base\ErrorException
:Steps to reproduce
To reproduce, create the following templates and navigate to
/nocache
.templates/nocache/index.twig:
_templates/nocache/list.twig:
_templates/nocache/item.twig:
Additional information
The text was updated successfully, but these errors were encountered: