Warning: Attempt to read property "id" on bool in /home/revistasbc/www/app/controllers/NoticiasController.php on line 204

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/revistasbc/www/app/models/Crud.php:157 Stack trace: #0 /home/revistasbc/www/app/models/Crud.php(157): PDOStatement->execute() #1 /home/revistasbc/www/app/controllers/NoticiasController.php(204): app\models\Crud->select('not_imagens', '', 'WHERE iditem = ') #2 [internal function]: app\controllers\NoticiasController->ler('coluna-leo-lima...') #3 /home/revistasbc/www/app/libraries/Router.php(33): call_user_func_array(Array, Array) #4 /home/revistasbc/www/init.php(16): App\libraries\Router->__construct() #5 {main} thrown in /home/revistasbc/www/app/models/Crud.php on line 157