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 '' at line 1 in /home/enecon/public_html/aliados.enecon.net.co/libraries/core/mysql.php:45
Stack trace:
#0 /home/enecon/public_html/aliados.enecon.net.co/libraries/core/mysql.php(45): PDOStatement->execute()
#1 /home/enecon/public_html/aliados.enecon.net.co/models/configuracionesModel.php(14): mysql->select_all('SELECT status F...')
#2 /home/enecon/public_html/aliados.enecon.net.co/controllers/configuraciones.php(624): configuracionesModel->validarAcceso(3000)
#3 /home/enecon/public_html/aliados.enecon.net.co/libraries/core/load.php(9): configuraciones->permisos('')
#4 /home/enecon/public_html/aliados.enecon.net.co/index.php(5): require_once('/home/enecon/pu...')
#5 {main}
thrown in /home/enecon/public_html/aliados.enecon.net.co/libraries/core/mysql.php on line 45