Title: Getting syntax error in content-single.php
Last modified: August 24, 2016

---

# Getting syntax error in content-single.php

 *  Resolved [Inkers92](https://wordpress.org/support/users/inkers92/)
 * (@inkers92)
 * [11 years ago](https://wordpress.org/support/topic/getting-syntax-error-in-content-singlephp/)
 * Hi,
    Everything was working great on my site and then suddenly my posts were 
   not appearing. I tried turning off plugins etc but it didn’t work. When I turned
   on debugging I got an error saying Syntax error unexpected end of file in content-
   single.php line 1. I had a look over the code but can’t see anything obvious 
   but php is not my strength. I downloaded the theme again and replaced the content-
   single file via FTP without changing anything. However I got the same error again.
   I can’t find the bug. Any help would be great. Thanks.

Viewing 1 replies (of 1 total)

 *  [Hardeep Asrani](https://wordpress.org/support/users/hardeepasrani/)
 * (@hardeepasrani)
 * [11 years ago](https://wordpress.org/support/topic/getting-syntax-error-in-content-singlephp/#post-6128364)
 * Hi,
 * Were you able to fix it because I see it being resolved? 🙂
 * Regards,
    Hardeep

Viewing 1 replies (of 1 total)

The topic ‘Getting syntax error in content-single.php’ is closed to new replies.

 * ![](https://i0.wp.com/themes.svn.wordpress.org/zerif-lite/1.8.5.49/screenshot.
   png)
 * Zerif Lite
 * [Support Threads](https://wordpress.org/support/theme/zerif-lite/)
 * [Active Topics](https://wordpress.org/support/theme/zerif-lite/active/)
 * [Unresolved Topics](https://wordpress.org/support/theme/zerif-lite/unresolved/)
 * [Reviews](https://wordpress.org/support/theme/zerif-lite/reviews/)

 * 1 reply
 * 2 participants
 * Last reply from: [Hardeep Asrani](https://wordpress.org/support/users/hardeepasrani/)
 * Last activity: [11 years ago](https://wordpress.org/support/topic/getting-syntax-error-in-content-singlephp/#post-6128364)
 * Status: resolved