General Error:

Could not query gallery information


DEBUG MODE

SQL Error : 1064 You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near '' at line 1

SELECT COUNT(`img`.`img_id`) AS cnt FROM `upload_image` AS `img` WHERE `img`.`grp_content` ='GALLERY_MAIN' AND `img`.`content_id` =

Line : 44
File : /home/carlsson/public_html/shared/gallery.php