Title: Latest Version Parse Error
Last modified: August 22, 2016

---

# Latest Version Parse Error

 *  Resolved [jdnrms](https://wordpress.org/support/users/jdnrms/)
 * (@jdnrms)
 * [11 years, 2 months ago](https://wordpress.org/support/topic/latest-version-parse-error/)
 * Received the following error on update ‘Parse error: syntax error, unexpected‘[‘
   i/wp-content/plugins/validated-field-for-acf/validated_field_v5.php on line 369’
 * Resolved by changing on line 369:
 *     ```
       $index = explode( '][', $input )[1]; //Invalid syntax
       ```
   
 * to
 *     ```
       $index = explode( '][', $input );
       $index = $index[1];
       ```
   
 * [https://wordpress.org/plugins/validated-field-for-acf/](https://wordpress.org/plugins/validated-field-for-acf/)

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

 *  Plugin Author [doublesharp](https://wordpress.org/support/users/doublesharp/)
 * (@doublesharp)
 * [11 years, 2 months ago](https://wordpress.org/support/topic/latest-version-parse-error/#post-5913778)
 * Thanks, I’ll update this today. Would you mind letting me know what version of
   PHP you are running?
 *  Thread Starter [jdnrms](https://wordpress.org/support/users/jdnrms/)
 * (@jdnrms)
 * [11 years, 2 months ago](https://wordpress.org/support/topic/latest-version-parse-error/#post-5913779)
 * PHP 5.3.10-1ubuntu3.17 with Apache 2.2.22
 *  Plugin Author [doublesharp](https://wordpress.org/support/users/doublesharp/)
 * (@doublesharp)
 * [11 years, 2 months ago](https://wordpress.org/support/topic/latest-version-parse-error/#post-5913781)
 * That makes sense, it works fine for me but I tested on PHP 5.4. I included your
   fix and just tagged a new version 1.5.1. Thanks!

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

The topic ‘Latest Version Parse Error’ is closed to new replies.

 * ![](https://ps.w.org/validated-field-for-acf/assets/icon-256x256.png?rev=1116693)
 * [Advanced Custom Fields: Validated Field](https://wordpress.org/plugins/validated-field-for-acf/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/validated-field-for-acf/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/validated-field-for-acf/)
 * [Active Topics](https://wordpress.org/support/plugin/validated-field-for-acf/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/validated-field-for-acf/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/validated-field-for-acf/reviews/)

 * 3 replies
 * 2 participants
 * Last reply from: [doublesharp](https://wordpress.org/support/users/doublesharp/)
 * Last activity: [11 years, 2 months ago](https://wordpress.org/support/topic/latest-version-parse-error/#post-5913781)
 * Status: resolved