[Resolved] Maps works with coordinates but not with Address text?
This thread is resolved. Here is a description of the problem and solution.
Problem:
Tell us what you are trying to do?
Get a map to show a marker using a text based address.
EG: House of Lords, London, SW1A 0PW.
If I add lat and lon coordinates it works fine.
If I add a text address as the marker - the address seems to disappear when I reload the page / select another element etc etc.
The address field just constantly reverts to the default text / blank (the co ordinates work fine)
Solution:
It was a conflict with DIVI.
Switched OFF DIVI Google maps enqueing and all is fine now.
This is the technical support forum for Toolset - a suite of plugins for developing WordPress sites without writing PHP.
Everyone can read this forum, but only Toolset clients can post in it. Toolset support works 6 days per week, 19 hours per day.
Tell us what you are trying to do?
Get a map to show a marker using a text based address.
EG: House of Lords, London, SW1A 0PW.
If I add lat and lon coordinates it works fine.
If I add a text address as the marker - the address seems to disappear when I reload the page / select another element etc etc.
The address field just constantly reverts to the default text / blank (the co ordinates work fine)
Is there any documentation that you are following?
Toolset docs
Is it not working for any address texts that you enter, or only to specific ones? Regardless, we might be facing an interaction issue with a third-party functionality, in this case:
- Deactivate all the plugins that are not related to Toolset
- Switch for a moment to a WordPress default theme like Twenty Twenty-one
- If the issue is gone, activate one by one to see with which one there is an interaction issue
Could you please tell me the results of this investigation? Also, can you enable the debug mode? Just add the following code in your wp-config.php file:
// Enable WP_DEBUG mode
define( 'WP_DEBUG', true );
// Enable Debug logging to the /wp-content/debug.log file
define( 'WP_DEBUG_LOG', true );
// Disable display of errors and warnings
define( 'WP_DEBUG_DISPLAY', false );
@ini_set( 'display_errors', 0 );
// Use dev versions of core JS and CSS files (only needed if you are modifying these core files)
define( 'SCRIPT_DEBUG', true );
After adding the code above, try to reproduce the issue again and check if you'll find a debug.log file inside the wp-content folder. If you locate it there, kindly send us the last lines here in the ticket.