Wordpress header.php help

Receiving error message “Internal Server Error 500” from my small business website! I’m panicing, please help.

I am using wordpress 3.4.1 supermassive theme, and my php error is:
PHP Parse error: syntax error, unexpected T_ELSE in /www/blog/wp-content/themes/supermassive/header.php on line 160

[php]

> /> <?php if ( is_home() ) { ?> <?php } ?> <?php wp_title(''); ?> <?php require(ghostpool_inc . 'options.php'); ?> <?php require(ghostpool_inc . 'skins.php'); ?> <?php require(ghostpool_inc . 'styling.php'); ?> <?php if($theme_custom_css) { ?><?php echo stripslashes($theme_custom_css); ?><?php } ?> <?php if($theme_favicon_ico) { ?> <?php } ?> <?php if($theme_favicon_png) { ?><?php } ?> <?php if($theme_apple_icon) { ?><?php } ?> <?php if(is_singular()) wp_enqueue_script('comment-reply'); ?> <?php wp_enqueue_script("jquery"); ?> <?php wp_head(); ?> <?php if($theme_leaguegothic) { ?><?php } ?> <?php if($theme_quicksand) { ?><?php } ?> <?php if($theme_sansation) { ?><?php } ?> <?php if($theme_vegur) { ?><?php } ?> <?php if($theme_chunkfive) { ?><?php } ?> <?php if($theme_sansation) { ?><?php } ?> <?php if($theme_timthumb == "0") { ?> <?php } ?> <?php echo stripslashes($theme_scripts); ?> <?php wp_head(); ?>

no-repeat <?php } elseif( $theme_header_repeat == "Repeat Horizontally") { ?>repeat-x <?php } elseif( $theme_header_repeat == "Repeat Vertically") { ?>repeat-y <?php } else { ?>repeat<?php } ?> <?php if($theme_header_position == "Left") { ?>left top <?php } elseif($theme_header_position == "Right") { ?>right top <?php } else { ?>center top<?php } ?>;">
<!--Begin Header-->
<div id="header">

	<div id="header-top">

		<!--Begin Logo-->
		<div id="logo">
			<?php if($theme_custom_logo) { ?><a href="<?php bloginfo('url'); ?>"><img src="<?php echo($theme_custom_logo); ?>"></a><?php } else { ?><a href="<?php bloginfo('url'); ?>"><span></span></a><?php?> }
		</div>
		<!--End Logo-->
		
	</div>
	
	<div class="clear"></div>
	
	<!--Begin Nav-->
	<div id="nav">
		<?php wp_nav_menu('sort_column=menu_order&container=ul&theme_location=header-nav&fallback_cb=null

[/php]

I cant see the code on my phone, but make sure each } has a corresponding {. Thats generally what causes that error.

Indeed. Your problem is here:

[php]<?php?> }[/php]

Should be

[php]<?php } ?>[/php]

Sponsor our Newsletter | Privacy Policy | Terms of Service