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 (32454,18652,37267,44711,17848,44775,13425,14402,36472,24438,45177,18427,45518,44869,44855,19057,17335,45515,13922,43800,5993,44685,18794,44836,45262,22509,8753,17237,18446,44837,5410,18237,44739,17835,14622,45043,18648,44764,18981,6609,17839,44894,18900,17904,17756,44863,44671,45346,37057,17771,17703,18688,45567,44867,44870,18172,30963,18719,13,10402,44849,18279,17092,17278,39676,24441,44745,17981,17009,17601)
Unknown column 'np.person' in 'where clause'