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 (44856,13988,19057,28530,45051,45346,30135,45518,45516,6862,44835,44762,44849,5388,44669,45043,18279,44775,44765,24412,10402,45517,44854,44531,16935,18353,44858,17237,44853,44855,5993,17527,44848,44869,6875,4686,18446,17904,17601,18650,44739,28313,24411,8753,17981,18572,17756,24441,44865,18172,17755,45072,17335,44711,17114,34194,17492,16885,44873,37267,18427,13425,31354,18688,19078,17771,18237,44878,17839,44845)
Unknown column 'np.person' in 'where clause'