Resolved
Reported for: WPML Multilingual CMS 3.1.8.3
Resolved in: 3.2
Overview of the issue
When this issue happens, an db error message or a white page is shown.
Workaround
There is no way to avoid this problem if you meet these conditions, until the issue itself gets fixed in WPML.
This will be fixed in WPML 3.1.8.4.