Display in node custom field profile I created a custom field in the users profiles. 

I need to display in node.tpl.php, this field for the author of the node. 

I tried :

&lt;?php 
print $node_author = user_load($node-&gt;uid); 
print ($node_author-&gt;field_custom); 
?&gt;


But i have an error :

Recoverable fatal error : Object of class stdClass could not be converted to string


Do you know where I'm wrong? 
And, is it the best way of proceeding?
Try with print render($node_author-&gt;field_custom);


Or you can try as well:

insert at the top of you node.tpl.php

&lt;?php 
global $user;
$node_author = user_load($user-&gt;uid);
$yourvariable = $node_author-&gt;field_custom;
?&gt;


Where you want print the field insert:

&lt;?php print $yourvariable['und'][0]['value'];?&gt;