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 (24411,44868,18894,37267,18353,13,30135,22509,4686,17904,44671,39676,17601,45043,44845,8753,17771,44674,24438,44837,45567,45286,44762,44869,36472,14402,17848,17981,6782,18794,44768,17351,18650,14622,18185,44711,44894,44531,18688,18572,34194,44849,10402,44848,18279,44867,44865,17657,19057,17009,17092,17114,44854,18652,6609,44870,32454,13425,13988,30986,45180,3883,17335,45518,45561,44766,17237,44856,18237,3)
Unknown column 'np.person' in 'where clause'