Can you show us the Custom SQL you use? Maybe someone will notice something.
The problem has been solved by just restarting the server. Does anybody know this was corrected just by restarting the server?
Thanks and regards.
No idea. If it happens again then contact support and let us know the outcome.