Display entityreference field in search-result.tpl The entityreference field (field_parent) shows up in node.tpl using print render($content);, but isn't displayed in search-result.tpl. My search-result.tpl looks like this right now:

&lt;li class="&lt;?php print $classes; ?&gt;"&lt;?php print $attributes; ?&gt;&gt;

  &lt;?php print render($title_prefix); ?&gt;

  &lt;h3 class="title"&lt;?php print $title_attributes; ?&gt;&gt;
    &lt;a href="&lt;?php print $url; ?&gt;"&gt;&lt;?php print $title; ?&gt;&lt;/a&gt;
  &lt;/h3&gt;

  &lt;?php print render($title_suffix); ?&gt;


    &lt;div class="submitted"&gt;
    &lt;div class="imported-text"&gt;Imported on &lt;?php print $info_split['date']; ?&gt;.&lt;/div&gt;
    &lt;/div&gt;

    &lt;div class="hr"&gt;&lt;/div&gt;

    &lt;div class="content"&gt;
    &lt;div class="comments-link"&gt;&lt;a href="&lt;?php print $url; ?&gt;"&gt;Comments&lt;/a&gt;&lt;/div&gt;
    &lt;div class="other-content"&gt;

    &lt;div class="field-name-field-download"&gt;&lt;a href="&lt;?php print $result['node']-&gt; field_download[LANGUAGE_NONE][0]['url'] ?&gt;"&gt;Download&lt;/a&gt;&lt;/div&gt;
    &lt;div class="field-name-field-lipsum"&gt;&lt;span class="lipsum"&gt;Lipsum:&lt;/span&gt; &lt;?php print $result['node']-&gt; field_lipsum[LANGUAGE_NONE][0]['value'] ?&gt;&lt;/div&gt;


    &lt;/div&gt;
    &lt;/div&gt;

&lt;/li&gt;


I tried using &lt;?php print $result['node']-&gt; field_parent[LANGUAGE_NONE][0]['value'] ?&gt; but it gives me the error "Notice: Undefined index: value in include() (line 25 of ...\search-result.tpl.php)."

&lt;?php print $result['node']-&gt; field_parent[LANGUAGE_NONE][0]['entity'] ?&gt; gives

Recoverable fatal error: Object of class stdClass could not be converted to string in include() (line 25 of ...\search-result.tpl.php).

&lt;?php print $result['node']-&gt; field_parent[LANGUAGE_NONE][0]['entityreference'] ?&gt;

Notice: Undefined index: entityreference in include() (line 25 of ...\search-result.tpl.php).
I solved this by using teaser view as my search result. My search-result.tpl file now looks like: 

&lt;li class="&lt;?php print $classes; ?&gt;"&lt;?php print $attributes; ?&gt;&gt;

&lt;?php $v = node_view($result['node'], 'teaser'); print render($v); ?&gt;

&lt;/li&gt;