Title: Parse Error
Last modified: August 22, 2016

---

# Parse Error

 *  [misharnet](https://wordpress.org/support/users/misharnet/)
 * (@misharnet)
 * [11 years, 9 months ago](https://wordpress.org/support/topic/parse-error-277/)
 * First I wasn’t sure if I supposed to create Topic in this forum or Coding, but
   this is themes forum so I decide to create it here.
 * I am creating my own theme based on a tutorial, and I get this error:
 * Parse error: syntax error, unexpected ‘;’ in C:\xampp\htdocs\…\single.php on 
   line 26
 * And my code on line 26 is:
 * `<?php if ( ('open' == $post->comment_status) && ('open' == $post->ping_status))://
   Comments and trackbacks open ?>`
 * What **“;”** is unexpected?!
 * If anyone is willing to help, I’ll be greatfull!

The topic ‘Parse Error’ is closed to new replies.

## Tags

 * [parse-error](https://wordpress.org/support/topic-tag/parse-error/)
 * [Themes](https://wordpress.org/support/topic-tag/themes/)

 * 0 replies
 * 1 participant
 * Last reply from: [misharnet](https://wordpress.org/support/users/misharnet/)
 * Last activity: [11 years, 9 months ago](https://wordpress.org/support/topic/parse-error-277/)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
