Title: Parse error: Syntax error, unexpected T_STRING  &#8211;  help!
Last modified: August 19, 2016

---

# Parse error: Syntax error, unexpected T_STRING – help!

 *  [flywrite](https://wordpress.org/support/users/flywrite/)
 * (@flywrite)
 * [15 years, 1 month ago](https://wordpress.org/support/topic/parse-error-syntax-error-unexpected-t_string-help-1/)
 * I’ve just been asked to help sort out a problem with my church’s website. It’s
   done with WordPress, but the administrator recently left and someone who doesn’t
   know web site stuff at all is running it. I suspect either she’s broken it somehow,
   or we’ve been hacked.
 * Website is: [http://www.allsaints-church.net](http://www.allsaints-church.net)
   
   It brings up message: Parse error: syntax error, unexpected T_STRING in /home/
   ascpot/public_html/wp-content/themes/all-saints/home.php on line 2
 * First few lines of home.php are:
 * <?php
    Template Name: Home Page
 * ?>
 * Any ideas?
 * Thanks
    Matt

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

 *  [Michael](https://wordpress.org/support/users/alchymyth/)
 * (@alchymyth)
 * [15 years, 1 month ago](https://wordpress.org/support/topic/parse-error-syntax-error-unexpected-t_string-help-1/#post-2026386)
 *     ```
       <?php
       /*
       Template Name: Home Page
       */
       ?>
       ```
   
 * [http://codex.wordpress.org/Pages#Creating_Your_Own_Page_Templates](http://codex.wordpress.org/Pages#Creating_Your_Own_Page_Templates)
 *  Thread Starter [flywrite](https://wordpress.org/support/users/flywrite/)
 * (@flywrite)
 * [15 years, 1 month ago](https://wordpress.org/support/topic/parse-error-syntax-error-unexpected-t_string-help-1/#post-2026408)
 * Thanks! That sorted that one, now I get a different one on line 35:
 * _[code moderated as per [forum rules ](http://codex.wordpress.org/Forum_Welcome)-
   please use the [pastebin](http://pastebin.com/).
    besides from keeping the forum
   tidy, the pastebin also shows line numbers]
 *  Thread Starter [flywrite](https://wordpress.org/support/users/flywrite/)
 * (@flywrite)
 * [15 years, 1 month ago](https://wordpress.org/support/topic/parse-error-syntax-error-unexpected-t_string-help-1/#post-2026409)
 * Parse error: syntax error, unexpected ‘/’ in /home/ascpot/public_html/wp-content/
   themes/all-saints/home.php on line 35
 *  Thread Starter [flywrite](https://wordpress.org/support/users/flywrite/)
 * (@flywrite)
 * [15 years, 1 month ago](https://wordpress.org/support/topic/parse-error-syntax-error-unexpected-t_string-help-1/#post-2026462)
 * Pastebin code for problem:
 * [http://pastebin.com/TQZvGN0M](http://pastebin.com/TQZvGN0M)

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

The topic ‘Parse error: Syntax error, unexpected T_STRING – help!’ is closed to 
new replies.

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 4 replies
 * 2 participants
 * Last reply from: [flywrite](https://wordpress.org/support/users/flywrite/)
 * Last activity: [15 years, 1 month ago](https://wordpress.org/support/topic/parse-error-syntax-error-unexpected-t_string-help-1/#post-2026462)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
