select c.restaurant_id, gbw.nombre, gbw.liga, c.nombre, c.sucursal,gbw.liga,
ifnull(c.verMenuDigital,1) as verMenuDigital,
ifnull(c.verMenuImagen,0) as verMenuImagen,
ifnull(c.verPayPalVacuna,0) as verPaypal,
ifnull(c.verEncuesta,1) as verEncuesta,
ifnull(c.clientIdPaypal, 'ARpUHfDajada46BKE5yT0NZirqTVm_z-Wu82LoDtKvvSLHKMSeprjfwHlx19XpCCT3fd3icOoAef2v69') as clientIdPaypal
from GrupoVentaWeb as gbw
join s3menudt.clientes as c on gbw.id = c.grupoIdWeb where gbw.id = ;array(3) {
[0]=>
string(5) "00000"
[1]=>
NULL
[2]=>
NULL
}
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 '' at line 8array(3) {
[0]=>
array(6) {
["file"]=>
string(45) "/var/www/html/include/DB/PdoConnectionWeb.php"
["line"]=>
int(71)
["function"]=>
string(7) "execute"
["class"]=>
string(12) "PDOStatement"
["type"]=>
string(2) "->"
["args"]=>
array(0) {
}
}
[1]=>
array(6) {
["file"]=>
string(45) "/var/www/html/include/DB/PdoConnectionWeb.php"
["line"]=>
int(92)
["function"]=>
string(7) "execute"
["class"]=>
string(5) "DbWeb"
["type"]=>
string(2) "->"
["args"]=>
array(0) {
}
}
[2]=>
array(6) {
["file"]=>
string(26) "/var/www/html/checkout.php"
["line"]=>
int(17)
["function"]=>
string(9) "resultset"
["class"]=>
string(5) "DbWeb"
["type"]=>
string(2) "->"
["args"]=>
array(0) {
}
}
}
No estaba en transaccion