• Resolved Drew

    (@dbrysongchopeorg)


    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)
  • 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, please start your own thread.

    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.