Title: Header.php problem
Last modified: August 19, 2016

---

# Header.php problem

 *  Resolved [iheartchopin](https://wordpress.org/support/users/iheartchopin/)
 * (@iheartchopin)
 * [17 years, 2 months ago](https://wordpress.org/support/topic/headerphp-problem/)
 * It’s my first time using WordPress and I’m having problems with making my own
   theme. When I uploaded it, WordPress keeps telling me that there is an error 
   on my last line. Could anyone skim over my coding and tell me what could be causing
   the error?
    [http://www.geocities.com/rubymoonss/header.txt](http://www.geocities.com/rubymoonss/header.txt)
 * The error I am getting is this:
    Parse error: syntax error, unexpected $end in/
   home/deutsch/public_html/wp-content/themes/1/header.php on line 67
 * Thanks.

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

 *  [stvwlf](https://wordpress.org/support/users/stvwlf/)
 * (@stvwlf)
 * [17 years, 2 months ago](https://wordpress.org/support/topic/headerphp-problem/#post-1017021)
 * 1) none of your `<p>`tags are closed with `</p>`
 * 2) there is no ending `</table>` tag
 * 3) down in the search section you start using `<li>` tags but there is no `<ul
   ></ul>`surrounding that section
 * 4)
    this
 *     ```
       if ( is_home() || is_page() ) { ?>
       				<?php wp_list_bookmarks(); ?>
       ```
   
 * is missing this at the end `<?php } ?>`
 * 5) this
 *     ```
       <?php 	/* Widgetized sidebar, if you have the plugin installed. */
       					if ( !function_exists('dynamic_sidebar') || !dynamic_sidebar() ) : ?>
       			<li>
       				<?php get_search_form(); ?>
       			</li>
       ```
   
 * needs something like this after it
    `<?php endif; ?>`
 *  Thread Starter [iheartchopin](https://wordpress.org/support/users/iheartchopin/)
 * (@iheartchopin)
 * [17 years, 2 months ago](https://wordpress.org/support/topic/headerphp-problem/#post-1017078)
 * Thank you so much for your help! That definitely solved it, except my posts are
   showing on two places of the site:
    [http://sachlichkeit.net/](http://sachlichkeit.net/)
 * Do you know what could be causing this?
 * Once again, thank you.

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

The topic ‘Header.php problem’ is closed to new replies.

 * 2 replies
 * 2 participants
 * Last reply from: [iheartchopin](https://wordpress.org/support/users/iheartchopin/)
 * Last activity: [17 years, 2 months ago](https://wordpress.org/support/topic/headerphp-problem/#post-1017078)
 * Status: resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
