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 (44768,17848,24411,18042,45177,44531,44764,24441,44858,18648,18650,18981,32454,16885,44869,13,4686,18719,44671,17755,14622,18794,45518,45262,3883,18427,28313,10402,45421,17904,45286,44739,5259,39676,6782,18279,17756,17527,17092,17839,44856,19078,17556,45043,43800,9341,18237,18185,31354,45277,17492,44685,18172,18652,17351,6862,16935,13988,17335,36472,44674,44845,44848,17237,44853,37267,44870,19057,44851,18688)
Unknown column 'np.person' in 'where clause'