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,17756,18446,44762,8753,44873,18172,17848,44531,44853,19078,4686,13425,45277,37267,17114,18996,44689,24438,34194,18688,45286,3883,45567,44767,36472,18981,45262,17771,44845,18648,44851,17835,44768,24411,17492,45421,45072,13,18185,17981,43800,17657,18237,44766,14622,44867,45516,32454,17009,18650,13922,5410,16885,18042,17839,44685,44865,45051,44745,44671,17601,45346,16935,44875,44894,17092,24441,45229,13988)
Unknown column 'np.person' in 'where clause'