Warning: Attempt to read property "email" on bool in /home/delnatural/public_html/cont/order.php on line 10
Warning: Undefined array key "EmailCliente" in /home/delnatural/public_html/cont/order.php on line 10
Warning: Attempt to read property "idEstadoAdmin" on bool in /home/delnatural/public_html/cont/order.php on line 17
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/delnatural/public_html/source/Models/Carrinho/Encomendas.php:361
Stack trace:
#0 /home/delnatural/public_html/source/Models/Carrinho/Encomendas.php(361): PDO->query('select * from e...')
#1 /home/delnatural/public_html/cont/order.php(17): source\Models\Carrinho\Encomendas->estadoEncomenda(NULL)
#2 /home/delnatural/public_html/verifica_page.php(11): require('/home/delnatura...')
#3 /home/delnatural/public_html/index.php(287): require_once('/home/delnatura...')
#4 {main}
thrown in /home/delnatural/public_html/source/Models/Carrinho/Encomendas.php on line 361