Radius search not work on my website
Radius search on sidebar is not working on my online server.
but the same theme is working on my local server.
When i have print the $wp_query in sidebar.php and compare with online and local.
i have see that local server give app_geo_query array with lat and lng
as below
[app_geo_query] => Array
(
[lat] => 52.5200066
[lng] => 13.404954
[rad] => 30
[smart_radius] => 1
)
but the online server is give the result as follow.
[meta_query] => Array
(
[0] => Array
(
[key] => address
[value] => berlin
[compare] => LIKE
)
)
By my Research i have see that vantage use the google api google geocode.
when i have print the variable $response below this line
$response = wp_remote_get( add_query_arg( $args, $this->api_url ) );
in
vantage\includes\geo\geocoders\google-geocoder.php file then it give me result as
error_message" : "You have exceeded your daily request quota for this API.",
"results" : [],
"status" : "OVER_QUERY_LIMIT"
but on my local server it show the result as below
[body] => {
"results" : [
{
"address_components" : [
{
"long_name" : "Berlin",
"short_name" : "Berlin",
"types" : [ "locality", "political" ]
},
{
"long_name" : "Berlin",
"short_name" : "Berlin",
"types" : [ "administrative_area_level_1", "political" ]
},
{
"long_name" : "Deutschland",
"short_name" : "DE",
"types" : [ "country", "political" ]
}
}
What should i do to resolve this problem?
My site url:
http://personal-trainer-suche.de
Here i have install another
wp to print_r the results
personal-trainer-suche.de/wordpress