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 'and periodo_letivo like '%2024%' order by codigo' at line 1 in /var/www/html/ge/class/pdoSis.php:28
Stack trace:
#0 /var/www/html/ge/class/pdoSis.php(28): PDO->query()
#1 /var/www/html/ge/class/sql.php(65): pdoSis::_fetch()
#2 /var/www/html/ge/views/gestao/convocacao_lista.php(6): sql::get()
#3 /var/www/html/ge/controllers/gestao-controller.php(402): require_once('...')
#4 /var/www/html/ge/class/MVC.php(120): gestaoController->convocacaolista()
#5 /var/www/html/ge/loader.php(27): MVC->__construct()
#6 /var/www/html/ge/config.php(60): require_once('...')
#7 /var/www/html/ge/index.php(7): require_once('...')
#8 {main}
thrown in /var/www/html/ge/class/pdoSis.php on line 28