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 (44849,44866,16935,6862,6782,18652,3,28313,45515,19057,45286,37057,13922,45262,44837,17237,45421,18648,44764,44685,17703,18042,45043,44853,44836,22509,17335,18286,18185,17755,44894,30135,17981,6609,45229,17556,18430,44687,44854,18427,17848,34194,44878,18446,17756,18279,24438,18650,44531,44775,17351,45516,17839,44768,10402,18237,18353,45518,17657,24412,45051,44861,17601,17527,18301,24441,45177,44640,44669,17492)
Unknown column 'np.person' in 'where clause'