Notice: Trying to get property of non-object in /home/mjailton/domains/mjailton.com.br/public_html/lojavirtual/app/controllers/PacoteController.php on line 39 Notice: Trying to get property of non-object in /home/mjailton/domains/mjailton.com.br/public_html/lojavirtual/app/controllers/PacoteController.php on line 48 Notice: Trying to get property of non-object in /home/mjailton/domains/mjailton.com.br/public_html/lojavirtual/app/controllers/PacoteController.php on line 53 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 'AND ativo = 'S'' at line 2 in /home/mjailton/domains/mjailton.com.br/public_html/lojavirtual/app/models/Dobra.php:14 Stack trace: #0 /home/mjailton/domains/mjailton.com.br/public_html/lojavirtual/app/models/Dobra.php(14): PDO->query('SELECT * FROM ...') #1 /home/mjailton/domains/mjailton.com.br/public_html/lojavirtual/app/controllers/PacoteController.php(53): app\models\Dobra->lista(NULL) #2 /home/mjailton/domains/mjailton.com.br/public_html/lojavirtual/app/core/Core.php(16): app\controllers\PacoteController->ver('index.html') #3 /home/mjailton/domains/mjailton.com.br/public_html/lojavirtual/index.php(8): Core->run() #4 {main} thrown in /home/mjailton/domains/mjailton.com.br/public_html/lojavirtual/app/models/Dobra.php on line 14