WordPress-Datenbank-Fehler: [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 su2022_postmeta a
LEFT JOIN su2022_posts b ON b.id = a.meta_value AND b.post_type='attachment'
WHERE a.post_id =
AND a.meta_key = '_thumbnail_id'
WordPress-Datenbank-Fehler: [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 su2022_postmeta a
WHERE a.post_id = (SELECT meta_value FROM su2022_postmeta WHERE post_id = AND meta_key = '_thumbnail_id' )
AND a.meta_key = '_wp_attachment_metadata'
© 2024 Sweet Seller