Title: PHP 7.2 compatible
Last modified: April 7, 2018

---

# PHP 7.2 compatible

 *  Resolved [phj123](https://wordpress.org/support/users/phj123/)
 * (@phj123)
 * [8 years, 1 month ago](https://wordpress.org/support/topic/php-7-2-compatible/)
 * Can you please make your plugin work on PHP 7.2 as it is now wordpress standard:
   [https://srd.wordpress.org/about/requirements/](https://srd.wordpress.org/about/requirements/)
 * That would be great 😀

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

 *  [Amritansh Trivedi](https://wordpress.org/support/users/amritanshatwisetr/)
 * (@amritanshatwisetr)
 * [8 years, 1 month ago](https://wordpress.org/support/topic/php-7-2-compatible/#post-10158570)
 * Hi [@phj123](https://wordpress.org/support/users/phj123/),
 * We are testing real-time validation over php 7.2 and soon release a version with
   official compatibility.
    Also, till now we have not found any such bugs on the
   latest php version, if you find any then please report here.
 * Thanks.
 *  Thread Starter [phj123](https://wordpress.org/support/users/phj123/)
 * (@phj123)
 * [8 years, 1 month ago](https://wordpress.org/support/topic/php-7-2-compatible/#post-10159657)
 * Great news, yes after updating to 7.2 I get this error in my console and the 
   validation stops working:
 * Uncaught SyntaxError: Unexpected roken <
 *  var jqr = jQuery; var f3 = new LiveValidation(“input_11_3″,jqr.extend({validMessage:”“,
   jqObj: jqr,fieldType:”text” },additional_data )); all_validations[11][3] = f3;
   f3.add(Validate.Presence,{ failureMessage: “This field is required.”,validMessage:””,
   jqObj: jqr });<br />
 *  Thread Starter [phj123](https://wordpress.org/support/users/phj123/)
 * (@phj123)
 * [8 years, 1 month ago](https://wordpress.org/support/topic/php-7-2-compatible/#post-10184398)
 * Please let me know if you could replicate the issue and when you update to full
   php 7.2 support.
 * Really like your plugin can i donate maybe send me your paypal and i will send
   coffee.. 🙂
    -  This reply was modified 8 years, 1 month ago by [phj123](https://wordpress.org/support/users/phj123/).
 *  [Amritansh Trivedi](https://wordpress.org/support/users/amritanshatwisetr/)
 * (@amritanshatwisetr)
 * [8 years, 1 month ago](https://wordpress.org/support/topic/php-7-2-compatible/#post-10184623)
 * Hi,
 * I am not be able to replicate this issue on my end.
    Could you provide us little
   more detail about the issue & provide a form export.
 * Thanks.
 *  Thread Starter [phj123](https://wordpress.org/support/users/phj123/)
 * (@phj123)
 * [8 years, 1 month ago](https://wordpress.org/support/topic/php-7-2-compatible/#post-10188084)
 * Is there an email address so I can zip the form export and send it over?
 * Thank you 🙂
 *  [Amritansh Trivedi](https://wordpress.org/support/users/amritanshatwisetr/)
 * (@amritanshatwisetr)
 * [8 years, 1 month ago](https://wordpress.org/support/topic/php-7-2-compatible/#post-10195152)
 * Hi,
 * You can mail us at [support@wisetr.com](https://wordpress.org/support/topic/php-7-2-compatible/support@wisetr.com?output_format=md).
 * Thanks.
 *  Thread Starter [phj123](https://wordpress.org/support/users/phj123/)
 * (@phj123)
 * [8 years, 1 month ago](https://wordpress.org/support/topic/php-7-2-compatible/#post-10207280)
 * It is because of error, since $field[‘inputs’] contains a void.
 * Can you change this in the next update so it is php 7.2.4 compatible?
 * Change:
 * real-time-validation-for-gravity-forms/public/class-gravity-forms-live-validation.
   php:176
 * before: if ($field[‘type’] == “email” && count($field[‘inputs’]) > 1) {
 * after: if ($field[‘type’] == “email” && !empty($field[‘inputs’]) && count($field[‘
   inputs’]) > 1) {
 *  [Amritansh Trivedi](https://wordpress.org/support/users/amritanshatwisetr/)
 * (@amritanshatwisetr)
 * [8 years, 1 month ago](https://wordpress.org/support/topic/php-7-2-compatible/#post-10229470)
 * Hi [@phj123](https://wordpress.org/support/users/phj123/),
 * Yes, we just pushed an update with the PHP 7.2 compatibilities.
    Just update 
   and test once.
 * Thanks for taking the keen interest in making the plugin better.
 * Thanks!

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

The topic ‘PHP 7.2 compatible’ is closed to new replies.

 * ![](https://ps.w.org/real-time-validation-for-gravity-forms/assets/icon-256x256.
   jpg?rev=1472411)
 * [Real Time Validation for Gravity Forms](https://wordpress.org/plugins/real-time-validation-for-gravity-forms/)
 * [Support Threads](https://wordpress.org/support/plugin/real-time-validation-for-gravity-forms/)
 * [Active Topics](https://wordpress.org/support/plugin/real-time-validation-for-gravity-forms/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/real-time-validation-for-gravity-forms/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/real-time-validation-for-gravity-forms/reviews/)

 * 8 replies
 * 2 participants
 * Last reply from: [Amritansh Trivedi](https://wordpress.org/support/users/amritanshatwisetr/)
 * Last activity: [8 years, 1 month ago](https://wordpress.org/support/topic/php-7-2-compatible/#post-10229470)
 * Status: resolved