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 (44853,17009,17755,18185,44768,18353,45515,45072,17278,6862,45262,6609,5388,3883,45516,37267,18652,18719,36472,44531,17335,44868,37057,17771,45042,18794,44836,17703,16885,44685,5410,3,13425,4686,24441,13988,5993,4765,17492,44775,18894,44869,5259,44766,30963,44835,18981,45518,22509,14622,45421,10402,17601,44894,44640,30986,44689,45567,44861,16935,44863,44866,44764,14402,18279,17848,44856,44849,44851,44687)
Unknown column 'np.person' in 'where clause'