Skip Navigation

[Resolved] Can't delete Layout as it's in use on "Auto draft"

This support ticket is created 6 years, 3 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.

This topic contains 3 replies, has 2 voices.

Last updated by Ben 6 years, 2 months ago.

Author
Posts
#1089675

Ben

I can't delete a Layout as it's showing it's used in Auto Draft.

No items selected in Change Layout Use menu.
(Screenshots have been deleted upon request https://toolset.com/forums/topic/request-screenshot-deletion/)

#1090106

That's strange, I wonder how it happened. Do you recall if you deleted some post, or post type, or similar, to where that layout was assigned to?

Recreating that element and then unassigning it from the layout would probably solve the issue, however if you cannot recall it and that is the only occasion it happens then I can unassing this layout for you thru the database (But I would need your permissions).

Here are the steps if you want to do it yourself:
- Open your Database for example in phpMyAdmin
- In another tab open the Layout list screen Toolset > Layouts
- Copy the ID of the layout in question (It's in the URL when you edit the layout)
- Search in the Posts table in your database for that post with the exact sam ID. It should be a post of type dd_layouts and ID same as the edited layout
- Either delete this post (layout) from the database if you want it gone or:
- Search the Post meta table for the NAME of the Layout. If a Meta Field of meta_key and value as the Name of the Layout pops up, that should then be the associated post (which can be deleted or, the meta field removed)

Please let me know if I can help you with this directly on the site, however I'd need your permission, login and granted backup.

#1091507

Ben

Thanks for your help Beda!

I couldn't remember what it was assigned to.

I took the steps you have given me and removed it using phpMyAdmin.

#1125548

Ben

Sorry to be a pain. Could I please request that the 3 screenshots I uploaded onto reply 1089675 are deleted as they give information about my website?