Warning: Attempt to read property "email" on bool in /home/matervale/public_html/cont/order.php on line 9

Warning: Undefined array key "EmailCliente" in /home/matervale/public_html/cont/order.php on line 9

Warning: Attempt to read property "idEstadoAdmin" on bool in /home/matervale/public_html/cont/order.php on line 12

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/matervale/public_html/source/Models/Carrinho/Encomendas.php:315 Stack trace: #0 /home/matervale/public_html/source/Models/Carrinho/Encomendas.php(315): PDO->query('select * from e...') #1 /home/matervale/public_html/cont/order.php(12): source\Models\Carrinho\Encomendas->estadoEncomenda(NULL) #2 /home/matervale/public_html/verifica_page.php(11): require('/home/matervale...') #3 /home/matervale/public_html/index.php(161): require_once('/home/matervale...') #4 {main} thrown in /home/matervale/public_html/source/Models/Carrinho/Encomendas.php on line 315