Title: Please help me with syntax errors&#8211;T_STRING
Last modified: August 19, 2016

---

# Please help me with syntax errors–T_STRING

 *  [ahippychick](https://wordpress.org/support/users/ahippychick/)
 * (@ahippychick)
 * [17 years, 11 months ago](https://wordpress.org/support/topic/please-help-me-with-syntax-errors-t_string/)
 * I would love some help. I just installed a new theme and upgraded wordpress versions.
   Please don’t be mean because I’m really trying to fix this—I’m just new at it.
   [Here’s my Site](http://ahippychick.com)
 * **When I try to search** for anything, I get the following:
 * Parse error: syntax error, unexpected T_STRING in wp-content/themes/passion-1-
   1/passion-1-1/search.php on line 26
 * Here are lines 22-27 for reference
 * <?php endwhile; ?>
 *  <div class=”navigation”>
    <div class=”alignleft”><?php posts_nav_link(”,”,’«
   Previous Entries’) ?></div> <div class=”alignright”><?php posts_nav_link(”,’Next
   Entries »’,”) ?></div> </div>
 *  <?php else : ?>
 * **When anyone tries to comment** here’s what comes up:
 * Parse error: syntax error, unexpected T_STRING in wp-content/themes/passion-1-
   1/passion-1-1/comments.php on line 23
 * Here are lines 21-23 for reference
 * <?php foreach ($comments as $comment) : ?>
 *  <li class=”<?php echo $oddcomment; ?>” id=”comment-<?php comment_ID() ?>”>
    
   <?php comment_text(); ?>
 * **When anyone tries to click on a (pre existing) category** to read those posts,
   here’s what comes up:
 * Parse error: syntax error, unexpected T_STRING in wp-content/themes/passion-1-
   1/passion-1-1/archive.php on line 46
 * Here are lines 44-46 for reference
 * <?php else : ?>
 *  <h2 class=”center”>Not Found</h2>
    ERROR<p> </p>Search something maybe? <?php
   include (TEMPLATEPATH . ‘/searchform.php’); ?>
 * There’s more tweaking but those are the biggies. Thanks in advance for any help
   you can give me!

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

 *  [Cathy Mitchell](https://wordpress.org/support/users/multitalentedmommy/)
 * (@multitalentedmommy)
 * [17 years, 11 months ago](https://wordpress.org/support/topic/please-help-me-with-syntax-errors-t_string/#post-784263)
 * I went to look at your site, but the server is down.
 * If I were you, I’d do one of two things: 1) start fresh, download a new zipped
   version of your theme. Delete the old theme off your server and upload the new
   unzipped theme. Disable all plugins. And select your new theme in the design 
   admin screen. See what happens.
 * 2) I would get a new theme.
 * Sorry. Maybe someone else will have a quick fix. It just doesn’t seem to be worth
   looking into that many errors, OR it is up to the theme author to actually offer
   support on what they release to the public. So maybe try them if that theme is
   important to you.
 *  Thread Starter [ahippychick](https://wordpress.org/support/users/ahippychick/)
 * (@ahippychick)
 * [17 years, 11 months ago](https://wordpress.org/support/topic/please-help-me-with-syntax-errors-t_string/#post-784346)
 * Well, I did get a new theme and modified it. The only trouble I’m having right
   now is trying to figure out how to make everything show up (meta, blogroll) but
   at least the search and comment features work. THANKS!
 *  [Cathy Mitchell](https://wordpress.org/support/users/multitalentedmommy/)
 * (@multitalentedmommy)
 * [17 years, 11 months ago](https://wordpress.org/support/topic/please-help-me-with-syntax-errors-t_string/#post-784459)
 * Looks like you got it to work. I love the new theme (but I do love pink!) 🙂

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

The topic ‘Please help me with syntax errors–T_STRING’ is closed to new replies.

## Tags

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

 * 3 replies
 * 2 participants
 * Last reply from: [Cathy Mitchell](https://wordpress.org/support/users/multitalentedmommy/)
 * Last activity: [17 years, 11 months ago](https://wordpress.org/support/topic/please-help-me-with-syntax-errors-t_string/#post-784459)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
