Title: Getting error on my first post
Last modified: August 30, 2016

---

# Getting error on my first post

 *  [sinna](https://wordpress.org/support/users/sinna/)
 * (@sinna)
 * [10 years, 11 months ago](https://wordpress.org/support/topic/getting-error-on-my-first-post/)
 * I just installed the theme on a fresh wordpress install.
 * Adjusted colors, then wrote my first post. It was saved successfully. When I 
   went to view post, I get
 * Fatal error: Can’t use function return value in write context in /home/******/
   themes/pixelhunter/content-single.php on line 52
 * Although the “hello world” post was displayed correctly and I actually only edited
   that…

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

 *  [Steve North](https://wordpress.org/support/users/tex0gen/)
 * (@tex0gen)
 * [10 years, 11 months ago](https://wordpress.org/support/topic/getting-error-on-my-first-post/#post-6233275)
 * Can you post the code from content-single.php?
 *  Thread Starter [sinna](https://wordpress.org/support/users/sinna/)
 * (@sinna)
 * [10 years, 11 months ago](https://wordpress.org/support/topic/getting-error-on-my-first-post/#post-6233294)
 * Line 52 states:
 *  if(!empty(get_the_tag_list())){ ?>
 * I am not planning on writing into the theme php files by the way. I am a tech
   newbie.
    Although I have read that this error has something to do with the empty()
   tag, so I am not surprised that I found it there.
 *  Thread Starter [sinna](https://wordpress.org/support/users/sinna/)
 * (@sinna)
 * [10 years, 11 months ago](https://wordpress.org/support/topic/getting-error-on-my-first-post/#post-6233369)
 * I just found the fix on the forum.
 * Replace line 52 with this:
    if(get_the_tag_list()){ ?>
 * It works now. But it’s bad that this issue, which makes the whole theme useless
   and nearly made me use another theme (hadn’t I liked it so much already) was 
   already known a week ago and no quick update has been issued.
 * Don’t want to complain, just think you should know I nearly deleted your theme
   again and others will probably do it if a major error like this occurs and they
   don’t take the time to search the web for a solution.
 *  [manu.uvce](https://wordpress.org/support/users/manuuvce/)
 * (@manuuvce)
 * [10 years, 10 months ago](https://wordpress.org/support/topic/getting-error-on-my-first-post/#post-6233600)
 * Thank you sinna,
 * Your fix helped me a lot. After spending so much time on adding images and setting
   colors this thing took me for a ride.
    Thanks for fix 🙂
 *  Thread Starter [sinna](https://wordpress.org/support/users/sinna/)
 * (@sinna)
 * [10 years, 10 months ago](https://wordpress.org/support/topic/getting-error-on-my-first-post/#post-6233602)
 * I am glad I could help, although I found it elsewhere 🙂
 * I have moved on to another plugin already though. It’s sad that you had that 
   issue even 2 weeks after it was posted on the official forum. They should have
   fixed it if they want their theme to be successful

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

The topic ‘Getting error on my first post’ 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/)

## Tags

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

 * 5 replies
 * 3 participants
 * Last reply from: [sinna](https://wordpress.org/support/users/sinna/)
 * Last activity: [10 years, 10 months ago](https://wordpress.org/support/topic/getting-error-on-my-first-post/#post-6233602)
 * Status: not resolved