Title: unexpected T_STRING ??
Last modified: August 18, 2016

---

# unexpected T_STRING ??

 *  [Sparky](https://wordpress.org/support/users/sparky/)
 * (@sparky)
 * [21 years, 1 month ago](https://wordpress.org/support/topic/unexpected-t_string/)
 * Parse error: parse error, unexpected T_STRING in /my path/wp/index.php on line
   77
 * the code on line 77 is
 *  <!–
    <?php trackback_rdf(); ?> –>
 * and i never touched it, so why is it not working? if it has to do with anything,
   i just installed the top/recent commenters thing, but idk….

Viewing 15 replies - 1 through 15 (of 21 total)

1 [2](https://wordpress.org/support/topic/unexpected-t_string/page/2/?output_format=md)
[→](https://wordpress.org/support/topic/unexpected-t_string/page/2/?output_format=md)

 *  [Avenir](https://wordpress.org/support/users/avenir/)
 * (@avenir)
 * [21 years, 1 month ago](https://wordpress.org/support/topic/unexpected-t_string/#post-179980)
 * The problem is probably an open parenthesis or a missing close-quote somewhere
   above that line in the code. Could you try saving the code of that page as a 
   text file and putting it up on your server so that we could look around in to
   find the missing symbols?
 *  [o-juice](https://wordpress.org/support/users/o-juice/)
 * (@o-juice)
 * [21 years, 1 month ago](https://wordpress.org/support/topic/unexpected-t_string/#post-179983)
 * Try looking at all the lines above line 77 for an unclosed `?>` tag or unclosed
   quotes (double and single) in the PHP code.
 *  [o-juice](https://wordpress.org/support/users/o-juice/)
 * (@o-juice)
 * [21 years, 1 month ago](https://wordpress.org/support/topic/unexpected-t_string/#post-179985)
 * This support forum is too fast! Not that it’s a bad thing, it’s just as soon 
   as I hit Send Post someone else has already beat me to it, doesn’t matter how
   fast I type. ;-P
 *  Thread Starter [Sparky](https://wordpress.org/support/users/sparky/)
 * (@sparky)
 * [21 years, 1 month ago](https://wordpress.org/support/topic/unexpected-t_string/#post-179986)
 * alright… also, when I tried modifying my comments file from the admin panel, 
   it said:
 * Warning: Cannot modify header information – headers already sent by (output started
   at /my path/wp/wp-content/plugins/get-commenters.php:116) in /my pathl/wp/wp-
   admin/templates.php on line 74
 * and line 74 is
 *  if (0 >= $num_people) { return; }
 *  [oriecat](https://wordpress.org/support/users/oriecat/)
 * (@oriecat)
 * [21 years, 1 month ago](https://wordpress.org/support/topic/unexpected-t_string/#post-179987)
 * happens to me allll the time 🙂
 *  [o-juice](https://wordpress.org/support/users/o-juice/)
 * (@o-juice)
 * [21 years, 1 month ago](https://wordpress.org/support/topic/unexpected-t_string/#post-179988)
 * The culprit for that error is usually whitespace and or black lines at the top
   of your page (i.e. right before your first `<?php` tag).
 *  Thread Starter [Sparky](https://wordpress.org/support/users/sparky/)
 * (@sparky)
 * [21 years, 1 month ago](https://wordpress.org/support/topic/unexpected-t_string/#post-179989)
 * [http://at-the-beginning.net/wp/index.txt](http://at-the-beginning.net/wp/index.txt)
   that’s my text file
 *  Thread Starter [Sparky](https://wordpress.org/support/users/sparky/)
 * (@sparky)
 * [21 years, 1 month ago](https://wordpress.org/support/topic/unexpected-t_string/#post-179990)
 * i mean thast my index file a a .txt
 *  [o-juice](https://wordpress.org/support/users/o-juice/)
 * (@o-juice)
 * [21 years, 1 month ago](https://wordpress.org/support/topic/unexpected-t_string/#post-179992)
 * Some more help and information on the problem can be found here: [http://codex.wordpress.org/Answers-Trouble_Shooting#Headers_already_sent](http://codex.wordpress.org/Answers-Trouble_Shooting#Headers_already_sent)
   and here: [](http://wordpress.org/support/topic.php?id=14863)
 *  [Avenir](https://wordpress.org/support/users/avenir/)
 * (@avenir)
 * [21 years, 1 month ago](https://wordpress.org/support/topic/unexpected-t_string/#post-179993)
 * Sparky, I get an error when trying to view that.
 *  [o-juice](https://wordpress.org/support/users/o-juice/)
 * (@o-juice)
 * [21 years, 1 month ago](https://wordpress.org/support/topic/unexpected-t_string/#post-179994)
 * Sparky: I think your .htaccess/permalink set up is just ignoring whatever gets
   put in after `../wp/` and trying to load `index.php` which naturally still gives
   an error because of the problem mentioned in your first post. Could you perhaps
   host the text file somewhere else?
 *  Thread Starter [Sparky](https://wordpress.org/support/users/sparky/)
 * (@sparky)
 * [21 years, 1 month ago](https://wordpress.org/support/topic/unexpected-t_string/#post-179995)
 * Oopss I spelled it wrong. [http://at-the-beginning.net/wp/indextxt.txt](http://at-the-beginning.net/wp/indextxt.txt)
 * I fixed the header thing though, thanks.
 *  [o-juice](https://wordpress.org/support/users/o-juice/)
 * (@o-juice)
 * [21 years, 1 month ago](https://wordpress.org/support/topic/unexpected-t_string/#post-179999)
 * Eek! No wonder! o_O
 * Lines 47 to 54 should be at line 5 (over-write lines 5 to 7 since they’re redundant).
   Configure the title of your blog in your admin section rather than hard-coding
   it into your index.php.
 *  Thread Starter [Sparky](https://wordpress.org/support/users/sparky/)
 * (@sparky)
 * [21 years, 1 month ago](https://wordpress.org/support/topic/unexpected-t_string/#post-180004)
 * What? What do I do to this? This is lines 47-54
 * <meta http-equiv=”Content-Type” content=”text/html; charset=<?php bloginfo(‘charset’);?
   >” />
    <meta name=”generator” content=”WordPress <?php bloginfo(‘version’); ?
   >” /> <!– leave this for stats –><link rel=”alternate” type=”application/rss+
   xml” href=”<?php bloginfo(‘rss2_url’); ?>” /> <link rel=”alternate” type=”text/
   xml” href=”<?php bloginfo(‘rss_url’); ?>” /> <link rel=”alternate” type=”application/
   atom+xml” href=”<?php bloginfo(‘atom_url’); ?>” /> <link rel=”pingback” href=”
   <?php bloginfo(‘pingback_url’); ?>” /> <?php wp_get_archives(‘type=monthly&format
   =link’); ?> <?php //comments_popup_script(); // off by default ?> <?php wp_head();?
   >
 * I’m new with PHP, so I didn’t get that. 🙂
 *  Thread Starter [Sparky](https://wordpress.org/support/users/sparky/)
 * (@sparky)
 * [21 years, 1 month ago](https://wordpress.org/support/topic/unexpected-t_string/#post-180008)
 * I updated the .txt

Viewing 15 replies - 1 through 15 (of 21 total)

1 [2](https://wordpress.org/support/topic/unexpected-t_string/page/2/?output_format=md)
[→](https://wordpress.org/support/topic/unexpected-t_string/page/2/?output_format=md)

The topic ‘unexpected T_STRING ??’ is closed to new replies.

 * 21 replies
 * 8 participants
 * Last reply from: [allberto](https://wordpress.org/support/users/allberto/)
 * Last activity: [19 years, 5 months ago](https://wordpress.org/support/topic/unexpected-t_string/page/2/#post-180597)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
