SQLSTATE[42000]: Syntax error or access violation: 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 '-25,25' at line 1Array
(
[:DELETE] => 0
[:STATUS] => ACTIVO
)
select b.aut_id,b.aut_nombres,b.aut_apellidos,c.tau_descripcion from rep_item_autor a left join rep_autor b on a.aut_id = b.aut_id left join rep_tipo_autor c on a.tau_id = c.tau_id where c.tau_descripcion='Autor' AND b.aut_status=:STATUS AND b.aut_delete=:DELETE AND b.aut_apellidos LIKE 'Z%' OR b.aut_nombres LIKE 'Z%' order by b.aut_apellidos limit -25,25
select b.aut_id,b.aut_nombres,b.aut_apellidos,c.tau_descripcion from rep_item_autor a left join rep_autor b on a.aut_id = b.aut_id left join rep_tipo_autor c on a.tau_id = c.tau_id where c.tau_descripcion='Autor' AND b.aut_status='ACTIVO' AND b.aut_delete=0 AND b.aut_apellidos LIKE 'Z%' OR b.aut_nombres LIKE 'Z%' order by b.aut_apellidos limit -25,25
Error 2: Consulta incorrecta