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 (44863,44837,44739,3883,24438,44640,18237,45229,45180,44849,6782,45518,18688,44861,44531,17351,44711,18042,44870,45042,18185,44869,17092,44687,44762,17657,14402,30135,17839,31354,13425,45262,44858,18353,44775,14622,45177,44867,44855,24411,45043,17114,45516,39676,45421,44745,18286,36472,44689,32454,18572,17703,45561,17556,22509,4686,44765,44854,19057,5993,16885,44894,5259,44671,44884,37057,28530,30963,45286,44848)
Unknown column 'np.person' in 'where clause'