Content Template no longer displaying new nodes. Works fine for older nodes In my D7 site, I have a content type that's being displayed using Content Template (Contemplate). The Content Template code hasn't changed in over a year. It's been running like a champ… displaying new content and edited content on hundreds of nodes.

All of a sudden, no new node content will be displayed through Content Template. If I temporarily disable the Content Template, the node content will appear. When I turn it back on, nothing. 

I wiped out my Content Template code thinking there might be some conflict in there. I replaced the whole thing with just one line:

&lt;?php print $node-&gt;field_body[$node-&gt;language][0]['safe_value']; ?&gt;


Nothing. 

What's interesting is that any HTML or PHP in the Content Template code will still work… it's just the field variables that are not producing any values. And again, this is only for newly created nodes. 

Some of the core node variables will still work (like NID and Title), but none of the custom fields. So, for example, this code works:

&lt;p&gt;node: &lt;?php print $node-&gt;nid ?&gt;&lt;/p&gt;
&lt;p&gt;title: &lt;?php print $node-&gt;title ?&gt;&lt;/p&gt;


This would produce the NID and the node title successfully on the page. But, the aforementioned $node-&gt;field_body… (which is a custom field), produces nothing.

In a further effort to troubleshoot, I've disable any recently activated modules (Entityforms and Rules). No change.
The module's page explicitly states: 


  NOTE: This module may be deprecated in Drupal 7! Here's your reason,
  basically the theming changes in D7 mean the field theming gets bound
  a lot lot later in the process, so it's not possible to generate the
  output into a Textarea for you to edit


In fact the module has been marked as deprecated and not updated since 20 September 2011.

Also there is a long discussion on https://www.drupal.org/node/1285558 about better ways of doing things without Contemplate module.

So it's just time for you to give up the deprecated module and re-code your template files as it simply won't work with later versions of Drupal 7.