DUPLICATE: Deleted elements can remain in the database (data trash)

Browser: Chrome 110
OS: macOS
Screenshot:

Bricks sometimes leaves trash data in the database. It consists of Bricks elements that reference a parent ID that is already deleted.

Apparently, the problem itself is already known and still unresolved: SOLVED: Old Data Keeps Saving in Bricks Builder Even After Deletion - #4 by thomas

We built a WordPress plugin to clean up the trash data from the database. It searches for elements whose parent does not exist (orphans) and lets you delete them.
We found trash data on all of our website and cleaned it up using our tool.

We are considering to release the plugin to help the Bricks community. Even better would be a bugfix directly in Bricks :tada:

This is the plugin: https://download.johannes-glaser.de/website-custom-bricks-orphan-checker.zip
It adds a menu entry with a page that gives you an overview of all orphan elements and lets you clean up all the trash.

Hi @johannesglaser,

since there is a topic about it (the one you also linked), can you add all the information to that one, with steps that we can use to reproduce the issue (you can also record a voiced video).
Then, we will be able to look into the issue and try to replicate it.

I’ll close this topic and mark it as a duplicate.
Matej