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 (44884,17556,45567,45517,18301,30963,44855,13,18652,44775,44671,18286,44836,6782,5259,3883,18430,44762,44689,28313,44848,16885,13988,17835,18353,44851,45421,45277,44711,45561,45515,17756,18042,45177,44873,16935,17009,18650,24411,44867,17335,18688,17237,17492,6862,18446,17848,17755,13425,17839,44765,44870,44764,18237,45229,14622,44669,44858,17351,18427,45346,30986,44745,18279,17657,4686,6609,4765,5410,24438)
Unknown column 'np.person' in 'where clause'