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

---

# Parse error: syntax error, unexpected T_CONSTANT_ENCAPSED_STRING

 *  Resolved [Drew](https://wordpress.org/support/users/dbrysongchopeorg/)
 * (@dbrysongchopeorg)
 * [12 years, 4 months ago](https://wordpress.org/support/topic/parse-error-syntax-error-unexpected-t_constant_encapsed_string-5/)
 * Please help! I don’t have any PHP experience and now I am stuck on this error.
 * Parse error: syntax error, unexpected T_CONSTANT_ENCAPSED_STRING in /home/gchope/
   public_html/wp-content/themes/gch/header.php on line 151
 * Here is line 151 from this file:
 * `Cufon.replace('h1:not(.no-cufon)', {fontFamily: '<?php echo $actual_font ?>'
   <?php string_( ', fontSize: '', get_option_fontsize( 'h1' ), 'px'' ) ?>});`

Viewing 1 replies (of 1 total)

 *  [Pioneer Web Design](https://wordpress.org/support/users/swansonphotos/)
 * (@swansonphotos)
 * [12 years, 4 months ago](https://wordpress.org/support/topic/parse-error-syntax-error-unexpected-t_constant_encapsed_string-5/#post-4459570)
 * > How do you figure where line 151 was?
 * By downloading _/wp-content/themes/gch/header.php_ using an FTP Client such as
   FileZilla or your host provided file management tool(s) and then opening with
   an editor such as NotePad++ that has line #’s.
 * Since more than one are having this issue, it may be more related to a conflict
   of a theme with version of WP in use or a common plugin.
 * That said, folks should start a new thread, & not hop on others, as even though
   the issue(s) may seem the same, often they are not.
 * Hence this: [@chicospico](https://wordpress.org/support/users/chicospico/), please
   start your own thread.
 * [http://codex.wordpress.org/Forum_Welcome#Where_To_Post](http://codex.wordpress.org/Forum_Welcome#Where_To_Post)

Viewing 1 replies (of 1 total)

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

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 1 reply
 * 2 participants
 * Last reply from: [Pioneer Web Design](https://wordpress.org/support/users/swansonphotos/)
 * Last activity: [12 years, 4 months ago](https://wordpress.org/support/topic/parse-error-syntax-error-unexpected-t_constant_encapsed_string-5/#post-4459570)
 * Status: resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
