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
- 10:00 – 13:00 10:00 – 13:00 10:00 – 13:00 10:00 – 13:00 10: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/Kolkata (GMT+05:30)

This topic contains 4 replies, has 2 voices.

Last updated by Minesh 9 months ago.

Assisted by: Minesh.

Author
Posts
#2691107

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.

yes our client has been using bulk import to add the floorplans, is it easier to disconnect all the relationships and update the relationships by batch using the bulk uploader?

#2691379

Minesh
Supporter

Languages: English (English )

Timezone: Asia/Kolkata (GMT+05:30)

Hello. Thank you for contacting the Toolset support.

I would like to know using what role you are trying to disconnect the post relationship.

There are few known issues and here is the errata for that link:
- https://toolset.com/errata/setting-the-edit-any-post-permission-using-toolset-access-doesnt-allow-editing-published-posts/

When you use[cred-delete-relationship] shortcode to disconnect the posts - to check whether users have permission to disconnect posts is not based on delete posts permissions, but on edit post permissions for both posts, on the left and right post types of the relationship.

And the way those permissions work, you need to grant "publish" rights to be allowed to disconnect the relationship including edit rights.

So, you have to grant the "publish" capabilities for both post types which involved in to build post-relationship for the role using which user is loggedin.

Can you please try to check this and check if this can able to resolve your issue.

#2692141

Hi Minesh,

thank you for replying, the role we use is administrator. what method is the easiest for me to disconnect the posts?

#2692201

Minesh
Supporter

Languages: English (English )

Timezone: Asia/Kolkata (GMT+05:30)

If you want to bulk disconnect the posts then its better to interact with database and I see you already created the ticket before and Waqar suggested the solution:
- https://toolset.com/forums/topic/disconnecting-a-relationship-throws-an-error-2/#post-2690005

Before interacting with database always take full backup first and then try to perform any operation on database.

#2692227

Minesh
Supporter

Languages: English (English )

Timezone: Asia/Kolkata (GMT+05:30)

If you want to bulk disconnect the posts then its better to interact with database and I see you already created the ticket before and Waqar suggested the solution:
- https://toolset.com/forums/topic/disconnecting-a-relationship-throws-an-error-2/#post-2690005

Before interacting with database always take full backup first and then try to perform any operation on database.