Fixing Notice: Undefined variable: content_share in include() (line 39....node.tpl.php)? I followed online tutorials and defined a new region in litejazz Drupal 7 theme info file as :

regions[content_share] = Content Bottom


and exposed the new block using the code below in node.tpl.php as :

&lt;div class="clearfix clear"&gt;&lt;/div&gt;
  &lt;?php if (!empty($content['links']['node']['#links']) || !empty($content['links']['comment']['#links']) || !empty($content['links']['blog']['#links'])): ?&gt;
    &lt;div class="links"&gt;&amp;raquo; &lt;?php print render($content['links']); ?&gt;&lt;/div&gt;
  &lt;?php endif; ?&gt;
      &lt;?php if ($content_share): ?&gt; //&lt;&lt;&lt;&lt;&lt;&lt;&lt;&lt;&lt;&lt;&lt;- THIS LINE CAUSES WARNING
  &lt;div&gt;
    &lt;?php print render($content_share); ?&gt;
  &lt;/div&gt;
&lt;?php endif; ?&gt;
  &lt;?php if ($content['comments'] &amp;&amp; ($page)) { ?&gt;
    &lt;?php print render($content['comments']); ?&gt;
  &lt;?php }; ?&gt;


Now my logs are getting filled with following warning :


  Notice: Undefined variable: content_share in include() (line 39 of
  /srv/bindings/ertr88c9reretrea25f7b405eeee/code/sites/all/themes/litejazz/templates/node.tpl.php).


I had tried clearing cache as suggested in other solutions but none worked.
Regions are only available in page.tpl.php, not node.tpl.php. 

In page.tpl.php you can use

print render($page['content_share']);