• Hi!

    Can anyone help me figure out how to fix the following error?

    Warning: Cannot modify header information – headers already sent by (output started at D:\xampp\htdocs\wordpress\wp-content\themes\ci_2009\functions.php:22) in D:\xampp\htdocs\wordpress\wp-includes\functions.php on line 784

    Warning: Cannot modify header information – headers already sent by (output started at D:\xampp\htdocs\wordpress\wp-content\themes\ci_2009\functions.php:22) in D:\xampp\htdocs\wordpress\wp-includes\functions.php on line 785

    The “\xampp\htdocs\wordpress\wp-content\themes\ci_2009\functions.php:22” sets up my theme’s search box:

    <?php function widget_mytheme_search() { ?>
    
    			<li>
    
    				<h3 class="search">Search the blog</h3>
    
    					<form method="get" id="widget-searchform" action="<?php bloginfo('home'); ?>/">
    
    						<div><input type="text" value="<?php the_search_query(); ?>" name="s" id="s2" maxlength="256" size="15"/>
    
    						<input type="submit" id="widget-searchsubmit" value="Search" />
    
    						</div>
    
    					</form>
    
    			</li>
    
    <?php } if ( function_exists('register_sidebar_widget') ) register_sidebar_widget(__('CI Search'), 'widget_mytheme_search'); ?>

    And the lines on the include file are:

    `setcookie( ‘wp-settings-‘ . $user->ID, $settings, time() + 31536000, SITECOOKIEPATH );
    setcookie( ‘wp-settings-time-‘ . $user->ID, time(), time() + 31536000, SITECOOKIEPATH );`

    I have tried this theme on other computers and am not getting this error…thoughts??

    Thanks!

    Erika

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘Switching Theme Activates Error for a file in wp-includes’ is closed to new replies.