Title: Parse error: syntax error, unexpected T_ELSE in
Last modified: August 21, 2016

---

# Parse error: syntax error, unexpected T_ELSE in

 *  Resolved [anal](https://wordpress.org/support/users/anal/)
 * (@anal)
 * [12 years, 9 months ago](https://wordpress.org/support/topic/parse-error-syntax-error-unexpected-t_else-in/)
 * Hi!
 * I was trying to delete some code when I screwed things up big time.
 * Here’s what I was working on:
 *  <h1><?php if ($site_slogan) echo stripslashes($site_slogan);”Modern minimalist
   design with professional look, great choice for your business site, portfolio
   site, or personal site” else echo;?></h1>
 * Can you tell me what I did wrong to cause this error? I actually don’t want any
   site slogan so was attempting to delete the “modern…”
 * Thank you for your help

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

 *  [WPyogi](https://wordpress.org/support/users/wpyogi/)
 * (@wpyogi)
 * [12 years, 9 months ago](https://wordpress.org/support/topic/parse-error-syntax-error-unexpected-t_else-in/#post-4058653)
 * What theme are you using? You should be able to replace that file using FTP to
   access your theme files –
 *     ```
       wp-content
           themes
               your_theme
       ```
   
 *  Thread Starter [anal](https://wordpress.org/support/users/anal/)
 * (@anal)
 * [12 years, 9 months ago](https://wordpress.org/support/topic/parse-error-syntax-error-unexpected-t_else-in/#post-4058658)
 * Thank you for your response
 * Ugh. I know very minimal about code and shouldn’t have been messing with it in
   the first place. I haven’t a clue of what you are talking about.
 * I do know the theme is Vulcan.
 * i do know that In the code I pasted above, there is something missing or not 
   place correctly that is causing the error
 *  [WPyogi](https://wordpress.org/support/users/wpyogi/)
 * (@wpyogi)
 * [12 years, 9 months ago](https://wordpress.org/support/topic/parse-error-syntax-error-unexpected-t_else-in/#post-4058660)
 * Where did you get that theme from? You’ll probably have to deactivate/delete 
   the theme and then reinstall it.
 * Where is your site hosted? Do you have FTP or Cpanel access to your site files
   on the server? You’ll need to get that set up and then find your theme’s folder
   and change the name on it:
 *     ```
       wp-content
           themes
              vulcan.HOLD
       ```
   
 * That should let you login again.
 *  Thread Starter [anal](https://wordpress.org/support/users/anal/)
 * (@anal)
 * [12 years, 9 months ago](https://wordpress.org/support/topic/parse-error-syntax-error-unexpected-t_else-in/#post-4058662)
 * Awesome. Thank you!

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

The topic ‘Parse error: syntax error, unexpected T_ELSE in’ is closed to new replies.

## Tags

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

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 4 replies
 * 2 participants
 * Last reply from: [anal](https://wordpress.org/support/users/anal/)
 * Last activity: [12 years, 9 months ago](https://wordpress.org/support/topic/parse-error-syntax-error-unexpected-t_else-in/#post-4058662)
 * Status: resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
