-
Notifications
You must be signed in to change notification settings - Fork 48
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
SQL Integrity constraint violation error during craft garbage collection task #299
Comments
This looks like it was the Craft garbage collection |
Yes you are right, I will amend the title. In trying to understand the error it looks like it is related to a constraint on a stripe payments intent table. I can reproduce the issue by running
|
I'm not sure what is happening here @damonadigital as the payment intents table does not have a FK to the order table. Is there any custom code or were any FKs created manually? Plus you send you database to [email protected] with your composer.json and composer.lock and we can try to reproduce. |
Hi @lukeholder , We've not had this issue for sometime. Will close the thread for now. Thanks |
Description
We've experienced an SQL Integrity constraint violation error a few times last week during crafts garbage collection task. Here's the full output:
Steps to reproduce
I've not managed to reproduce it manually and we haven't had the problem over the last few days. I thought it would be worth reporting incase you have any insight into the issue or if anyone else has had a similar problem.
Additional info
Craft CMS version: Craft Pro 4.8.3
Craft Commerce version: 4.5.2
Stripe for Craft Commerce version: 3.1.1
PHP version: 8.0.30
Thanks
The text was updated successfully, but these errors were encountered: