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 '' at line 1]
SELECT * FROM media_gallery WHERE attachment_id =


Notice: Trying to get property of non-object in /home/content/75/11418275/html/wp-content/themes/DeepFocus-child/media_gallery.php on line 82


Notice: Trying to get property of non-object in /home/content/75/11418275/html/wp-content/themes/DeepFocus-child/media_gallery.php on line 88

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 '' at line 1]
SELECT * FROM media_gallery WHERE attachment_id =