Boa noite, tenho um tcpdf que esta dando o seguinte erro:
(pdo-mysql): INSERT INTO sc_log (inserted_date, username, application, creator, ip_user, action, description) VALUES (‘2020-05-30 22:08:26’, ‘admin’, ‘Documento_Cliente_Modelo’, ‘Scriptcase’, ‘191.212.188.116’, ‘access’, ‘’) (pdo-mysql): SELECT value FROM mysession WHERE session_id =‘pfkhvvkrbhkqgm75geo4ofev11’ and name = ‘login’ (pdo-mysql): select * from mod_cartas where idmod = 11 (pdo-mysql): select * from clienteswb where idcli = 1973 (pdo-mysql): select * from nacionalidade where id_nacional = 1 (pdo-mysql): select * from estcivil where idest = Casado 1054: Unknown column ‘Casado’ in ‘where clause’
ADOConnection._Execute(select * from estcivil where idest = Casado, false) % line 1149, file: [adodb.inc.php](file://home/estoques/public_html/wbadvs/_lib/prod/third/adodb/adodb.inc.php) ADOConnection.Execute(select * from estcivil where idest = Casado) % line 2066, file: [index.php](file://home/estoques/public_html/wbadvs/Documento_Cliente_Modelo/index.php) Documento_Cliente_Modelo_apl.controle() % line 2715, file: [index.php](file://home/estoques/public_html/wbadvs/Documento_Cliente_Modelo/index.php)
(pdo-mysql): select * from profissao where idprof = 1
Atenção
ob_end_clean(): failed to delete buffer. No buffer to delete
Atenção
Cannot modify header information - headers already sent by (output started at /home/estoques/public_html/wbadvs/_lib/prod/third/adodb/adodb.inc.php:500)
TCPDF ERROR: Some data has already been output to browser, can’t send PDF file
Os 3 selects são estes:
sc_lookup(Dsnacionalidade, "select * from nacionalidade where id_nacional = ".{Dscliente[0][37]});
$html = ‘Nacionalidade: ‘.{Dsnacionalidade[0][1]}.’’;
$pdf->SetFont(‘times’, ‘’, 10);
$pdf->writeHTML($html, true, 0, true, true);
$pdf->Ln(2);
sc_lookup(Dsestadocivil, "select * from estcivil where idest = ".{Dscliente[0][9]});
$html = ‘Estado Civil: ‘.{Dsestadocivil[0][1]}.’’;
$pdf->SetFont(‘times’, ‘’, 10);
$pdf->writeHTML($html, true, 0, true, true);
$pdf->Ln(2);
sc_lookup(Dsprofissao, "select * from profissao where idprof = ".{Dscliente[0][8]});
$html = ‘Profissão: ‘.{Dsprofissao[0][1]}.’’;
$pdf->SetFont(‘times’, ‘’, 10);
$pdf->writeHTML($html, true, 0, true, true);
$pdf->Ln(2);
E os campos são todos varchard no banco mysql
Poderia me ajudar?
Obrigada