I am theming a node for a specific content type and split the theme into whether the node is being displayed as a teaser or full. This error only comes up when you view the full node.
Error: Cannot use string offset as an array in XXXXXX/node--event.tpl.php on line 100
The node displays fine as a teaser, which makes this error even more confusing as the problematic line is used during teaser display. The code below is the one for the teaser part of the template.
<?php if ($teaser): ?>
<div id="node-<?php print $node->nid; ?>" class="<?php print $classes; ?> clearfix"<?php print $attributes; ?>>
<h2<?php print $title_attributes; ?>>
<a href="<?php print $node_url; ?>"><?php print $title; ?> -
<span class="eventdate"><?php print(substr($node->field_date[und][0][value], 0, -9));?></span>
</a></h2>
<div class="content clearfix"<?php print $content_attributes; ?>>
<?php
// We hide the comments and links now so that we can render them later.
hide($content['comments']);
hide($content['links']);
//*********LINE100**************
print($node->body[und][0][safe_value]);
?>
</div>
<div class="link-wrapper">
<?php print $links; ?>
</div>
</div>
<?php endif; ?>