Show Author Info even if there are no posts to show

author.php

You want to show the Author and their description but the author has no posts….

You can use get_queried_object()

$author = get_queried_object();
$author_id = $author->ID;