Syntax Error: Cannot modify header info
-
Warning: Cannot modify header information – headers already sent by (output started at /home/obie2x/public_html/wp-content/themes/atahualpa/functions/bfa_get_options.php:207) in /home/obie2x/public_html/wp-includes/pluggable.php on line 868
the above line is a new error I am getting after I tried to plug in the following code into my BFA get_options.php section.
if ( is_archive() AND !(is_tag() OR is_author() OR is_date() OR is_category())) {
$cols = 3; /* center column + number of sidebars */
$left_col = “on”;
# $left_col2 = “on”;
$right_col = “on”;
#$right_col2 = “on”;
}I got this code from a different forum’s suggestion so I could try and figure out why my sidebar would disappear when I tried to use some custom taxonomy. When I did that I got a syntax error message about the $end code being wrong, which completely locked out access to my blog. So, I deleted above code and thought I figured it out by adding a closing bracket (which I think I accidentally erased when I erased above code) Once I did this, the error went away and my website showed up again. Now, I get the above error when I try to access dashboard, and all my sidebars are gone on category pages and I can no longer access my dashboard.
Is this enough info to get some help or do I need to provide more? Thank you in advance to the guru who will hopefully help me out.
- The topic ‘Syntax Error: Cannot modify header info’ is closed to new replies.