Warning: A non-numeric value encountered in /home/informa4/public_html/app/controlador/productosCon.php on line 11

Fatal error: Uncaught Exception: SQLSTATE[42000]: Syntax error or access violation: 1064 You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '-24,24' at line 1 in /home/informa4/public_html/config/sistema.php:51 Stack trace: #0 /home/informa4/public_html/app/modelo/inicioModelo.php(9419): Conectar->consultas('SELECT * FROM p...') #1 /home/informa4/public_html/app/controlador/productosCon.php(15): Inicio->mostrar_productos_pagi(-24, 24) #2 /home/informa4/public_html/index.php(11): require_once('/home/informa4/...') #3 {main} thrown in /home/informa4/public_html/config/sistema.php on line 51