Fatal error: Uncaught Exception: 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 '-24,24' at line 35 in /www/bebyonline.com.ar/htdocs/funciones/database.php:51
Stack trace:
#0 /www/bebyonline.com.ar/htdocs/funciones/functionsproductos.php(352): db->query('\n\t\tSELECT A.Cod...')
#1 /www/bebyonline.com.ar/htdocs/funciones/functionsproductos.php(245): ListadoProductos('\n\t\tSELECT A.Cod...')
#2 /www/bebyonline.com.ar/htdocs/productos.php(81): Productos()
#3 {main}
thrown in /www/bebyonline.com.ar/htdocs/funciones/database.php on line 51