Invalid Query:
SELECT bic.id_bichin, bic.nombre ,bic.sexo, img.imagen ,bic.fecha_nacimiento FROM bichin_master AS bic LEFT JOIN imagenes_master img ON bic.id_bichin=img.id_bichin AND img.default_imagen='Y' WHERE 1=1 AND bic.adopcion='no' AND bic.status='Active' order by bic.nombre limit -12, 12
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 '-12, 12' at line 1