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 '-8, 8' at line 1 in /home/taquitodelsurcom/public_html/Libraries/Core/Mysql.php:47
Stack trace:
#0 /home/taquitodelsurcom/public_html/Libraries/Core/Mysql.php(47): PDOStatement->execute()
#1 /home/taquitodelsurcom/public_html/Models/MenuModel.php(33): Mysql->select_all('SELECT p.id_pro...')
#2 /home/taquitodelsurcom/public_html/Controllers/Menu.php(75): MenuModel->getSucursalLimit('SU02', '-8')
#3 /home/taquitodelsurcom/public_html/Libraries/Core/Load.php(12): Menu->SucursalP(Array)
#4 /home/taquitodelsurcom/public_html/index.php(34): require_once('/home/taquitode...')
#5 {main}
thrown in /home/taquitodelsurcom/public_html/Libraries/Core/Mysql.php on line 47