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 (44687,44669,45567,18719,44762,16935,6875,19078,44867,44878,45051,18794,44674,22509,6609,44531,45421,44836,44894,30135,44869,18446,17755,44764,5388,18996,44870,5259,17527,44745,45518,17092,17335,18981,5993,44853,17601,17771,32454,44868,44837,18648,13,44711,44848,18353,43800,6782,18301,17703,44884,45286,17835,44856,17657,17492,9341,30986,44875,5410,37267,4765,44768,17114,44851,17839,24411,18900,17556,44767)
Unknown column 'np.person' in 'where clause'