Follow-up to previous reply…I think I may have figured out what happened.
I am looking in PHPMyAdmin for the site. Even though each Location only shows up in the WordPress admin once, the instances where we are getting this issue, there are actually multiple records in the database as such:
location_id = 9
post_id = 6346
location_slug = mylocation
location_name = My Location
location_address = NULL
location_town = NULL
(all other similar fields are also null)
location_id = 10
post_id = 6346
location_slug = mylocation
location_name = My Location
location_address = My Address
location_town = My Town
(all other similar fields have the correct data)
Since “My Location” is a filled in field in both separate location IDs, that would explain why they’re both showing up in the autocomplete.
I also noticed that all the NULL instances happened prior to the go-live for this site. I’m wondering if perhaps I had a problem when bulk importing the calendar/location items from the old site. I don’t recall now, but maybe I ran an import that failed but some of the information made it into the database, and then ran a second import. That might explain why these locations are in the database multiple times.
I successfully deleted all the records with NULL values, via PHPMyAdmin, and at the moment everything seems OK. For now, I’m going to consider this problem resolved, and I thank you for helping me especially since it appears this wasn’t related to your plugin at all.
I’m very glad I found this plugin – I’m using it on another in-development site right now. The level of customization with the placeholders, etc. is light years beyond what I was getting with premium plugins I’ve used previously. Thank you!