Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[5.x]: Can't save entry because provisional draft already exists #16778

Open
rgauthier4c4 opened this issue Feb 26, 2025 · 1 comment
Open

[5.x]: Can't save entry because provisional draft already exists #16778

rgauthier4c4 opened this issue Feb 26, 2025 · 1 comment
Labels

Comments

@rgauthier4c4
Copy link

What happened?

Description

Sometimes when a user is trying to save an entry in the CMS, an error occured with the following message: "A provisional draft already exists for element/user 1513/1126"

It happens on two different projects that our clients are filling their website content in staging. Both project were up to date in the cms version.

The first time it happened, the user couldn't save his draft or publish the entry, but another user could save the same entry.

As for my temporary fix, I'm running the garbage collector by command line and the faulty draft is delete (php craft gc/run)

I haven't been able yet to reproduce the steps leading to the bug on my local environnement but I will let you know if I can find more details about this.

Image

Craft CMS version

5.6.6

PHP version

8.2

Operating system and version

No response

Database type and version

mysql 8.0

Image driver and version

No response

Installed plugins and versions

Amazon S3 2.2.1
Blitz 5.9.10
CKEditor 4.5.0
Code Field 5.0.0
CP Field Inspect 2.0.4
Dummy Data 5.0.5
Embedded Assets 5.4.3
Guide 5.2.0
Hyper 2.2.3
Image Resizer 4.0.2
Matrix Extended v4.2.0
Retour 5.0.7
SendGrid 3.0.0
SEOmatic 5.1.11
Splashing Images 5.0.3
Sprig 3.5.2
Twigpack 5.0.0

@brandonkelly
Copy link
Member

The next time it happens, please send a database backup and your Composer files into [email protected] and point out the affected user/entry.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants