Title: &quot;Parse error: syntax error, unexpected T_STRING in..&quot; after editing functions.ph
Last modified: August 22, 2016

---

# "Parse error: syntax error, unexpected T_STRING in.." after editing functions.ph

 *  Resolved [designinternet](https://wordpress.org/support/users/designinternet/)
 * (@designinternet)
 * [11 years, 4 months ago](https://wordpress.org/support/topic/parse-error-syntax-error-unexpected-t_string-in-after-editing-functionsph/)
 * Hi
 * I added a function to my Avada theme’s functions.php and removed it again and
   now it shows this error: Parse error: syntax error, unexpected T_STRING in REMOVEDURL/
   functions.php on line 389
 * Unfortunately i Cannot remember the function I added and deleted.
 * Can I fix this while keeping my settings and files somehow?
 * *Edit, I tried removing the function on line 389, and it came up with a bunch
   of different errors.

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

 *  [WPyogi](https://wordpress.org/support/users/wpyogi/)
 * (@wpyogi)
 * [11 years, 4 months ago](https://wordpress.org/support/topic/parse-error-syntax-error-unexpected-t_string-in-after-editing-functionsph/#post-5741258)
 * Download a new copy of your theme and replace that file using FTP or Cpanel (
   ask your hosting how to do that if you are not familiar).
 * Also note that support for commercial themes is with the developer –
    [http://codex.wordpress.org/Forum_Welcome#Commercial_Products](http://codex.wordpress.org/Forum_Welcome#Commercial_Products)
 *  Thread Starter [designinternet](https://wordpress.org/support/users/designinternet/)
 * (@designinternet)
 * [11 years, 4 months ago](https://wordpress.org/support/topic/parse-error-syntax-error-unexpected-t_string-in-after-editing-functionsph/#post-5741260)
 * Ah thank you!
 * I’ll try that, but for anyone curious, this is the action I added:
 * _[commercial theme code removed – please ask the developer if you need that level
   of support]_

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

The topic ‘"Parse error: syntax error, unexpected T_STRING in.." after editing functions.
ph’ is closed to new replies.

## Tags

 * [T_STRING](https://wordpress.org/support/topic-tag/t_string/)
 * [Unexpected](https://wordpress.org/support/topic-tag/unexpected/)

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 2 replies
 * 2 participants
 * Last reply from: [designinternet](https://wordpress.org/support/users/designinternet/)
 * Last activity: [11 years, 4 months ago](https://wordpress.org/support/topic/parse-error-syntax-error-unexpected-t_string-in-after-editing-functionsph/#post-5741260)
 * Status: resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
