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

Cleanup Query fails if there is no Snapshot to keep #1535

Closed
Tracked by #1495
Hanmac opened this issue Aug 10, 2022 · 0 comments · Fixed by #1536
Closed
Tracked by #1495

Cleanup Query fails if there is no Snapshot to keep #1535

Hanmac opened this issue Aug 10, 2022 · 0 comments · Fixed by #1536

Comments

@Hanmac
Copy link
Contributor

Hanmac commented Aug 10, 2022

I executed the bin/console sonata:page:cleanup-snapshots and I got this error

In QueryException.php line 32:
                                                                   
  [Syntax Error] line 0, col 74: Error: Expected Literal, got ')'  
                                                                   

In QueryException.php line 21:
                                                                               
  DELETE App\Entity\SonataPageSnapshot s WHERE s.page = 653 AND s.id NOT IN()  

any idea @Hanmac ?

Originally posted by @eerison in #1495 (comment)

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

Successfully merging a pull request may close this issue.

1 participant