Error :
SELECT * FROM geka_postmeta WHERE post_id = AND meta_key = 'object_img' ORDER BY meta_id ASC
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 = 'object_img' ORDER BY meta_id ASC' at line 1