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 (44671,44853,18427,30135,44865,44851,8753,44884,18996,24441,45421,17839,44870,5259,44739,17601,10402,44845,44866,3,24438,18900,4686,44762,44768,17237,44837,44858,17335,44766,45286,17657,37057,18688,18301,45561,18648,36472,13988,44867,28530,18572,45277,14402,44767,44835,18719,22509,31354,45229,17756,44855,17981,18652,17848,44745,18981,45262,18042,44711,17009,17351,18172,17703,44531,4765,44878,44875,45516,16935)
Unknown column 'np.person' in 'where clause'