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 id_tamanio, cod_producto, cod_producto_categoria, cod_medida, medida, cod_acabado, acabado, peso, precio, otros, venta_minima, empaque, bulto, (SELECT nombre_producto FROM tbl_productos WHERE tbl_productos.cod_producto_categoria=tbl_tamanio.cod_producto_categoria) AS nombre_product, (SELECT id_producto FROM tbl_productos WHERE tbl_productos.cod_producto_categoria=tbl_tamanio.cod_producto_categoria) AS id_product FROM tbl_tamanio ORDER BY id_tamanio 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_medidas_paginador.php , PHP 5.6.40 (Linux)
Aborting...