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 (17755,44711,44873,17114,44640,4765,45229,9341,44858,17351,18894,14622,4686,44835,44869,24441,17839,44851,44854,18900,44775,45051,44764,37267,44849,30963,44739,18279,3,45262,18430,45561,17492,44878,19057,34194,3883,17657,45346,44867,22509,18996,18652,6782,39676,18301,5993,8753,17835,32454,18286,44865,18719,17601,18794,18042,43800,45421,44674,17981,17335,44837,44848,44870,24438,44875,18172,44884,18650,44855)
Unknown column 'np.person' in 'where clause'