Cannot modify header information – child functions.php I DID SEARCH!
-
I’m knocking my head against the wall here. I’ve searched and read but I still don’t have a solution.
This is this error that is live at http://www.orec.ca. It happened after deploying my local site to the server. I don’t get the error on my local server.
Warning: Cannot modify header information – headers already sent by (output started at /home/retrofi8/public_html/wp-content/themes/sahifa-child/functions.php:1) in /home/retrofi8/public_html/wp-content/plugins/wpfront-notification-bar/classes/class-wpfront-notification-bar.php on line 57
As far as I read, the first file mentioned is at fault but everything looks good since I just copy and pasted the code from the codex to create my child theme.
<?php add_action( 'wp_enqueue_scripts', 'my_theme_enqueue_styles' ); function my_theme_enqueue_styles() { wp_enqueue_style( 'parent-style', get_template_directory_uri() . '/style.css' ); } ?>None of the much talked about files have whitespaces. What should I do now?
Thanks!
The topic ‘Cannot modify header information – child functions.php I DID SEARCH!’ is closed to new replies.