I tried what you suggested and it got rid of two errors but the following two still remain:
Warning: Cannot modify header information – headers already sent by (output started at /html/wp-content/themes/SemperFi/functions.php:491) in html/wp-login.php on line 353
Warning: Cannot modify header information – headers already sent by (output started at /html/wp-content/themes/SemperFi/functions.php:491) in html/wp-login.php on line 365