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 (44762,44711,44851,45229,17657,44685,24411,18042,45043,44775,3883,24438,45518,17278,5259,36472,17009,44863,17755,44671,44854,17492,18427,17981,6875,24412,17092,18172,44878,19078,30135,45177,39676,44745,18353,44866,45567,14402,44873,18900,17335,22509,45421,8753,44849,37267,17756,44855,17351,18688,18301,44767,43800,18981,34194,18996,44856,18279,18650,44848,16885,4765,13425,18794,18237,44870,17237,44689,18648,18185)
Unknown column 'np.person' in 'where clause'