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 (44855,3883,44851,17351,13425,17755,45277,45421,30986,44835,31354,17848,17237,44669,45262,44856,36472,18185,18894,18688,45229,17756,45515,44863,44687,44875,6782,18648,44711,10402,45286,24438,44640,19057,44739,44858,44767,30963,45346,44866,18446,45567,45561,18286,17009,44878,28313,34194,3,6862,44745,44869,44762,44853,45177,44884,17092,5388,9341,17657,18981,17835,4686,5259,45043,17335,6609,18719,17601,14622)
Unknown column 'np.person' in 'where clause'