• Cheryl

    (@tricheryltops)


    Hello,

    I love the plugin but on the EM event submission form I was finding that people either submitted no location OR submitted mutiple instances of the same location. When I checked, I found that the auto-search for existing locations was not happening, and it works when I have the plugin disabled and Google Maps enabled in EM. I do not see any errors in the console, I have the Open Cage API added and Search Address works to find locations — it’s just that nobody from the front end can find existing locations so I end up with duplicates.

Viewing 1 replies (of 1 total)
  • Thread Starter Cheryl

    (@tricheryltops)

    OK, returning to this issue. I find that the ajax search for existing locations works if I am logged in. However, if I try to submit an event as an anonymous user, I get a 400 error for admin-ajax.php and the ajax location search does not work. I have tried adjusting, and turning off completely, WP Rocket — but that does not seem to be the issue, it still happens. I have permissions in events manager for guests to be able to read other locations and edit locations.

    Any idea of why non-logged in users cannot find existing locations and why ajax search isn’t working unless logged in? This has resulted in a few users submitting multiple of the same location in the past, but I don’t want to use Google maps.

    Additionally, when the ajax search does work, it returns results with a transparent background. I cannot seem to find the CSS selector to change the background color to make the results more visible. Thanks

Viewing 1 replies (of 1 total)
  • The topic ‘Search for existing locations does not work on event submission form’ is closed to new replies.