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 (28530,39676,44878,17556,44768,9341,43800,17848,44894,18237,44855,44849,44856,18279,44674,10402,17335,44861,44869,28313,17092,44865,44762,14622,17114,45346,18794,45043,18652,17657,44689,44711,44884,44863,3,44858,45229,44775,13988,44531,45177,44765,24438,44837,44687,24412,31354,6609,18650,18981,44766,8753,30986,30963,45518,44853,34194,17009,45042,32454,37057,44851,44848,45072,17703,17839,17904,18446,44845,13425)
Unknown column 'np.person' in 'where clause'