Database query failed: Unknown column 'chart' in 'where clause'

Last SQL query: SELECT * FROM post WHERE id=chart LIMIT 1