Title: Parse error in comments.php
Last modified: August 18, 2016

---

# Parse error in comments.php

 *  [onceeternal](https://wordpress.org/support/users/onceeternal/)
 * (@onceeternal)
 * [20 years, 11 months ago](https://wordpress.org/support/topic/parse-error-in-commentsphp/)
 * I am trying to creat an “about” page for my blog and I am getting this error:
 * Parse error: parse error, unexpected $ in /home/josh/public_html/blog/wp-content/
   themes/falling_dreams/comments.php on line 40
 * Here is what that line looks like:
 * <?php else : // this is displayed if there are no comments so far ?>
 * Any ideas? Thanks!

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

 *  [Mark (podz)](https://wordpress.org/support/users/podz/)
 * (@podz)
 * [20 years, 11 months ago](https://wordpress.org/support/topic/parse-error-in-commentsphp/#post-236372)
 * I’d suggest comparing what you are doing to the original file you have used. 
   Start at line 40 in each file and works upwards.
 *  [masquerade](https://wordpress.org/support/users/masquerade/)
 * (@masquerade)
 * [20 years, 11 months ago](https://wordpress.org/support/topic/parse-error-in-commentsphp/#post-236373)
 * `<?php } else : // this is displayed if there are no comments so far ?>`
 * You might try that, its just a guess based on the parse error.
 *  Thread Starter [onceeternal](https://wordpress.org/support/users/onceeternal/)
 * (@onceeternal)
 * [20 years, 10 months ago](https://wordpress.org/support/topic/parse-error-in-commentsphp/#post-236517)
 * masquerade – tryed that coding, still the same error.
 * here is the link : [http://onceeternal.com/blog/?page_id=15](http://onceeternal.com/blog/?page_id=15)

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

The topic ‘Parse error in comments.php’ is closed to new replies.

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 3 replies
 * 3 participants
 * Last reply from: [onceeternal](https://wordpress.org/support/users/onceeternal/)
 * Last activity: [20 years, 10 months ago](https://wordpress.org/support/topic/parse-error-in-commentsphp/#post-236517)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
