Hi Minesh
Sorry I would've answered sooner, but not receiving any email informing me you'd responded.
func-validate-job-ad-approximate-location
func-validate-nanny-ad-approximate-location
Yesterday (see screenshot), both were in error and I wasn't able to re-save either without error. I haven't made any changes to those snippets for years, they've been working successfully, but apparently are erroring out since Monday approximately.
Today, (see screenshot) snippet "func-validate-job-ad-approximate-location" is no longer showing an error. How were you able to manage to save it?
On testing today however, neither issue with creating Nanny Ads or editing Job Ads was fixed and produced the same error as reported yesterday.
Regarding the map API key:
We have two keys, which also haven't changed for years. On clicking the button Toolset > Settings > Maps > Google Map API Key > Check API, I saw the error:
"REQUEST_DENIED - API keys with referer restrictions cannot be used with this API."
I saw some heated back n forth in a previous post on Toolset Support here:
https://toolset.com/forums/topic/toolset-maps-saying-to-use-httpreferrer-and-not-to-use-it-at-the-same-time/
And there is no more exact technical information in the referred docu here:
https://toolset.com/course-lesson/creating-a-maps-api-key/#known-issues
However, I set the 2nd key in Google Cloud to unrestricted temporarily. Then editing Job Ads and creating new Nanny Ad worked fine. It doens't work when we restrict to our domain using hidden link, however does work with IP address.
Using the Check API button again showed: "Google API seems to be configured properly."
So it seems that's acceptable to keep the IP address as the restriction for the 2nd key? If yes, fine. Then the only remaining issue is the error in the validation snippet func-validate-taxonomies-on-job-ad-submission.
Kind regards
Simon