I am trying to:
I have created a view to list certain CPT.
Link to a page where the issue can be seen:
I will provide access details & password through private message or email.
I expected to see:
A CPT being shown only once in the list instead of multiple times.
Instead, I got:
Same CPT is being displayed multiple times.
I cannot add password details since it is visible to everyone.
Also, I see that if I'm not logged in I see a different version of my reply here (the password I provided earlier - which I have changed in the meantime - still shows up to unlogged in users). Please provide a secure way to give you all access details and indications.
The systems team have checked and the private replies are functioning as normal.
When a private reply is set up for you, the Private Information box includes a section for WordPress / server access. Only when you click the checkboxes for "I have created a full backup..." and "I have read and agree to the legal disclaimer" does the section to provide the site credentials appear.
If you enter any text in the Reply section below, that is a normal reply box that is public, and it seems like you added the password details there.
Could you try again? I'm setting the next reply as private once more.
Those results are very odd, I haven't seen anything like that before.
Using the debug tools I can see that the query is returning some of the same results twice, and Views is just outputting those results.
It seems to be related to Maps. If I temporarily disable Maps, then only single results are shown.
I think I'll need to take a copy of your site, although that's going to take some time, you have a huge number of inactive plugins and I'm going to need to individually blacklist each of those to reduce the size of the site package.
I'll then share it with my colleagues to investigate further.
Thank you Nigel!!! Sorry for the large amount of inactive plugins!! I am still testing things here. Will have to go through a general reset after I find the stable version of what I want. Thanks!
I copied your site and tidied it up so that only the essential plugins were used, and up-to-date, and the issue persisted, so I've passed that cleaned-up version of your site to my second tier colleagues so that they can debug and try to identify the issue.
Hey, Nigel. I have recreated the issue on another view - for Public Profiles CPT. So, I have two address custom fields: (1) main headquarters and (2) regions of interest. I had set a search based on Distance to main HeadQuarters for the view:
Now, the CPTs that have values set for both "main headquarters" and "regions of interest" are displayed twice. Also, it seems the search is comparing the distance to both custom fields, not only to the regions of interest, the one that is set. Somehow maybe the "main headquarters" is still there as a Distance Condition.
Maybe you can recreate this on a trial website with steps such as:
1) Create a CPT
2) Create 2 address custom fields for that CPT - e.g. address1 and address2
3) Create a view that uses Distance to one custom field (e.g. address1)
4) Change from first address custom field to the second one (e.g. address2)