Unknown column 'svg' in 'where clause'