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 (44685,44687,6862,44674,28530,45421,37057,30986,18981,44865,13425,6609,17278,44853,18996,18301,30135,18652,44848,44863,17009,4686,32454,30963,17601,44849,44884,24441,24438,44861,44689,44873,44868,44854,45517,17092,17839,17904,24412,18042,18572,44837,45286,17755,45180,45051,16885,44845,45277,9341,13,18237,17981,45515,18794,31354,45516,5993,45262,17848,45043,17556,5388,16935,17114,4765,18900,44851,17835,44671)
Unknown column 'np.person' in 'where clause'