I may just be missing something, but it doesn’t seem like I can get error reporting on improper template usage.
I started wondering about this because I had the following in an EE2 project, and everything seemed to be working as expected:
{exp:channel:entries channel="contact" limit="1" dynamic="off" url_title="contact" disable="categories|member_data|pagination"}
{simple-content}
{/exp:channel:entries}Note the dynamic=“off”. I then modified the exp:channel:entries tag to contain blarf=“floob”, expecting to see an error somewhere, but none appeared. I searched around and turned on “Display Template Debugging?” under “Output and Debugging Preferences”, but still no dice.
My question: is there some way to make EE2 throw errors if I’m building my templates improperly?