Title: Parse error: syntax error, unexpected T_STRING in functions.php
Last modified: August 20, 2016

---

# Parse error: syntax error, unexpected T_STRING in functions.php

 *  Resolved [chris-uk](https://wordpress.org/support/users/chris-uk/)
 * (@chris-uk)
 * [14 years, 8 months ago](https://wordpress.org/support/topic/parse-error-syntax-error-unexpected-t_string-in-functionsphp/)
 * Hello, I have a very very big problem here.
 * I was working on how to change the date on every post, but suddendly, I saved
   and I have got this error:
 * Parse error: syntax error, unexpected T_STRING in /home/content/33/7499733/html/
   wp-content/themes/twentyeleven/functions.php on line 566
 * I’ll give you more information:
 * – my website is [http://www.fixingthebug.com](http://www.fixingthebug.com)
    –
   the version is 3.2.1 – My theme is Twenty-eleven – if I open that file (functions.
   php) via Filezilla, the line 566 is this: _[Code moderated as per the [Forum Rules](http://codex.wordpress.org/Forum_Welcome#Posting_Code).
   Please use the [pastebin](http://wordpress.pastebin.com/)]_
 * – I can’t access the website, can’t do anything. Don’t know what to do. It never
   happened to me before.
 * Please if you have ideas, please tell me, my website is not working anymore!!!
 * Thanks
    Chris

Viewing 1 replies (of 1 total)

 *  Thread Starter [chris-uk](https://wordpress.org/support/users/chris-uk/)
 * (@chris-uk)
 * [14 years, 8 months ago](https://wordpress.org/support/topic/parse-error-syntax-error-unexpected-t_string-in-functionsphp/#post-2297247)
 * solved, I just pasted the old functions.php
    Don’t know why I have other stuff
   in that file…

Viewing 1 replies (of 1 total)

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

## Tags

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

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 1 reply
 * 1 participant
 * Last reply from: [chris-uk](https://wordpress.org/support/users/chris-uk/)
 * Last activity: [14 years, 8 months ago](https://wordpress.org/support/topic/parse-error-syntax-error-unexpected-t_string-in-functionsphp/#post-2297247)
 * Status: resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
