- This topic has 5 replies, 2 voices, and was last updated 9 years, 7 months ago by .
- The forum ‘Design Tips and Tricks’ is closed to new topics and replies.
These forums are for general discussion on WordPress and Genesis. Official support for StudioPress themes is offered exclusively at My StudioPress. Responses in this forum are not guaranteed. Please note that this forum will require a new username, separate from the one used for My.StudioPress.
I keep getting this message
Cannot modify header information - headers already sent by (output started at /home/thefruga/public_html/wordpress/wp-content/themes/genesis/lib/structure/header.php:48)
I have looked at that line of code and this is what is there
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" <?php language_attributes( 'xhtml' ); ?>>
<meta http-equiv="Content-Type" content="<?php bloginfo( 'html_type' ); ?>; charset=<?php bloginfo( 'charset' ); ?>" />
line 48 starts with <html
I am using a plugin called Shortcode Exec PHP for a require statement and to call a php function on the page that is working fine and you can see on the bottom right under Frugal Forum Topics.
Please help me get rid of this warning message.
my site is http://www.thefrugallife.com/wordpress/http://www.thefrugallife.com/wordpress/
I really need some help with this.
There have some white spaces at top or bottom of your header.php file. Download the file via FTP, remove the white spaces and re-upload the file.
Looking at header.php in the Genesis theme this is what I found. The only white space that I saw was after the last semi-colon. There was a new line I took that out and uploaded it but don't see any difference.
Are you still seeing the problem?
without check the backend it is very tough to give the right direction for your problem. If you want then you can fill up this form and send me the wp-admin access once. So I can look once and try to solve your problem.
that is sure nice of you to offer. I have sent the form already.
© 2023 WPEngine, Inc.