Could not successfully run query () from DB: 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 tipo_usuario, activo, id_usuario, nombre_usuario, apellido, correo_electronico, telefono, customer_direccion1, customer_direccion2, id_pais, id_estado, pueblo, codigo_postal, acepta_promociones, direccion_delivery_diferente, delivery_first_name, delivery_last_name, delivery_address1, delivery_address2, delivery_id_pais, delivery_id_estado, delivery_pueblo, delivery_code_postal, (SELECT id_factura FROM tbl_factura WHERE tbl_factura.id_usuario=tbl_usuario.id_usuario order by id_factura limit 1) as factura FROM tbl_usuario ORDER BY id_usuario ASC LIMIT 0,

SQL Error [256] (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
Query :
On line 260 in file /controladores/controladores_ajax/ajax_controller_usuarios_paginador.php , PHP 5.6.40 (Linux)
Aborting...