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 (44868,32454,44849,44835,44762,16885,45286,44870,44745,6609,17756,44851,17848,18894,45043,17839,18427,45517,45421,17556,6862,5259,44861,17904,18286,30963,44845,17601,44875,45072,44854,17755,30135,8753,18237,45515,13988,44766,16935,18652,22509,45516,19057,44869,10402,14402,43800,18719,45180,28313,44867,44671,45518,18185,18279,44884,18996,45229,18794,18172,18042,18572,13425,44836,18900,17771,44848,44711,18688,44894)
Unknown column 'np.person' in 'where clause'