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,44745,44739,18042,17904,44836,45051,44848,44849,17756,44764,19057,18286,45346,45043,30963,10402,5993,30135,17755,45177,18996,44775,13922,44870,44845,17835,28313,30986,18185,13425,17278,18688,44868,18900,31354,24441,17981,24411,44711,16885,32454,44863,17848,17556,18572,18353,19078,44765,44866,6609,44854,8753,18794,45567,14402,44671,44674,24438,44851,44873,44867,6875,24412,37057,18719,44640,4765,34194,44884)
Unknown column 'np.person' in 'where clause'