getArchives() returns a string.

When removing all posts the /archive page fails with "Recoverable Fatal Error: Argument 1 passed to renderArchives() must be of the type array, string given, called in /site/templates/archives.php on line 155 and defined (line 95 of /site/templates/archives.php)".