Warning: A non-numeric value encountered in
/home/berincompy/public_html/vistas/modulos/productos.php on line
312
Fatal error: Uncaught PDOException: SQLSTATE[42000]: Syntax error or access violation: 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 '-12, 12' at line 2 in /home/berincompy/public_html/modelos/productos.modelo.php:85
Stack trace:
#0 /home/berincompy/public_html/modelos/productos.modelo.php(85): PDOStatement->execute()
#1 /home/berincompy/public_html/controladores/productos.controlador.php(43): ModeloProductos::mdlMostrarProductos('productos', 'id', 'id_subcategoria', '7', -12, 12, 'DESC')
#2 /home/berincompy/public_html/vistas/modulos/productos.php(359): ControladorProductos::ctrMostrarProductos('id', 'id_subcategoria', '7', -12, 12, 'DESC')
#3 /home/berincompy/public_html/vistas/plantilla.php(235): include('/home/berincomp...')
#4 /home/berincompy/public_html/controladores/plantilla.controlador.php(11): include('/home/berincomp...')
#5 /home/berincompy/public_html/index.php(30): ControladorPlantilla::plantilla()
#6 {main}
thr in
/home/berincompy/public_html/modelos/productos.modelo.php on line
85