I have the following code that generates this error:
function vbAuthorMetaBox($post, $params) {
$fieldname = $params['args'][0];
$value = get_post_meta($post->ID, $fieldname, true);
wp_nonce_field('vb_question_author', 'vb_question_author_nonce');
echo <<<HTML
<div>
<label for="{$fieldname}">Autor:</label>
<input type="text" name="{$fieldname}" id="{$fieldname}" value="{$value}"/>
</div>
HTML;
}
And the part that generates the error is
echo <<<HTML
The problem, as noted by the user @ Aníbal Jorquera, was due to a blank space after echo < <