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

<p>Very odd.</p>

CC BY-SA 3.0
2014-12-07T14:01:45.117Z
2014-12-07T14:01:45.117Z
John
<p>I've uploaded my site to the live server and i'm getting </p>

<pre><code>Template Error

Variable "heading" does not exist
</code></pre>

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

<p>and it then goes onto identify the template and template var that it claims is missing.</p>

<p>But, there is no db or file difference to the local or dev sites!</p>

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

<p>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.</p>

CC BY-SA 3.0
2014-12-07T22:53:57.617Z
John, is your issue related to [this recent bug](http://craftcms.stackexchange.com/q/5131/45)?
Lindsey D
<templating><error-message><variable><server>
Variable 'foo' does not exist in template
# Variable 'foo' does not exist in template

(Asked by: username_0 on 2014-12-07)

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.

**Tags:** templating, error-message, variable, server
> **Comments:**
> **username_1**: John, is your issue related to [this recent bug](http://craftcms.stackexchange.com/q/5131/45)?  

---

## 1 answers

### Answer by username_0 on 2014-12-07. Score: 1

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

Very odd.


---

