Skip to content

Conversation

@stevepowell2000
Copy link

Better error message to share what was in $address, instead of just assuming it was a street address.

if using a proxy like CloudFlare, which may return multiple IP addresses like X-forwarded-for and X-real-ip and the IP address of the Cloudflare proxy... then the $address may be a comma delimited list of addresses and both executeQuery AND geocodeQuery will fail. Suggest just grabbing the first address and moving on .... something like $address = explode(',', $address)[0];

Better error message to share what was in $address, instead of just assuming it was a street address.

if using a proxy like CloudFlare, the $address may be a comma delimited list of addresses and both executeQuery AND geocodeQuery will fail. 
Suggest just grabbing the first address and moving on ....something like  $address = explode(',', $address)[0];
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant