Title: syntax error
Last modified: August 20, 2016

---

# syntax error

 *  [chreed](https://wordpress.org/support/users/chreed/)
 * (@chreed)
 * [14 years, 4 months ago](https://wordpress.org/support/topic/syntax-error-34/)
 * Hey guys. I removed a piece of coding from my Mantra-admin-Functions and now 
   my WordPress homepage for my site is displaying only this message so I can’t 
   put it back:
 * Parse error: syntax error, unexpected T_STRING in /home/hiwezcom/public_html/
   cms/wp-content/themes/mantra/admin/mantra-admin-functions.php on line 87
 * Does anyone know how to fix this? Cus I’m really not savvi with code!
 * Any help is appreciated!

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

 *  [esmi](https://wordpress.org/support/users/esmi/)
 * (@esmi)
 * [14 years, 4 months ago](https://wordpress.org/support/topic/syntax-error-34/#post-2548803)
 * Re-upload a fresh copy of the theme to wp-content/themes using FTP.
 *  Thread Starter [chreed](https://wordpress.org/support/users/chreed/)
 * (@chreed)
 * [14 years, 4 months ago](https://wordpress.org/support/topic/syntax-error-34/#post-2548810)
 * this is going to sound like an awful question and I’m really sorry but how do
   I do that?
 *  [esmi](https://wordpress.org/support/users/esmi/)
 * (@esmi)
 * [14 years, 4 months ago](https://wordpress.org/support/topic/syntax-error-34/#post-2548813)
 * You will need to learn how to use [FTP](http://codex.wordpress.org/FTP_Clients)
   or whatever file management application your host provides. If in doubt, ask 
   your hosts for advice or consult their hosting documentation.
 *  Thread Starter [chreed](https://wordpress.org/support/users/chreed/)
 * (@chreed)
 * [14 years, 4 months ago](https://wordpress.org/support/topic/syntax-error-34/#post-2548820)
 * Submitted a ticket but fixed it before they responded, I went through my File
   Management on my Host Site and deleted the theme, then my website reverted back
   to it’s original theme and I reinstalled Mantra and all my presets had stayed
   the same. Awesome.
 * Wouldn’t have had the balls to do it without your direction Esmi, thanks so much
 *  [esmi](https://wordpress.org/support/users/esmi/)
 * (@esmi)
 * [14 years, 4 months ago](https://wordpress.org/support/topic/syntax-error-34/#post-2548856)
 * Hey – you fixed it yourself. Just glad I could help a little. 🙂
 *  [yourethebestpersoniknow](https://wordpress.org/support/users/yourethebestpersoniknow/)
 * (@yourethebestpersoniknow)
 * [14 years, 3 months ago](https://wordpress.org/support/topic/syntax-error-34/#post-2549120)
 * Hi I have the same problem, the error message is
 * Parse error: syntax error, unexpected ‘<‘ in /homepages/41/d386780102/htdocs/
   app386780115/wp-content/themes/mansion/includes/theme-js.php on line 94
 * and i cannot go back to change it nor log into my dahsboard. it happened after
   i accidentally edited my theme.
 * i am using 1and1 webhosting and have used ftp before to upload this current theme.
   i did a lot of CSS customization so im scared to delete the theme and upload 
   it again. i have recently backed up my website using the ezpz plugin and the 
   folder is on my dropbox and also on my hardrive. i wonder if i can restore my
   website using the backup even though i cannot log in? is there a way to do that?
 * if not, and i have to use ftp to upload the new theme, can someone please guide
   me step by step as i am quite worried of making another mistake at this point.
   thanks SO MUCH!
 *  [yourethebestpersoniknow](https://wordpress.org/support/users/yourethebestpersoniknow/)
 * (@yourethebestpersoniknow)
 * [14 years, 3 months ago](https://wordpress.org/support/topic/syntax-error-34/#post-2549121)
 * background info: i tried to log in through my host site but it’s the same problem
   with only the error message showing up. i dont know how to delete the theme via
   my host site. there seems only to be the option to uninstall the wordpress application.
   again, i really need help and if anyone can guide me, that would be awesome 🙂
 *  [yourethebestpersoniknow](https://wordpress.org/support/users/yourethebestpersoniknow/)
 * (@yourethebestpersoniknow)
 * [14 years, 3 months ago](https://wordpress.org/support/topic/syntax-error-34/#post-2549122)
 * nevermind i figured it out through my host. thanks anyway!!

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

The topic ‘syntax error’ is closed to new replies.

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 8 replies
 * 3 participants
 * Last reply from: [yourethebestpersoniknow](https://wordpress.org/support/users/yourethebestpersoniknow/)
 * Last activity: [14 years, 3 months ago](https://wordpress.org/support/topic/syntax-error-34/#post-2549122)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
