Warning: Attempt to read property "id" on bool in /home2/bilgco35/public_html/app/controllers/site/Promocional.php on line 26
Warning: Attempt to read property "id" on bool in /home2/bilgco35/public_html/app/controllers/site/Promocional.php on line 27
Warning: Attempt to read property "id" on bool in /home2/bilgco35/public_html/app/controllers/site/Promocional.php on line 28
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 MySQL server version for the right syntax to use near '' at line 4 in /home2/bilgco35/public_html/app/models/database/type/TypePdo.php:27
Stack trace:
#0 /home2/bilgco35/public_html/app/models/database/type/TypePdo.php(27): PDOStatement->execute()
#1 /home2/bilgco35/public_html/app/models/admin/ProdutoCor.php(25): app\models\database\type\TypePdo->execute()
#2 /home2/bilgco35/public_html/app/controllers/site/Promocional.php(28): app\models\admin\ProdutoCor->listarCor(NULL)
#3 /home2/bilgco35/public_html/bootstrap/bootstrap.php(54): app\controllers\site\Promocional->index(Array)
#4 /home2/bilgco35/public_html/index.php(18): require('/home2/bilgco35...')
#5 {main}
thrown in /home2/bilgco35/public_html/app/models/database/type/TypePdo.php on line 27