I've uploaded my site to the live server and i'm getting

Template Error

Variable "heading" does not exist

On a couple of pages. This is only happening to 2 sections, the rest are all fine.

and it then goes onto identify the template and template var that it claims is missing.

But, there is no db or file difference to the local or dev sites!

I've cleared caches, double checked permissions, changed php versions to no avail. Any ideas?

Update, i had devmode set to true, and have set it to false now, but, now the page renders, it does not output any text content from the cms. Just an image. Odd.


1 Answer 1


Well, oddly, the answer was instead of {{ heading }} i needed to do {{ entry.heading }}

Very odd.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.