A Database Error Occurred
Error Number: 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 12
SELECT B.pk_id, B.pk_id, B.fc_name, B.fc_image_name, count(P.pk_id) AS count FROM `t_bodies_by_model` B LEFT JOIN t_photos P ON P.fk_body = B.pk_id WHERE B.fk_model = 103 GROUP BY B.pk_id HAVING count > 0 LIMIT 0,