Skip Navigation

[Resolved] Error: Invalid or missing slug.

This thread is resolved. Here is a description of the problem and solution.

Problem:

The issue here is that the user is getting "Invalid or missing slug" when creating a post relationship.

Solution:

In this user's case they forgot to create a slug for their post relationship

50% of people find this useful.

This support ticket is created 6 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
- 9:00 – 12:00 9:00 – 12:00 9:00 – 12:00 9:00 – 12:00 9:00 – 12:00 -
- 13:00 – 18:00 13:00 – 18:00 13:00 – 18:00 14:00 – 18:00 13:00 – 18:00 -

Supporter timezone: America/Jamaica (GMT-05:00)

This topic contains 1 reply, has 1 voice.

Last updated by olexandrZ 6 years, 6 months ago.

Assisted by: Shane.

Author
Posts
#1077298

I am trying to create an relationship between two custom post types.

Instead, I got an error: Could not create relationship definition because an error happened: Invalid or missing slug.

I created relationships many times, but it doesn't work this time.

What I missing? Thanks.

#1077468

Thanks, I've figure out the problem.
I think that field "slug" should be mandatory if it needed for the relationship creation.