Title: unexpected T_ELSE error?
Last modified: August 19, 2016

---

# unexpected T_ELSE error?

 *  [hoss9009](https://wordpress.org/support/users/hoss9009/)
 * (@hoss9009)
 * [17 years, 2 months ago](https://wordpress.org/support/topic/unexpected-t_else-error/)
 * So i have this error [here](http://ericandcarmelita.com/about)….
 * everything SEEMS ok….
    here’s the page.php code..
 * > <?php get_header(); ?>
   >  <div id=”content-wrap”>
   >  <div id=”content-top”></div><!– end id=”content-top”–
   > > <div id=”content”>
   >  <?php if (have_posts()) : ?>
   >  <?php while (have_posts()) : the_post(); ?>
   >  <div class=”post”>
   >  <div class=”post-title”>
   >  <h2>” rel=”bookmark” title=”Permanent Link to <?
   > php the_title_attribute(); ?>”><?php the_title(); ?>
   > </h2>
   >  </div> <div class
   > =”entry”> <?php the_content(‘Read the rest of this entry »’); ?>
   >  <?php wp_link_pages(array(‘before’ => ‘<p>**Pages:** ‘, ‘after’ => ‘</p>’,‘
   > next_or_number’ => ‘number’)); ?>
   >  </div>
   >  <?php else : ?>
   >  <h2>Not Found</h2> <p>Sorry, but you are looking for something
   > that isn’t here.</p> <?php endif; ?>
   >  </div>
   >  </div><!– end id=”content”–>
   > <div id=”content-bottom”>
   >  <object width=”60″ height=”70″> <param name=”movie”
   > value=”images/site_by.swf”> <param name=”wmode” value=”transparent”> <embed
   > src=”images/site_by.swf” width=”60″ height=”70″> </embed> </object> </div><!–
   > end id=”content-bottom” –> </div><!– end id=”content-wrap”–> <?php get_sidebar();?
   > > <?php get_footer(); ?>

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

## Tags

 * [else](https://wordpress.org/support/topic-tag/else/)
 * [php](https://wordpress.org/support/topic-tag/php/)

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 0 replies
 * 1 participant
 * Last reply from: [hoss9009](https://wordpress.org/support/users/hoss9009/)
 * Last activity: [17 years, 2 months ago](https://wordpress.org/support/topic/unexpected-t_else-error/)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
