Skip Navigation

[Resolved] Relationships field isn't allowing us to add new authors

This support ticket is created 5 years, 6 months ago. There's a good chance that you are reading advice that it now obsolete.

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
- - 14:00 – 20:00 14:00 – 20:00 14:00 – 20:00 14:00 – 20:00 14:00 – 20:00
- - - - - - -

Supporter timezone: Asia/Ho_Chi_Minh (GMT+07:00)

This topic contains 46 replies, has 3 voices.

Last updated by Beda 5 years, 5 months ago.

Assisted by: Beda.

Author
Posts
#1317669

I've now solved the HTTP ERROR 500 - should be able to login using normal link.

#1317755

Ok

Since you had renamed the Post type Authors several times, the relationship now leftover was still using the old "author" slug instead of the new "authors" slug.

In the Database, in the table for _toolset_relationships, please find the one remaining Relationship author-post-author (which is ID 176) you left over.

Now, in the row of this relationship, you will find a column called "parent_types" and another column "child_types"
Note down both numbers saved for this Relationship in both columns.
Those are in this case parent_types 337 and child_types 338

Now, head to the database table for _toolset_type_sets, and find the above 2 numbers in the ID column.
So, find the entry for 337 and 338, and see their last column "type" value.
It will say for 337 "author" and for 338 "post"
Since our post type slug is "authors", not "author", you need to change the value for 337 from "author" to "authors"

That should solve the issue.