#21557Use flash messages to show SQL debug errors in the backend
Description
If sqlDebug is enabled to visualize SQL errors this currently breaks the document and in TCEforms buttons cannot be clicked anymore.
Flash messages should be used to solve this issue.
(issue imported from #M12598)
Reviews 0
No change resolves or names this issue in its commit message, and no comment links one.