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,45229,30986,30135,16935,45072,13922,4686,45561,44851,17492,17527,17904,17756,44739,44865,17335,45567,24438,44875,39676,18652,45051,18894,44863,44856,17114,44854,18446,18185,44866,44848,6862,14402,18981,17755,44764,37057,18688,45516,16885,17839,6875,44687,44765,13988,31354,44762,44767,17009,17351,32454,19057,34194,3,44870,18301,18172,9341,18900,18286,17981,18794,44894,45517,44868,8753,18042,44849,5410)
Unknown column 'np.person' in 'where clause'