You are probably using the Complianz plugin?
If so, and your comfortable with code, can you open this file wp-content/plugins/complianz-gdpr/integrations/plugins/wp-store-locator.php ( do make a backup first ) and replace it with this code ( this comes from the developers from the Complianz plugin ).
Can you let me know if this fixes it? Then I will let the developers from the Complianz plugin now, and they will include the fix in their next update.
-
This reply was modified 3 years, 1 month ago by
Tijmen Smit.
Thread Starter
Piani
(@webbmasterpianise)
Its correct that I use Complianz plugin. I did the changes that you suggested but unfortunatly it did not fix the issue. The map is still gone when tested to cleare cashe and tested other browsers.
I reverted back to Version 2.2.236 since its a online site that must work.
You also tested it in private mode to make sure it wasn’t a caching issue?
Are you using any caching / optimization plugins? If so, can you disable them for a second and see if that fixes it?
Any chance you can provide a list of active plugins? If you don’t want to share that there, then please open a support ticket.
Same problem for me, the code doesn’t change anything, I disabled WP Rocket.
@momo-fr what is the url? Also, please create a new thread instead of continuing since admin’s will otherwise delete your comment.
-
This reply was modified 3 years, 1 month ago by
Tijmen Smit.
Thread Starter
Piani
(@webbmasterpianise)
OK, so now I had time to do another test.
I inactivated my Cashe tools (I use both Autoptimize and WP Fastes Cashe)
I already disabled Autoptimize on this uniqe page with the code
<!-- noptimize-page -->
[wpsl]
Then I updated WP Store Locator to 2.2.237.
When looking the map was gone (as earlier tests)
I then changed the file to the new code you provided for wp-store-locator.php
And now the map showed correct direct after this.
Then I activated both Autoptimize and WP Fastest Cashe (with no changes of settings)
And now the page still looks to work correct.
So with the changes of “wp-store-locator.php” and some hassle with the cashing plugins it seems to solved the problem.
Tested in PC Chrome, Edge and Firefox and on Mobile Android Chrome.
So I will mark this as resolved and hope you can get Complianz plugin to update their file permanent. But also please adress if any cashe issues can be in the future.