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

include-twig expressions in pages cause errors in the admin once the SEO Plugin is active #86

Open
johBerlin opened this issue Jun 23, 2020 · 1 comment

Comments

@johBerlin
Copy link

johBerlin commented Jun 23, 2020

I have some pages running twig things.
Those pages send an error when the SEO plugin is active. I turn it off: the pages render properly.

An example:
In one page, I include a twig-file like that:
{% include 'partials/contact-form.html.twig' %}

The page itself is still rendering properly. Just the admin interface does not work anymore.

The error that i am getting when entering the page in the admin is:
An exception has been thrown during the rendering of a template ("Template "partials/contact-form.html.twig" is not defined.").

Any Idea to overcome this?

@johBerlin
Copy link
Author

Update: maybe it was part of the twig-code I entered in that page. After some cleaning up it just vanished. 🤷‍♂️

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

1 participant