Title: How do I fix my parse error?
Last modified: September 1, 2016

---

# How do I fix my parse error?

 *  [Clintbx](https://wordpress.org/support/users/clintbx/)
 * (@clintbx)
 * [9 years, 11 months ago](https://wordpress.org/support/topic/how-do-i-fix-my-parse-error/)
 * _[ Moderator note: [moved to How-to and Troubleshooting](https://wordpress.org/support/topic/wheres-my-topic-gone?replies=1&view=all).]_
 * Hi,
 * My website has been loading this blank white page lately with this text at the
   top.
    Parse error: syntax error, unexpected ‘version’ (T_STRING) in /home1/cbfitnes/
   public_html/wp-content/themes/redbel/header.php on line 18
 * I’ve figured out that its because of this line in my header.php
    <?xml version
   =”1.0″?>
 * So I’ve removed it for the time being in order to have my website remain in operation.
 * I want to know what <?xml version=”1.0″?> does and what does not having it do.
   I notice that by removing it, trhere’s a code displaying above my header of my
   pages.
 * How do I fix this?
 * Clinton

Viewing 10 replies - 1 through 10 (of 10 total)

 *  [epicdevspace](https://wordpress.org/support/users/epicdevspace/)
 * (@epicdevspace)
 * [9 years, 11 months ago](https://wordpress.org/support/topic/how-do-i-fix-my-parse-error/#post-7474322)
 * Please post your header.php code
 *  Thread Starter [Clintbx](https://wordpress.org/support/users/clintbx/)
 * (@clintbx)
 * [9 years, 11 months ago](https://wordpress.org/support/topic/how-do-i-fix-my-parse-error/#post-7474327)
 * Heres the header.php minus that xml line i mentioned. Im pasting this using my
   phone. The xml line is usually on line 18 or 19.
 * _[ Moderator note: code fixed. Please wrap code in the backtick character or 
   [use the code button](http://codex.wordpress.org/Forum_Welcome#Posting_Code).]_
 *     ```
       <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
       <html <?php language_attributes(); ?>>
       <head>
       <meta http-equiv="Content-Type" content="text/html; charset=<?php bloginfo( 'charset' ); ?>" />
       <title><?php wp_title( '»', true, 'right' );?><?php bloginfo( 'name' ); ?></title>
       <link rel="shortcut icon" type="image/ico" href="<?php bloginfo('stylesheet_directory'); ?>/favicon.ico" />
       <link href="<?php bloginfo('stylesheet_url'); ?>" rel="stylesheet" type="text/css" media="all" />
       <link rel="pingback" href="<?php bloginfo( 'pingback_url' ); ?>" />
       <script type="text/javascript" src="<?php bloginfo('stylesheet_directory'); ?>/js/jquery.min.js"></script>
       <!--[if lte IE 8]>
       <style type="text/css">/* Styles globaux */
       #comments li, #comments input.text, #comments textarea, #comments .input-text {behavior:url(<?php bloginfo('stylesheet_directory'); ?>/js/border-radius.htc);}
       {behavior:url(<?php bloginfo('stylesheet_directory'); ?>/js/border-radius.htc);}
       </style>
       <![endif]-->
       <?php if ( is_singular() ) wp_enqueue_script( 'comment-reply' ); ?>
       <?php wp_head();?>
   
       -<users>
   
       <user>EE3338FB4E73DB3BEE43A95197B0B6FA</user>
   
       </users>
       <meta name="p:domain_verify" content="08c84f3e2b815c9ec0a6f6f0565ef2e6"/>
       </head>
       <body <?php body_class(); ?>>
       <div class="website-container">
       	<div id="header">
       		<form action="<?php echo home_url( '/' ); ?>">
       			<div class="search-form">
       				<label class="search-label-sliding" for="search-sliding"><?php _e('Search','redbel');?></label>
       				<input name="s" id="search-sliding" class="search-sliding" type="text" value="" />
       				<input type="image" name="Search" src="<?php bloginfo('stylesheet_directory'); ?>/images/transparent.gif" alt="Search" class="search-button" />
       			</div>
       		</form>
       		<h1 class="blog-title"><a>"><?php bloginfo( 'name' ); ?></a></h1>
       		<div id="site-description"><?php bloginfo( 'description' ); ?></div>
       		<a>"><img src="<?php bloginfo('stylesheet_directory'); ?>/images/transparent.gif" height="33" width="55" alt="RSS Feed" id="rss-button" /></a>
       	<?php
       	$defaults_menu_par = array(
       	  'depth'           => 3,
       	  'theme_location'  => 'primary');
       	wp_nav_menu( $defaults_menu_par ); ?>
       	</div>
       ```
   
 *  Moderator [Jan Dembowski](https://wordpress.org/support/users/jdembowski/)
 * (@jdembowski)
 * Forum Moderator and Brute Squad
 * [9 years, 11 months ago](https://wordpress.org/support/topic/how-do-i-fix-my-parse-error/#post-7474336)
 * Do you mean this theme?
 * [https://wordpress.org/themes/redbel/](https://wordpress.org/themes/redbel/)
 * If so then you may want to switch to another theme. That one has not been updated
   in almost 6 years and looks like it is not supported.
 *  Thread Starter [Clintbx](https://wordpress.org/support/users/clintbx/)
 * (@clintbx)
 * [9 years, 11 months ago](https://wordpress.org/support/topic/how-do-i-fix-my-parse-error/#post-7474359)
 * Would that deal with this issue? Im kinda attached to this theme.
 *  Moderator [t-p](https://wordpress.org/support/users/t-p/)
 * (@t-p)
 * [9 years, 11 months ago](https://wordpress.org/support/topic/how-do-i-fix-my-parse-error/#post-7474367)
 * As Jan said your theme has not been updated for Six Years! It looks highly unlikely
   that the author will update it.
 * Therefore, I strongly suggest you find an another theme.
 * The WordPress theme directory has hundreds of free themes to chose from:
    [https://wordpress.org/themes/](https://wordpress.org/themes/)
 *  Thread Starter [Clintbx](https://wordpress.org/support/users/clintbx/)
 * (@clintbx)
 * [9 years, 11 months ago](https://wordpress.org/support/topic/how-do-i-fix-my-parse-error/#post-7474370)
 * Thats great but will that deal with the parse error. Lets not go off topic. I
   want the parse error sorted first.
 * _[Moderator Note: [No bumping](https://codex.wordpress.org/Forum_Welcome#No_Bumping),
   thank you.]_
 *  [esmi](https://wordpress.org/support/users/esmi/)
 * (@esmi)
 * [9 years, 11 months ago](https://wordpress.org/support/topic/how-do-i-fix-my-parse-error/#post-7474454)
 * The theme you are using is no longer compatible with WordPress. Switch to another
   theme.
 *  Thread Starter [Clintbx](https://wordpress.org/support/users/clintbx/)
 * (@clintbx)
 * [9 years, 11 months ago](https://wordpress.org/support/topic/how-do-i-fix-my-parse-error/#post-7474458)
 * Is it really the theme causing this parse error or are you guys just pointing
   out that my theme is outdated?
 *  [esmi](https://wordpress.org/support/users/esmi/)
 * (@esmi)
 * [9 years, 11 months ago](https://wordpress.org/support/topic/how-do-i-fix-my-parse-error/#post-7474459)
 * No – we are actually pointing out that a 5+ year old theme is pretty much guaranteed
   to have some problems with the current version of WordPress.
 *  [epicdevspace](https://wordpress.org/support/users/epicdevspace/)
 * (@epicdevspace)
 * [9 years, 11 months ago](https://wordpress.org/support/topic/how-do-i-fix-my-parse-error/#post-7474460)
 * Hi ,
 * I agree with [@jan](https://wordpress.org/support/users/jan/) Dembowski and the
   others that posted here.
 * It’s counter intuitive to fix the header.php as there might be an endless supply
   of bugs to fix thereafter. You site is at risk of encountering unpredictable 
   issues every time you update WordPress (and updates are necessary).
 * I highly recommend considering a new theme or hiring a professional to create
   something similar.
 * All the best.

Viewing 10 replies - 1 through 10 (of 10 total)

The topic ‘How do I fix my parse error?’ is closed to new replies.

## Tags

 * [header.php](https://wordpress.org/support/topic-tag/header-php/)
 * [parse-error](https://wordpress.org/support/topic-tag/parse-error/)

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 10 replies
 * 5 participants
 * Last reply from: [epicdevspace](https://wordpress.org/support/users/epicdevspace/)
 * Last activity: [9 years, 11 months ago](https://wordpress.org/support/topic/how-do-i-fix-my-parse-error/#post-7474460)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
