Hi
I add some custom post types from a scheduled task and i have configuted a custom field for the maps location.
Also I see i some places that this location don't work well.
If i save manualy the post this issue solve but i can't do this to all post.
do you know how can be the issue?
Hi,
Thank you for contacting us and I'd be happy to assist.
Looking into the page's source code, I see the code for the map marker, but no location coordinates are added.
This is how the Toolset's address type field works. When a post/page is updated with a location selected in the address field, it gets LAT/LON coordinates from Google for the entered address and stores it in the database for the map's cache table (if it is not already saved).
I'm not sure exactly what is your current workflow for adding these scheduled posts and the address field data. Are you importing this data through some third-party plugin?
If you could share some details about this workflow, I'll be in a better position to suggest the next steps, accordingly.
regards,
Waqar
Hi,
I still saving the posts with a custom code on the fuctions.php file on a child theme.
This code call an API and save the informations in custom fields, for the maps I save the address.
But with this functions i save several posts and the rare funcionality is that some address works but others not works.
thanks
Thank you for sharing these details.
To troubleshoot this further, I'll need to see how these non-functional addresses are saved in the admin area.
Can you please share temporary admin login details, in reply to this message?
Note: Your next reply will be private and making a complete backup copy is recommended before sharing the access details.
Can you open again the request credentials please?
1 - post don't work position
2 - post correct
3 - admin post 1
4 - admin post 2
I've set the next reply as private again so that you can share the temporary admin access details.
Important note: please include the username and password in the dedicated fields for the access details and not in the message's content/body.
Thank you for sharing the access details.
During troubleshooting, I noticed that the new address map coordinates were not getting updated in the map's cache database. The reason for that is the incorrectly configured Google Maps API key.
If you'll check the status of the Google Maps API key used on your website, from Toolset -> Settings -> Maps, it shows the following error:
"REQUEST_DENIED - API keys with referer restrictions cannot be used with this API"
Please go to your Google Map API key settings ( at hidden link ) and set the "Application restrictions" option to "None".
Once, your API key starts showing the message "Google API seems to be configured properly." in Toolset Maps settings, it will be a confirmation that it is ready to use.
After that, you can use the 'Check for missing cache entries' button at Toolset -> Settings -> Maps, to update the map cache database for the missing address coordinates.