Error!

MySQL Error: Unknown column 'mpo' in 'where clause'
SQL Statement: SELECT count(*) as total_records FROM contents JOIN content_types on contents.content_type_id = content_types.id WHERE contents.id != mpo-mag.com and content_type_id=2552 and published=1 and date(publish_date) <= '2014-07-23' and magazine_id=13