Invalid query : SQLSTATE[42S22]: Column not found: 1054 Unknown column 'tracker_output.date' in 'order clause' Whole query: SELECT tracker_archive_output.* FROM tracker_archive_output WHERE tracker_archive_output.ident <> '' AND (tracker_archive_output.ident = :ident) ORDER BY tracker_output.date ASC LIMIT 25 OFFSET 100