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 (32454,44739,17703,45516,44775,45518,37267,17848,36472,6609,18900,44868,18353,17009,45262,18794,44765,44861,18650,17755,45515,45043,13922,17835,18719,8753,18981,5993,30963,28313,17839,13988,31354,6875,44764,5388,44894,44863,44671,18427,44767,18286,18572,18279,45229,44858,44856,5259,44640,44531,44836,45286,44875,4686,13425,17278,17351,28530,18894,16935,44854,18652,22509,13,24438,44669,45517,17237,44884,18042)
Unknown column 'np.person' in 'where clause'