Viewing 4 replies - 1 through 4 (of 4 total)
  • Thread Starter M66B

    (@m66b)

    Since $result contained:

    WP_Error Object ( [errors] => Array ( [http_request_failed] => Array ( [0] => Connection time-out ) ) [error_data] => Array ( ) )

    I’ve inserted at line 509:

    if (isset($result['error']))
    	return print_r($result, true);

    Thread Starter M66B

    (@m66b)

    In the above replace ‘error’ by ‘errors’.

    Thread Starter M66B

    (@m66b)

    Since the above is not working, I am trying this now:

    if (gettype($result) == 'WP_Error')
    	return print_r($result, true);

    Thread Starter M66B

    (@m66b)

    Still not fixed ?? maybe this works:

    if (is_wp_error($result))
    	return print_r($result, true);

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘[Plugin: Geolocation] fatal error (another)’ is closed to new replies.