Hey. Also had this issue when upgrading some sites to PHP7. Making the following change fixes the issue. Please update the plugin with the change (if you agree it does the job).
In line 45 of the “geolocation-detector-for-gravity-forms.php” file:
Change:
$max_chars = self::get_counter_script($form_id, $field_id, $field[“maxLength”]);
To:
$max_chars = $this->get_counter_script($form_id, $field_id, $field[“maxLength”]);
Thank you, Patrick. That worked perfectly.
Thanks for the heads up. Changed all relevant PHP code to jQuery (AJAX) and it’s working wonderfully now.
Thanks. I’ll look into that and report back when I’ve got results