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' at line 7 in /home/lurawi/public_html/model/db.class.php:197
Stack trace:
#0 /home/lurawi/public_html/model/db.class.php(197): PDOStatement->execute()
#1 /home/lurawi/public_html/model/empresa.class.php(107): db->dbSelectBySQLWithParams('SELECT e.*, c.n...', Array)
#2 /home/lurawi/public_html/controller/indexController.php(86): empresa->search(Array, 12, -12)
#3 /home/lurawi/public_html/application/router.class.php(44): indexController->empresas()
#4 /home/lurawi/public_html/index.php(25): router->loader()
#5 {main}
thrown in /home/lurawi/public_html/model/db.class.php on line 197