Warning: A non-numeric value encountered in /home/pgaso/public_html/themes/modules/search/search.php on line 37

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 '-9, 9' at line 7 in /home/pgaso/public_html/models/articulos.models.php:1433 Stack trace: #0 /home/pgaso/public_html/models/articulos.models.php(1433): PDOStatement->execute() #1 /home/pgaso/public_html/controllers/articulos.controller.php(347): ModelsArticulos::mdlBuscarArticulosMejorado('gestion.vStoreA...', 'buscar', 'filgo', 'product_name', 'ASC', -9, 9) #2 /home/pgaso/public_html/themes/modules/search/search.php(52): ControllerArticulos::ctrlBuscarArticulosMejorado('filgo', 'product_name', 'ASC', -9, 9) #3 /home/pgaso/public_html/themes/index-cande.php(32): include_once('/home/pgaso/pub...') #4 /home/pgaso/public_html/index.php(23): include_once('/home/pgaso/pub...') #5 {main} thrown in /home/pgaso/public_html/models/articulos.models.php on line 1433