Error performing the query for the images. The error is: Unknown column '6p' in 'where clause'