title: Notice: Undefined index: und in function include()
body: <p>I'm getting this error: 
  <strong>Notice: Undefined index: und in function include() (line 5 in file node--view--latest-projects.tpl.php).</strong></p>
  
  <p>the code is:</p>
  
  <pre><code>&lt;li class="&lt;?php print strip_tags(render($content['field_portfolio_category'])); ?&gt;"&gt;
  &lt;div class="span3"&gt;
      &lt;div class="portfolio-item thumbnail"&gt;
          &lt;a class="thumb-info lightbox" href="#popupProject_&lt;?php print $node-&gt;nid; ?&gt;" data-plugin-options='{"type":"inline", preloader: false}'&gt;
              &lt;img src="&lt;?php echo file_create_url($node-&gt;field_image['und'][0]['uri']); ?&gt;" alt="item"&gt;
              &lt;span class="thumb-info-title"&gt;
                &lt;span class="thumb-info-inner"&gt;&lt;?php print $title; ?&gt;&lt;/span&gt;
                  &lt;span class="thumb-info-type"&gt;&lt;?php print strip_tags(render($content['field_portfolio_category'])); ?&gt;&lt;/span&gt;
              &lt;/span&gt;
              &lt;span class="thumb-info-action"&gt;
                  &lt;span title="Universal" href="#" class="thumb-info-action-icon"&gt;&lt;i class="icon-link"&gt;&lt;/i&gt;&lt;/span&gt;
              &lt;/span&gt;
          &lt;/a&gt;
      &lt;/div&gt;
  &lt;/div&gt;
  </code></pre>
  
  <p></li>in</p>
  
  <p>Please help, as I haven't been able to define the variable...</p>