Welcome to the LimeSurvey Community Forum

Ask the community, share ideas, and connect with other LimeSurvey users!

Error once activated: Includes contained outside of block

  • cheeseburger
  • cheeseburger's Avatar Topic Author
  • Offline
  • Senior Member
  • Senior Member
More
2 years 9 months ago #217493 by cheeseburger
Hello everyone. Is anyone familiar with the error "A template that includes another one cannot include content outside of twig blocks", but only when the survey is made active? Our non-active previews of the survey are fine. We activate the survey with every possible option tested, and it continues to read as a 500 server error with this description. We manually sifted through line by line to compare the code of the original vanilla theme with the code that we updated in our extended theme. Everything appears to be exactly in place when it comes to blocks and includes. Could this be a bug? Is there something else we could check to diagnose? Thanks for your help!
The topic has been locked.
  • cheeseburger
  • cheeseburger's Avatar Topic Author
  • Offline
  • Senior Member
  • Senior Member
More
2 years 9 months ago #217494 by cheeseburger
I found the issue. It was a tiny trivial html comment in an area OUTSIDE OF A BLOCK in a twig that didnt like html comments. As soon as I typed the question in my post, I reheard the error in a diff context and it made sense. Keeping this here in case it helps others. Thanks
The following user(s) said Thank You: DenisChenu
The topic has been locked.

Lime-years ahead

Online-surveys for every purse and purpose