WordPress database error: [You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'AND t.language_code = 'pl'' at line 4]
SELECT t.element_id FROM su2_icl_translations t WHERE t.trid = AND t.language_code = 'pl'

WordPress database error: [You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'AND p.post_status = 'publish' AND p.post_type = 'product'' at line 4]
SELECT p.* FROM su2_posts p WHERE p.id = AND p.post_status = 'publish' AND p.post_type = 'product'

WordPress database error: [You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'AND a.meta_key = '_thumbnail_id'' at line 5]
SELECT b.guid as url FROM su2_postmeta a LEFT JOIN su2_posts b ON b.id = a.meta_value AND b.post_type='attachment' WHERE a.post_id = AND a.meta_key = '_thumbnail_id'

WordPress database error: [You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'AND meta_key = '_thumbnail_id' ) AND a.meta_key = '_wp_attachment_metadata'' at line 3]
SELECT a.meta_value as meta FROM su2_postmeta a WHERE a.post_id = (SELECT meta_value FROM su2_postmeta WHERE post_id = AND meta_key = '_thumbnail_id' ) AND a.meta_key = '_wp_attachment_metadata'