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 (8753,44745,44835,45517,13988,44894,45051,17114,18353,17703,17835,18172,5388,17527,44739,30135,45518,4765,32454,44775,13,5410,44878,17237,10402,44767,45516,44848,45042,44531,45515,16885,17351,45286,44640,34194,18981,44853,17009,18996,30963,22509,9341,18650,45177,44851,37057,45043,31354,17771,36472,18301,45180,44854,17756,18719,45072,45567,44866,17755,13425,43800,18894,16935,45277,3883,45346,17278,17848,6862)
Unknown column 'np.person' in 'where clause'