Title: Single posts not working &#8211; blank
Last modified: August 30, 2016

---

# Single posts not working – blank

 *  Resolved [Ashish](https://wordpress.org/support/users/ashishrox/)
 * (@ashishrox)
 * [10 years, 11 months ago](https://wordpress.org/support/topic/single-posts-not-working-blank/)
 * I installed this theme yesterday.The Main page works fine but single posts are
   all blank except header image. I have a couple of other themes and they are working
   fine. How do i solve this?

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

 *  [Andrew Nevins](https://wordpress.org/support/users/anevins/)
 * (@anevins)
 * WCLDN 2018 Contributor | Volunteer support
 * [10 years, 11 months ago](https://wordpress.org/support/topic/single-posts-not-working-blank/#post-6212483)
 * Can you link to a page with the issue? The demo seems to work:
    1. [http://wp-themes.com/pixelhunter/](http://wp-themes.com/pixelhunter/)
   2. [https://wp-themes.com/?p=36](https://wp-themes.com/?p=36)
 *  Thread Starter [Ashish](https://wordpress.org/support/users/ashishrox/)
 * (@ashishrox)
 * [10 years, 11 months ago](https://wordpress.org/support/topic/single-posts-not-working-blank/#post-6212499)
 * yeah, please look at solitude.in
 *  [Andrew Nevins](https://wordpress.org/support/users/anevins/)
 * (@anevins)
 * WCLDN 2018 Contributor | Volunteer support
 * [10 years, 11 months ago](https://wordpress.org/support/topic/single-posts-not-working-blank/#post-6212503)
 * Does the issue persist with all plugins deactivated?
 *  Thread Starter [Ashish](https://wordpress.org/support/users/ashishrox/)
 * (@ashishrox)
 * [10 years, 11 months ago](https://wordpress.org/support/topic/single-posts-not-working-blank/#post-6212506)
 * yes it does. i even deleted the theme from themes folder and did a fresh install.
   problem still persists 🙁
 *  [Andrew Nevins](https://wordpress.org/support/users/anevins/)
 * (@anevins)
 * WCLDN 2018 Contributor | Volunteer support
 * [10 years, 11 months ago](https://wordpress.org/support/topic/single-posts-not-working-blank/#post-6212508)
 * Can you access your website’s error logs? Your hosting providers can help you
   find them. When you find them, could you copy all of the logs and paste them 
   into [PasteBin](http://pastebin.com/) and link us that PasteBin page?
 *  Thread Starter [Ashish](https://wordpress.org/support/users/ashishrox/)
 * (@ashishrox)
 * [10 years, 11 months ago](https://wordpress.org/support/topic/single-posts-not-working-blank/#post-6212516)
 * this was in error log, repeated –
 * PHP Fatal error: Can’t use function return value in write context in /~/~/~/solitude.
   in/public_html/wp-content/themes/pixelhunter/content-single.php on line 52, referer:
   hxxp://www.solitude.in/
 *  [Andrew Nevins](https://wordpress.org/support/users/anevins/)
 * (@anevins)
 * WCLDN 2018 Contributor | Volunteer support
 * [10 years, 11 months ago](https://wordpress.org/support/topic/single-posts-not-working-blank/#post-6212519)
 * Can you edit that file? Try replacing line 52 of that file with this:
 *     ```
       if(get_the_tag_list()){ ?>
       ```
   
 *  Thread Starter [Ashish](https://wordpress.org/support/users/ashishrox/)
 * (@ashishrox)
 * [10 years, 11 months ago](https://wordpress.org/support/topic/single-posts-not-working-blank/#post-6212536)
 * Thanks, that worked ! tag listing was messing with php ( i guess)
 *  [Andrew Nevins](https://wordpress.org/support/users/anevins/)
 * (@anevins)
 * WCLDN 2018 Contributor | Volunteer support
 * [10 years, 11 months ago](https://wordpress.org/support/topic/single-posts-not-working-blank/#post-6212545)
 * If this was not an issue in the previous version of the theme, I think maybe “
   get_the_tag_list” function was updated by WordPress and its return value was 
   changed.
 * So you can’t use this:
 *     ```
       if(!empty(get_the_tag_list())){ ?>
       ```
   
 * Which is basically the same as this:
 *     ```
       if(get_the_tag_list()){ ?>
       ```
   
 *  Theme Author [Hemant Acharya](https://wordpress.org/support/users/hemant-acharya/)
 * (@hemant-acharya)
 * [10 years, 11 months ago](https://wordpress.org/support/topic/single-posts-not-working-blank/#post-6212552)
 * Hi,
 * [@ashish](https://wordpress.org/support/users/ashish/) I will update the theme
   ASAP. And yeah Andrew’s code above must pretty much solve the problem.
 * [@andrew](https://wordpress.org/support/users/andrew/) WordPress is okay. Nothing
   was changed. My bad that I used empty function with get_the_tag_list().
 * According to php.net
 * > Prior to PHP 5.5, empty() only supports variables; anything else will result
   > in a parse error.
 * It worked perfectly well on my local install as my PHP was 5.5, same for the 
   theme preview. So didn’t know this problem existed.
 * Thanks
    -Hemant
 *  Thread Starter [Ashish](https://wordpress.org/support/users/ashishrox/)
 * (@ashishrox)
 * [10 years, 11 months ago](https://wordpress.org/support/topic/single-posts-not-working-blank/#post-6212558)
 * thank you both [@andrew](https://wordpress.org/support/users/andrew/) [@hemant](https://wordpress.org/support/users/hemant/)
   Acharya

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

The topic ‘Single posts not working – blank’ is closed to new replies.

 * ![](https://i0.wp.com/themes.svn.wordpress.org/pixelhunter/0.1.8/screenshot.png)
 * PixelHunter
 * [Support Threads](https://wordpress.org/support/theme/pixelhunter/)
 * [Active Topics](https://wordpress.org/support/theme/pixelhunter/active/)
 * [Unresolved Topics](https://wordpress.org/support/theme/pixelhunter/unresolved/)
 * [Reviews](https://wordpress.org/support/theme/pixelhunter/reviews/)

 * 11 replies
 * 3 participants
 * Last reply from: [Ashish](https://wordpress.org/support/users/ashishrox/)
 * Last activity: [10 years, 11 months ago](https://wordpress.org/support/topic/single-posts-not-working-blank/#post-6212558)
 * Status: resolved