I've never been able to get ShowErrorStatement to work correctly. It seems to always display a previous query that I executed, rather than the one that caused the actual error. For example:
DBD::mysql::db do failed: Unknown column 'companyId' in 'where clause' [for statement ``SELECT * FROM companies WHERE id = '4''']) You can tell that the error message doesn't match with the statement because there is no companyId in the statement. Does anyone know how to fix this?
