Warning: PDOStatement::execute(): 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 '-6,6' at line 1 in /home4/icomet77/public_html/classes/class-TutsupDB.php on line 117
Fatal error: Uncaught Error: Call to a member function fetchAll() on bool in /home4/icomet77/public_html/models/produto/produto-model.php:133
Stack trace:
#0 /home4/icomet77/public_html/views/produtos/produtos-view.php(45): produtoModel->pegar_lista_produtos(NULL)
#1 /home4/icomet77/public_html/controllers/produtos-controller.php(30): require('/home4/icomet77...')
#2 /home4/icomet77/public_html/classes/class-TutsupMVC.php(127): ProdutosController->index(NULL)
#3 /home4/icomet77/public_html/loader.php(23): TutsupMVC->__construct()
#4 /home4/icomet77/public_html/index.php(10): require_once('/home4/icomet77...')
#5 {main}
thrown in /home4/icomet77/public_html/models/produto/produto-model.php on line 133