Skip Navigation

[Resolved] CRED Auto Drafts being left in the Posts table

This support ticket is created 7 years 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 5 replies, has 2 voices.

Last updated by Shane 7 years ago.

Assisted by: Shane.

Author
Posts
#580189
CRED Auto Draft PHPMyAdmin.png

Following on from this just a little... https://toolset.com/forums/topic/cred-auto-draft-not-being-deleted-from-the-media-library/

I've discovered quite a few for two CPT post types (wedding-supplier and contact-form), post_status = auto-draft in PHPMyAdmin. Both CPTs use a CRED form.

Just a little concerned over time the db will become much larger than it needs to be with these posts.

#580363

Shane
Supporter

Languages: English (English )

Timezone: America/Jamaica (GMT-05:00)

Hi Lindsay,

I see that christian was handled the original issue and it was escalated.

Checking on our internal ticket it seems that we don't have a way to actually tell if the images are orphaned or not.

Maybe I can make a suggestion on this to the team but I cannot guarantee that it would be a viable one.

As for now the issue seems be in a no fix state.

Thanks,
Shane

#580372

As far as I can tell these are not images. In my original call I saw these in the Media Library and could just delete them, from the back end.

My contact forms don't use any images.

What you are looking at here are stray posts that aren't being cleared from the database in PHPMyAdmin. These are not visible at all in the back end, but from my point of view should therefore not still be in the database.

#580389

Shane
Supporter

Languages: English (English )

Timezone: America/Jamaica (GMT-05:00)

Hi Lindsay,

These were created how ?

Could you let me know a scenario under which these drafts are created.

Thanks,
Shane

#580390

I have no idea. They aren't seen in the back end so hadn't noticed them before. They must be created though by site visitors using the CRED forms on the front end. I guess they are saved after a certain amount of time has elapsed, before the post itself is saved. The post status of them all is auto-draft.

#581308

Shane
Supporter

Languages: English (English )

Timezone: America/Jamaica (GMT-05:00)

Hi Lindsay,

I'm investigating this one for you to see if I can replicate it.

Thanks,
Shane