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 (44849,30963,44766,44775,17492,44858,18279,6875,18286,18446,17657,31354,24441,28313,44711,45517,18237,14402,44868,45177,44689,37057,37267,6862,44685,24412,45346,44671,14622,13425,44861,17351,44767,4686,17335,39676,44867,18652,18427,13988,18688,45561,18572,44848,44870,34194,17981,44739,18042,18900,6609,5410,44762,30135,45042,17703,10402,18353,44894,18894,18301,18996,17904,44851,44531,19078,9341,44837,17009,17237)
Unknown column 'np.person' in 'where clause'