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 (44873,44745,17756,44863,28313,44851,44765,36472,37267,45051,17278,16885,17492,18279,44870,3,18185,45229,44869,24412,17335,44689,45262,8753,44845,44849,44861,44531,44762,44848,45421,18301,24438,44853,44685,39676,44835,6782,28530,45042,45516,44875,17848,18042,18572,44775,44855,45517,44766,45277,44764,18652,5993,44878,43800,17237,22509,18446,24411,45177,6862,5410,45518,45180,14622,45043,13922,18172,44739,5259)
Unknown column 'np.person' in 'where clause'