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 (44865,44884,3,13988,44739,18648,30135,44878,17839,4686,44867,44849,22509,18446,44869,44861,44870,17009,44674,5993,44685,44875,18286,17657,44845,45515,44854,13922,18430,44711,4765,44745,44689,18237,18688,6862,44866,17092,32454,18719,45518,37267,45229,5410,44894,18996,36472,44768,45346,18650,44836,45177,45517,10402,18900,24438,6782,44837,24411,45421,18353,44775,17237,17114,45286,18185,9341,18279,24412,17335)
Unknown column 'np.person' in 'where clause'