found while debugging piwik user server:
- Integrity constraint violation: 1052 Column \'idsite\' in where clause is ambiguous
- only works when DEBUG is enabled in fact... nasty bug!! ERROR: API returned an error: No entry is registered for key 'logger_message'