Here are the errors that appear when I login and the line of code:
Warning: Cannot modify header information – headers already sent by (output started at /home/content/d/w/4/dw4526/html/wp-content/themes/Gulf4Sale/functions.php:1) in /home/content/d/w/4/dw4526/html/wp-login.php on line 368
header(‘Content-Type: ‘.get_bloginfo(‘html_type’).’; charset=’.get_bloginfo(‘charset’));
Warning: Cannot modify header information – headers already sent by (output started at /home/content/d/w/4/dw4526/html/wp-content/themes/Gulf4Sale/functions.php:1) in /home/content/d/w/4/dw4526/html/wp-login.php on line 380
setcookie(TEST_COOKIE, ‘WP Cookie check’, 0, COOKIEPATH, COOKIE_DOMAIN);
Warning: Cannot modify header information – headers already sent by (output started at /home/content/d/w/4/dw4526/html/wp-content/themes/Gulf4Sale/functions.php:1) in /home/content/d/w/4/dw4526/html/wp-includes/pluggable.php on line 680
setcookie($auth_cookie_name, $auth_cookie, $expire, PLUGINS_COOKIE_PATH, COOKIE_DOMAIN, $secure, true);
Warning: Cannot modify header information – headers already sent by (output started at /home/content/d/w/4/dw4526/html/wp-content/themes/Gulf4Sale/functions.php:1) in /home/content/d/w/4/dw4526/html/wp-includes/pluggable.php on line 681
setcookie($auth_cookie_name, $auth_cookie, $expire, ADMIN_COOKIE_PATH, COOKIE_DOMAIN, $secure, true);
Warning: Cannot modify header information – headers already sent by (output started at /home/content/d/w/4/dw4526/html/wp-content/themes/Gulf4Sale/functions.php:1) in /home/content/d/w/4/dw4526/html/wp-includes/pluggable.php on line 682
setcookie(LOGGED_IN_COOKIE, $logged_in_cookie, $expire, COOKIEPATH, COOKIE_DOMAIN, $secure_logged_in_cookie, true);
Warning: Cannot modify header information – headers already sent by (output started at /home/content/d/w/4/dw4526/html/wp-content/themes/Gulf4Sale/functions.php:1) in /home/content/d/w/4/dw4526/html/wp-includes/pluggable.php on line 876
header(“Location: $location”, true, $status);