Skip Navigation

[Resolved] Disconnecting a relationship throws an error

This is the technical support forum for Toolset - a suite of plugins for developing WordPress sites without writing PHP.

Everyone can read this forum, but only Toolset clients can post in it. Toolset support works 6 days per week, 19 hours per day.

Sun Mon Tue Wed Thu Fri Sat
- 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 -
- 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 -

Supporter timezone: Asia/Karachi (GMT+05:00)

This topic contains 1 reply, has 2 voices.

Last updated by Waqar 10 months, 1 week ago.

Assisted by: Waqar.

Author
Posts
#2689958

I am trying to:
disconnect posts
Link to a page where the issue can be seen:
Canopy Towers - hidden link
and also on most floorplan/condo pages

I expected to see:
successfully disconnect a floorplan

Instead, I got:
There has been an error please try again later.

I have reported the same issue a month ago and the proposed solution was to provide the problematic ID's so it can be fixed but is there no other way to solve this issue? our client is not keen on providing all the id's and other details. They wanted to be able to change it themselves.

#2690005

Hi,

Thank you for contacting us and I'd be happy to assist.

Have you imported these posts involved in the relationship through some bulk import tool? An issue like this where incorrect relationship data is stored in the database, is usually caused when a bulk import of posts is involved.

If you're comfortable working with the database tables and would like to fix (or reset) these relationship entries, it is important to understand how Toolset stores the relationship data.

For every post-relationship that you add at WP Admin -> Toolset -> Relationships, a unique 'id' is assigned to it, in the "{table_prefix}_toolset_relationships" table.

Whenever a relationship connection is formed between two posts, their post ID is saved in another table "{table_prefix}_toolset_connected_elements" in the "element_id" column, and the unique 'id' from this table is used in the table "{table_prefix}_toolset_associations", to store the actual relationship information between two posts.

I hope this background information helps and let me know if you have any follow-up questions.

regards,
Waqar