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,44739,32454,17009,45421,44858,44531,44894,28313,17755,44687,18430,36472,44711,18794,17237,5993,24412,14402,44669,44845,45229,18237,17771,44875,17904,3883,44861,30135,30963,17835,45518,24411,18279,44765,17848,18042,6782,44869,45180,44848,43800,44762,45042,18446,18301,16885,45177,17527,8753,45567,13988,18353,44853,44689,45277,18172,17335,44866,18688,44685,45286,17756,44764,44745,5388,45346,5410,14622,19078)
Unknown column 'np.person' in 'where clause'