Warning: Attempt to read property "id" on bool in /home/portalresenhando/www/app/controllers/NoticiasController.php on line 219
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/portalresenhando/www/app/models/Crud.php:157
Stack trace:
#0 /home/portalresenhando/www/app/models/Crud.php(157): PDOStatement->execute()
#1 /home/portalresenhando/www/app/controllers/NoticiasController.php(219): app\models\Crud->select('not_imagens', '', 'WHERE iditem = ')
#2 [internal function]: app\controllers\NoticiasController->ler('joao-hadad-joga...')
#3 /home/portalresenhando/www/app/libraries/Router.php(33): call_user_func_array(Array, Array)
#4 /home/portalresenhando/www/init.php(16): App\libraries\Router->__construct()
#5 {main}
thrown in /home/portalresenhando/www/app/models/Crud.php on line 157