Geo-Provider-Google, wrong element: country_code
-
After getting an unrestricted API key (I don’t know yet why that’s required, but we’ll go with it) I did another User Profile request for Use My Current Location.
The response shows a great, complete JSON response. But with an error:
Undefined variable: country_code in .../simple-location/includes/class-geo-provider-google.php on line 183The root-level key is “country-code” … dash, not underscore.
In “term_details”, the key is “country”.I hope that helps.
Thanks again!!!
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
The topic ‘Geo-Provider-Google, wrong element: country_code’ is closed to new replies.