Title: syntax error
Last modified: August 22, 2016

---

# syntax error

 *  Resolved [k k](https://wordpress.org/support/users/kk319/)
 * (@kk319)
 * [11 years, 5 months ago](https://wordpress.org/support/topic/syntax-error-103/)
 * Where is What mistake?
 *     ```
       if( have_rows('images') && get_field('images')[0]['image'] ):
       $image = wp_get_attachment_image_src(get_field('images')[0]['image'], 'large');
       echo '<img class="thumbnail" src="' . $image[0] . '">';
       else :
       echo '<img class="thumbnail" src="images.png">';
       endif;
       ```
   
 * Best regards

Viewing 1 replies (of 1 total)

 *  Thread Starter [k k](https://wordpress.org/support/users/kk319/)
 * (@kk319)
 * [11 years, 5 months ago](https://wordpress.org/support/topic/syntax-error-103/#post-5623631)
 * change php version 5.4

Viewing 1 replies (of 1 total)

The topic ‘syntax error’ is closed to new replies.

## Tags

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

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 1 reply
 * 1 participant
 * Last reply from: [k k](https://wordpress.org/support/users/kk319/)
 * Last activity: [11 years, 5 months ago](https://wordpress.org/support/topic/syntax-error-103/#post-5623631)
 * Status: resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
