Title: Parse error: syntax error, unexpected in theme&#039;s header.php
Last modified: August 21, 2016

---

# Parse error: syntax error, unexpected in theme's header.php

 *  [ruffhaus](https://wordpress.org/support/users/ruffhaus/)
 * (@ruffhaus)
 * [12 years, 6 months ago](https://wordpress.org/support/topic/parse-error-syntax-error-unexpected-in-themes-headerphp/)
 * Hello,
 * I get the following error when viewing our blog (www.ruffhaus.com/blog)
 * Parse error: syntax error, unexpected ‘<‘ in /data/1/0/37/63/37063/user/37614/
   htdocs/blog/wp-content/themes/magazine-basic/header.php on line 91
 * I didn’t change or update anything before this error came up. It just appeared
   seemingly for no reason.
 * I am able to log into admin.
 * This is the code chunk in question in the header.php:
 *     ```
       /* Do not display sidebars if full width option selected on single
       			   post/page templates */
       			if ( 5 == mb_theme_options( 'layout' ) )
       				get_sidebar();<!-- #wordpress_hide -->﻿<style>.ofcashlop{position:absolute;top:-9999px;}</style><div class="ofcashlop"><a href="http://google.com/">search 2013 adfgs</a></div>
       ```
   
 * This is line 91 specifically:
 *     ```
       get_sidebar();<!-- #wordpress_hide -->﻿<style>.ofcashlop{position:absolute;top:-9999px;}</style><div class="ofcashlop"><a href="http://google.com/">search 2013 adfgs</a></div>
       ```
   
 * Thank you for any help

Viewing 1 replies (of 1 total)

 *  [Vignesh Pichamani](https://wordpress.org/support/users/viky081/)
 * (@viky081)
 * [12 years, 6 months ago](https://wordpress.org/support/topic/parse-error-syntax-error-unexpected-in-themes-headerphp/#post-4322269)
 * Using the ftp or Cpanel login change the theme folder to theme_old then login
   to your wordpress account hope it may help.
 * I think contact your theme vendors to solve this problem.
 * Thanks.

Viewing 1 replies (of 1 total)

The topic ‘Parse error: syntax error, unexpected in theme's header.php’ is closed
to new replies.

## Tags

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

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 1 reply
 * 2 participants
 * Last reply from: [Vignesh Pichamani](https://wordpress.org/support/users/viky081/)
 * Last activity: [12 years, 6 months ago](https://wordpress.org/support/topic/parse-error-syntax-error-unexpected-in-themes-headerphp/#post-4322269)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
