Title: Parse Error
Last modified: August 21, 2016

---

# Parse Error

 *  Resolved [gvasudeva](https://wordpress.org/support/users/gvasudeva/)
 * (@gvasudeva)
 * [13 years ago](https://wordpress.org/support/topic/parse-error-179/)
 * Hi, I installed a theme for making a wordpress website…. created my first page…&
   got this error message at the bottam …
    Parse error: syntax error, unexpected
   T_IF in/home/XXX/public_html/wp-content/themes/e+/e/sidebar-footer.php on line
   1…
 * Can someone please help…. as i am new to this..& trying to learn Thanks.

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

 *  [WPyogi](https://wordpress.org/support/users/wpyogi/)
 * (@wpyogi)
 * [13 years ago](https://wordpress.org/support/topic/parse-error-179/#post-3675918)
 * Are you able to still access the Dashboard and change themes? If so, just activate
   another theme.
 * If not, use FTP (or other file manager program your host uses) to delete the 
   theme from the themes folder.
 * Where did the theme come from?
 *  Thread Starter [gvasudeva](https://wordpress.org/support/users/gvasudeva/)
 * (@gvasudeva)
 * [13 years ago](https://wordpress.org/support/topic/parse-error-179/#post-3675922)
 * Yes.. i can access dashboard & can change themes as well…. But i need to use 
   this theme only as i bought it… This came from themeforest.com
 *  [stephaniek](https://wordpress.org/support/users/stephaniek/)
 * (@stephaniek)
 * [13 years ago](https://wordpress.org/support/topic/parse-error-179/#post-3675936)
 * Something in sidebar-footer.php, or something that is being pulled in on that
   file has a syntax problem. What is the code on the first line of that file (sidebar-
   footer.php)?
 *  Thread Starter [gvasudeva](https://wordpress.org/support/users/gvasudeva/)
 * (@gvasudeva)
 * [13 years ago](https://wordpress.org/support/topic/parse-error-179/#post-3675942)
 * This is what i think… Here it is….
 *     ```
       <?php/*** The Footer widget areas.**/?><?php/* The footer widget area is triggered if any of the areas	* have widgets. So let's check that first.	*	* If none of the sidebars have widgets, then let's bail early.	*/if (   ! is_active_sidebar( 'first-footer-widget-area'  )		&& ! is_active_sidebar( 'second-footer-widget-area' )		&& ! is_active_sidebar( 'third-footer-widget-area'  )		&& ! is_active_sidebar( 'fourth-footer-widget-area' )		&& ! is_active_sidebar( 'fifth-footer-widget-area' )		)return;// If we get this far, we have widgets. Let do this.?><div id="footer-widget-area-background"><div id="footer-widget-area" ><?php if ( is_active_sidebar( 'first-footer-widget-area' ) ) : ?><div id="first" class="widget-area"><ul class="xoxo"><?php dynamic_sidebar( 'first-footer-widget-area' ); ?></div><!-- #first .widget-area --><?php endif; ?><?php if ( is_active_sidebar( 'second-footer-widget-area' ) ) : ?><div id="second" class="widget-area"><ul class="xoxo"><?php dynamic_sidebar( 'second-footer-widget-area' ); ?></div><!-- #second .widget-area --><?php endif; ?><?php if ( is_active_sidebar( 'third-footer-widget-area' ) ) : ?><div id="third" class="widget-area"><ul class="xoxo"><?php dynamic_sidebar( 'third-footer-widget-area' ); ?></div><!-- #third .widget-area --><?php endif; ?><?php if ( is_active_sidebar( 'fourth-footer-widget-area' ) ) : ?><div id="fourth" class="widget-area"><ul class="xoxo"><?php dynamic_sidebar( 'fourth-footer-widget-area' ); ?></div><!-- #fourth .widget-area --><?php endif; ?><?php if ( is_active_sidebar( 'fifth-footer-widget-area' ) ) : ?><div id="fifth" class="widget-area"><ul class="xoxo"><?php dynamic_sidebar( 'fifth-footer-widget-area' ); ?></div><!-- #fifth .widget-area --><?php endif; ?></div><!-- #footer-widget-area --></div><!-- #footer-widget-area-background -->
       ```
   
 *  [WPyogi](https://wordpress.org/support/users/wpyogi/)
 * (@wpyogi)
 * [13 years ago](https://wordpress.org/support/topic/parse-error-179/#post-3675951)
 * Unfortunately, these forums don’t support commercial themes so can only suggest
   you contact the developer for help.
 *  Thread Starter [gvasudeva](https://wordpress.org/support/users/gvasudeva/)
 * (@gvasudeva)
 * [13 years ago](https://wordpress.org/support/topic/parse-error-179/#post-3675952)
 * 🙁
 *  [WPyogi](https://wordpress.org/support/users/wpyogi/)
 * (@wpyogi)
 * [13 years ago](https://wordpress.org/support/topic/parse-error-179/#post-3675960)
 * Theme Forest provides support for their themes – it’s part of what you paid for–
   so what is the problem with asking them?
 *  Thread Starter [gvasudeva](https://wordpress.org/support/users/gvasudeva/)
 * (@gvasudeva)
 * [13 years ago](https://wordpress.org/support/topic/parse-error-179/#post-3675963)
 * They couldnt help me much.. & that’s why i am here…!!
 *  [esmi](https://wordpress.org/support/users/esmi/)
 * (@esmi)
 * [13 years ago](https://wordpress.org/support/topic/parse-error-179/#post-3675972)
 * We do not support commercial themes as you paid for support when you bought the
   theme. It is not our place to keep theme vendors in business.
 *  [stephaniek](https://wordpress.org/support/users/stephaniek/)
 * (@stephaniek)
 * [13 years ago](https://wordpress.org/support/topic/parse-error-179/#post-3675996)
 * So, I see we aren’t supposed to help since it is a commercial theme……but……If 
   I were you, I would remove the comment at the beginning of the file. I didn’t
   try to troubleshoot the problem, but it stuck out to me as looking kind of messed
   up as I glanced at it. That’s all I will say and won’t post again in this thread(
   I don’t want to break rules and get in trouble!) 😉 😉

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

The topic ‘Parse Error’ is closed to new replies.

 * 10 replies
 * 4 participants
 * Last reply from: [stephaniek](https://wordpress.org/support/users/stephaniek/)
 * Last activity: [13 years ago](https://wordpress.org/support/topic/parse-error-179/#post-3675996)
 * Status: resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
