• Resolved Ivan

    (@ice1000000)


    I can not activate it, I get this error: PHP message: PHP Fatal error: Cannot use “self” when no class scope is active in /www/site_442/public/wp-content/plugins/geolocation-detector-for-gravity-forms/geolocation-detector-for-gravity-forms.php on line 45

    Here’s what in line 45:
    $max_chars = self::get_counter_script($form_id, $field_id, $field[“maxLength”]);

    David, how can this be remedied?

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author David Davis

    (@dcgws)

    Hi @ice1000000

    Are you using PHP 7? I’ve made an adjustment to the code. Please let me know if this addresses the issue.

    Best
    David

    hai david i am facing the same problem again.
    Fatal error: Cannot use “self” when no class scope is active in /var/www/html/wp-content/plugins/geolocation-detector-for-gravity-forms-master/geolocation-detector-for-gravity-forms.php on line 45

    can u pls help

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Plugin does not work PHP Fatal error’ is closed to new replies.