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 'Array AND `post_type` = 'aigpl_gallery' AND `post_status` = 'publish'' at line 1]
SELECT count(*) as total_child FROM `bvks_posts` WHERE `post_parent` = Array AND `post_type` = 'aigpl_gallery' AND `post_status` = 'publish'

Photo & Video

Albums