Tell us what you are trying to do?
I have an issue with my relationship linked post types in the backend. They are not showing up anymore in the list. But they are showing up in the 'total items' at the bottom.
I think this happend after i deleted an intermediate post type in this relationship (venues > events).
I also cannot 're link' or 'unlink' a venue from an event this way.
On the frontend all the relationships still exist and are workin correctly.
What is the link to your site?
hidden link
Hi,
Welcome to Toolset support.
From what you wrote, this started right after deleting the intermediary post type that belonged to the Venues <> Events relationship.
That’s the key: if that relationship was created with an intermediary post type (to store extra fields), removing that CPT breaks the admin metabox UI.
The front-end still works because the associations are stored in Toolset’s relationship tables, but the admin list (the “Related items” box) can’t render rows without the intermediary definition — so you see a total count but an empty list and you can’t link/unlink.
- IMPORTANT STEP! Create a backup of your website. Or better approach will be to test this on a copy/staging version of the website to avoid any disruption of a live website.
- Confirm the relationship uses an intermediary:
. Go to Toolset → Relationships, edit the Venues<> Events relationship.
. If it shows an intermediary post type (and likely flags it as missing), that’s your issue.
- Re-create the intermediary post type:
. Go to Toolset → Post Types → Add New and create the intermediary CPT again (use the exact same slug it used to have, if you remember it).
. Return to Toolset → Relationships → Venues ↔ Events, make sure that intermediary CPT is selected, Save.
. Edit any Event post → in the Relationships box, click the gear icon → press Refresh. The related Venues should list again; link/unlink will work.
- Clear caches / resets
Thanks.
Okay thank you for this solution.
If i don't know the exact slug, can i look for it somewhere in log files or in de database?
ah wait im sorry
The issue is in the Venue Event [Relationship], but thats a one to many relationship.
Hi,
I am confused. Now that it is Venue which is a 1-many relationship. then what is the issue in the first place? As there is no intermediary post type available in 1:many.
Thanks.
Sorry for the confusion
the issue is that in the backend on the relationship fields i can't see the items in the veneus events relationship.
So if i go to an event in the backend i cant see any linked venues
if i go to a venue in the backend i can't see any linked events
At the bottom right of my screenshot you can see it finds 3 items but doesn't list them above where it says 'no items found'.
Hi,
I see thanks.
Would you please check if the same thing happens on a minimal setup?
- IMPORTANT STEP! Create a backup of your website. Or better approach will be to test this on a copy/staging version of the website to avoid any disruption of a live website.
- Switch to the default theme such as "TwentyTwenty" by going to "WordPress Dashboard > Appearance > themes".
- Go to "WordPress Dashboard > Plugins" and deactivate all plugins except:
. Toolset Types
. Toolset Blocks
- Check if you can still recreate the issue.
- If not, re-activate your plugins one by one and check the issue each time to find out the plugin that causes the problem.
If the problem persists, I'd appreciate it if you could give me the URL/User/Pass of your WordPress dashboard after you make sure that you have a backup of your website.
It is absolutely important that you give us a guarantee that you have a backup so if something happens you will have a point of restore.
Make sure you set the next reply as private.