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 a.id_producto, a.id_producto_categoria, a.nombre_producto, a.descripcion_espanol, a.cod_producto_categoria, (SELECT nombre FROM tbl_productos_categoria WHERE a.id_producto_categoria=tbl_productos_categoria.id_producto_categoria) AS nomb_cat FROM tbl_productos a ORDER BY a.id_producto 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_buscador_paginador2.php , PHP 5.6.40 (Linux)
Aborting...