Skip Navigation

[Resolved] Missing taxonomies

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 3 replies, has 2 voices.

Last updated by Minesh 11 months, 2 weeks ago.

Assisted by: Minesh.

Author
Posts
#2679912
Kommer.png

I am trying to:
Restore taxonomies that disapeared

After some website-issues, the taxonomies for CPT disapeared. The values are still stored, but not visible backend.

We fixed a lot of them with just creating new ones with the same name, all the values where there. But a couple of taxonomies that has the same name plural and singular, and with the same slug, we get the error-message "You cannot use this slug because it is already used or a reserved word. Please choose a different slug.".

So that work-around does not work for these taxonomies.

Se image for the Taxonomie "Kommer". So, how can we restore it?

Thank you so much in advance for any help.

Regards,
Vidar

#2679961

Minesh
Supporter

Languages: English (English )

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

Hello. Thank you for contacting the Toolset support.

In WordPress ecosystem the slug should be unique site wide. You can not use the existing or reserved slug.

I installed the database management Tool adminer plugin to check for duplicate slug and I found two entries with the same slug as you can see with the following screenshot:
- hidden link

Can you please make sure you should use unique slug sitewide. You will have to change those existing slugs to something else and then you should try to check and add the taxonomy with the same slug.

#2680387

Hi!

Thank you for swift reply.

The problem is that they were created in toolset years ago, but suddenlt disapeared. So they are in the database, yes, but they should be visible backend. But they are not. I'm wondering how to fix that.

Regards,
Vidar

#2680397

Minesh
Supporter

Languages: English (English )

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

The only way is to change the existing duplicate slugs to another slug.

But we can not do on live/production site. If you can share staging site then I will try to fix there and check if changing the existing slugs those are duplicate of taxonomy slug, will try to change to another slug and see if that able to fix the issue.

Even you can try to do that but before doing any modification I suggest you should take full backup of your database as in any case you have a backup to restore.