Warning: Attempt to read property "id" on bool in /home/ipasli/www/app/controllers/Informacoes.php on line 67
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 modulo = 'informacoes' GROUP BY ano ORDER BY ano DESC' at line 1 in /home/ipasli/www/app/models/Crud.php:110
Stack trace:
#0 /home/ipasli/www/app/models/Crud.php(110): PDOStatement->execute()
#1 /home/ipasli/www/app/controllers/_Geral.php(208): App\models\Crud->select('__mod_itens', 'ano', 'WHERE tipo = 'p...', 'ORDER BY ano DE...')
#2 /home/ipasli/www/app/controllers/Informacoes.php(67): App\controllers\_Geral->getDadosExtras('pdf', NULL, 'informacoes')
#3 [internal function]: App\controllers\Informacoes->v('www.ipasli.es.g...')
#4 /home/ipasli/www/app/libraries/Router.php(37): call_user_func_array(Array, Array)
#5 /home/ipasli/www/init.php(23): App\libraries\Router->__construct()
#6 {main}
thrown in /home/ipasli/www/app/models/Crud.php on line 110