With this answer with good practices, by Chip Bennett, in mind just do a simple global thing — add global $authordata
to your template file:
<?php global $authordata; ?>
Follow the Codex’s Global Variables article for details about the global
practice.
Quoting the portion specific to the Question:
$authordata
(object
) Returns an object with information about the author, set alongside the last$post
.