Your Question
Occasional errors: Commands out of sync; you can't run this command now
How to solve
Comment From: ivila
Maybe check this issue: https://github.com/go-gorm/gorm/issues/4452 If you are using in query, it might be relative.
Comment From: github-actions[bot]
This issue has been automatically marked as stale because it has been open 360 days with no activity. Remove stale label or comment or this will be closed in 180 days