Title: Dyad image post format error (Fatal error: Can&#039;t use function return value in)
Last modified: August 31, 2016

---

# Dyad image post format error (Fatal error: Can't use function return value in)

 *  [louisetabitha](https://wordpress.org/support/users/louisetabitha/)
 * (@louisetabitha)
 * [10 years, 3 months ago](https://wordpress.org/support/topic/dyad-image-post-format/)
 * Dear Support,
 * I’m using the Dyad theme, and there is a post which I would like to use the post
   format ‘image’ for.
 * When I select ‘image’ in the format window, update the post, and visit the page
   there is a error message called:
 *     ```
       Fatal error: Can't use function return value in write context in /home/tabitha-louise.nl/public_html/wp-content/themes/dyad-wpcom/template-parts/content-featured-img.php on line 22
       ```
   
 * The weird thing is, I also installed the same theme on another website, and I
   don’t have any problems with the Image post format over there… It works fluently,
   but I want to let it work on my own website to.
 * I know you need to pick ‘image’ in stead of ‘standard’ in the format window. 
   When I change the format back into ‘standard’ the error is gone, but then I got
   the lay-out with the picture in the left in stead of at the top.
 * The thing is, I would like to know how to fix this so I can create this:
    [http://lacapocuoca.at/2016/02/04/crostini_radicchio/](http://lacapocuoca.at/2016/02/04/crostini_radicchio/)
 * In stead of this:
    [http://lacapocuoca.at/2016/02/25/mein-lcc-amaretti-schokokuechlein/](http://lacapocuoca.at/2016/02/25/mein-lcc-amaretti-schokokuechlein/)
 * I also asked on wordpress.com but they direct me to here…
 * The blog I need help with is [tabitha-louise.nl](http://tabitha-louise.nl).

Viewing 1 replies (of 1 total)

 *  [ai913](https://wordpress.org/support/users/ai913/)
 * (@ai913)
 * [10 years, 2 months ago](https://wordpress.org/support/topic/dyad-image-post-format/#post-7125291)
 * OMG I have the same problem!
 * The only difference is, I don’t see the error message. I just see nothing but
   the header!
 * [http://chiu9interesting.com/en/2016/03/28/18th-mar-the-1st-flight-to-my-vietnamese-adventure/](http://chiu9interesting.com/en/2016/03/28/18th-mar-the-1st-flight-to-my-vietnamese-adventure/)

Viewing 1 replies (of 1 total)

The topic ‘Dyad image post format error (Fatal error: Can't use function return 
value in)’ is closed to new replies.

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 1 reply
 * 2 participants
 * Last reply from: [ai913](https://wordpress.org/support/users/ai913/)
 * Last activity: [10 years, 2 months ago](https://wordpress.org/support/topic/dyad-image-post-format/#post-7125291)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
