Database query failed: Unknown column 'LIGUE' in 'where clause'

Last SQL query: SELECT * FROM topics a INNER JOIN topics_types at ON a.topic__topic_type_id = at.topic_type_id WHERE topic_author_id = LIGUE AND (topic_date < '2024-05-13' OR (topic_date = '2024-05-13' AND topic_hour <= '22:33:34')) AND topic_active = 1 AND topic_statut = 1 AND topic_id > 0 ORDER BY topic_date DESC, topic_hour DESC LIMIT 10 OFFSET 340