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 (44878,44711,17981,44863,18042,18353,45518,45346,45561,24438,44858,44745,18237,37057,14622,45043,44873,18301,44768,44870,17771,30963,17703,44640,18894,10402,13,24411,44875,44836,17755,18286,5259,44866,45262,44868,45516,44765,45517,44764,17848,13922,45286,45177,8753,31354,3,28530,18572,18794,17278,45051,3883,30986,44762,37267,6862,44865,18185,44848,18427,44856,44669,17556,18900,6609,45421,13988,44884,17756)
Unknown column 'np.person' in 'where clause'