Error in first line functions.php i need to change style.css from wordpress

Have error in first line but i delete all spaces.Why kind a problem can be ?

Heres my functions.php

<?php

function learningCode(){
    wp_enqueue_style('style', get_stylesheet_uri());
}
add_action('wp_enqueue_scripts', 'learningCode');

and this is the error message Warning: Cannot modify header information – headers already sent by (output started at W:domainsnoteswp-contentthemestestfunctions.php:1) in W:domainsnoteswp-includespluggable.php on line 1195

Read more here: Error in first line functions.php i need to change style.css from wordpress

Leave a Reply

Your email address will not be published. Required fields are marked *