Fatal error: Uncaught exception 'ADODB_Exception' with message 'pdo error: [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 2] in EXECUTE("SELECT a.*, b.nome AS categoria_nome, c.nome AS categoria_sub_nome, DATE_FORMAT(a.data_cad, '%d/%m/%Y') AS data_cad FROM produto AS a LEFT JOIN categoria AS b ON b.id = a.categoria LEFT JOIN categoria AS c ON c.id = a.categoria_sub WHERE a.id = ") ' in /home/cmwautom/public_html/class/adodb/adodb-exceptions.inc.php:78 Stack trace: #0 /home/cmwautom/public_html/class/adodb/adodb.inc.php(1071): adodb_throw('pdo', 'EXECUTE', 1064, 'You have an err...', 'SELECT a.*, b.n...', false, Object(ADODB_pdo)) #1 /home/cmwautom/public_html/class/adodb/adodb.inc.php(1046): ADOConnection->_Execute('SELECT a.*, b.n...', false) #2 /home/cmwautom/public_html/class/dao/ProdutoDao.php(34): ADOConnection->Execute('SELECT a.*, b.n...') #3 /home/cmwautom/public_html/produto.php(8): ProdutoDao-> in /home/cmwautom/public_html/class/adodb/adodb-exceptions.inc.php on line 78