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

[4.x]: Should gc even try to delete pending users that have orders? #3795

Open
samhibberd opened this issue Dec 3, 2024 · 1 comment
Open
Labels
bug commerce4 Issues related to Commerce v4 Craft Commerce

Comments

@samhibberd
Copy link

samhibberd commented Dec 3, 2024

What happened?

We have 1000s of pending users with orders, guests that never activated their account but that user cannot be deleted due to having an order.

See: #3239

Is there any way you can identify these users before trying to delete them, and not try to delete them at all, it adds loads of unnecessary processing for our scheduled gc command to handle and also pushes a load of errors into sentry (we can ignore it in sentry but preference is not to)

Thanks.

Craft CMS version

4.12.5

Craft Commerce version

4.6.13

PHP version

No response

Operating system and version

No response

Database type and version

No response

Image driver and version

No response

Installed plugins and versions

@samhibberd samhibberd added bug commerce4 Issues related to Commerce v4 Craft Commerce labels Dec 3, 2024
Copy link

linear bot commented Dec 3, 2024

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug commerce4 Issues related to Commerce v4 Craft Commerce
Projects
None yet
Development

No branches or pull requests

1 participant