Fixed array to string conversion issue in characters.php.