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'

Cat. No:




Possible content