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 (44854,44858,45561,24412,18301,44711,44875,17114,16935,44836,45180,8753,44867,18900,18172,44674,24411,10402,31354,28313,17771,45262,6609,37267,17657,18794,18446,18427,18894,45286,44869,9341,17755,44669,44764,17492,44687,17092,14402,17848,30963,18042,44863,44766,44894,44878,3883,16885,18237,43800,4686,18353,44767,45072,17009,44765,44855,18650,17835,45042,18996,44848,30135,14622,44685,5993,18652,44775,45346,44640)
Unknown column 'np.person' in 'where clause'