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/ambientalModel.php(15): mysql->select_all('SELECT status F...')
#2 /home/enecon/public_html/aliados.enecon.net.co/controllers/ambiental.php(28): ambientalModel->publicAccess()
#3 /home/enecon/public_html/aliados.enecon.net.co/libraries/core/load.php(9): ambiental->ambiental('')
#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