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 (44848,44866,16935,17848,18042,6782,5410,24438,28530,17657,18981,28313,44878,44745,44687,18185,6862,18279,17092,17527,18430,17756,37057,13988,44849,24441,18572,13425,17492,44711,17601,44674,44851,17335,24411,17556,45277,44870,13922,44669,44768,17755,44894,45072,44766,45515,6609,31354,45346,24412,44875,44854,10402,14402,18353,14622,44640,3,45262,4765,44685,44856,5993,44689,4686,32454,18237,43800,44868,18996)
Unknown column 'np.person' in 'where clause'