I transferred wordpress on my domain and when I try to login I get this error:
ERROR: Cookies are blocked due to unexpected output.
With this warnings:
Warning: Cannot modify header information - headers already sent by (output started at /customers/e/2/2/myurlsite.com/httpd.www/wp-content/themes/twentythirteen-child/functions.php:10) in /customers/e/2/2/myurlsite.com/httpd.www/wp-login.php on line 424
Warning: Cannot modify header information - headers already sent by (output started at /customers/e/2/2/myurlsite.com/httpd.www/wp-content/themes/twentythirteen-child/functions.php:10) in /customers/e/2/2/myurlsite.com/httpd.www/wp-login.php on line 437
I understand that the problem is in my functions.php file, but I don't know how to solve it, because I don't know anything about php. Here's the function.php code at row 10
<?php
add_action( 'wp_enqueue_scripts', 'wpsites_google_fonts' );
function wpsites_google_fonts() {
wp_enqueue_style( 'gfonts', '//fonts.googleapis.com/css?family=Oswald|Open+Sans|Euphoria+Script|Cookie', array(), CHILD_THEME_VERSION );
}
?>
Can someone please tell me where the problem in this file is? Thanks