Error in query: SELECT DISTINCT(np.person) AS person, p.first_name, p.last_name, AS news_id FROM news_person AS np, person AS p, news_category AS nc LEFT JOIN news AS nx ON = (SELECT FROM news AS ny, news_person AS nyp, news_category AS nyc WHERE = AND nyc.category = 310 AND nyp.person = np.person AND = AND = AND ny.entry_active = 't' ORDER BY entry_date DESC LIMIT 0, 1) WHERE np.person = AND nc.category = 310 AND = AND np.person = AND IN (44855,44766,44869,19057,44878,17835,24411,36472,44711,22509,44762,44867,18652,17904,18427,44669,44849,4686,37057,18996,18430,45518,30963,18688,18981,45277,17278,17657,5259,17755,28530,18648,44848,17009,44671,18794,45042,3883,18185,30135,44775,44836,17981,45051,13425,5410,44765,45177,44837,24412,17335,44835,45043,17527,18719,45180,44851,6782,44853,43800,44674,45561,10402,5388,45072,34194,18042,44856,30986,18237)
Unknown column 'np.person' in 'where clause'