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 (44835,44531,16885,5993,6875,44848,18794,13988,13922,16935,44870,31354,44875,45421,17756,18688,18430,45517,6782,18894,44884,9341,17601,24438,44689,44849,17904,5259,44765,30986,44869,37267,6862,45177,44767,17848,34194,45042,45262,45286,14622,17527,28530,18446,18301,19078,24411,44837,17835,5388,44861,18996,44669,44868,18237,3,44866,45043,18353,4765,28313,3883,45346,30963,44640,6609,44858,13425,36472,17009)
Unknown column 'np.person' in 'where clause'