18 05 2023 08:22:36 El Archivo 2023-05-18 - log.txt se ha creado 18 05 2023 08:22:36 ###############Datos recibidos -- 18 05 2023 08:22:36 Envio Login Movil: 18 05 2023 08:22:36 Url=http://10.1.1.11:8094/ptat/login/login_movil 18 05 2023 08:22:36 Contenido:POST http://10.1.1.11:8094/ptat/login/login_movil HTTP/1.1 AUTHENTICATION: eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c3VhcmlvIjoiQ1AxMDA2ODIwMjIwIiwiY2xhdmUiOiJpdVNoZDFFK1Q3alIrVHlTOWh4TzRnPT1cbiIsImV4cCI6MTY4NDQxNjE3NSwiaWF0IjoxNjg0NDE2MTQ1fQ.GgexGa0DBhPKpNY7eR8IwGnADmAM0FTShnZ_qA6Elek Content-Length: 259 Content-Type: multipart/form-data; boundary="ea2d0d2a.3fe8fc88" --ea2d0d2a.3fe8fc88 Content-Disposition: form-data; name="json" [{"imeis":"fZlPdFJbWHY,00000000-69a5-688d-ffff-ffffef49f440,3f2d60039094c695","ip":"192.168.1.8","name_device":"Ciontek CS10","operador":"Claro","version_app":"8.2"}] --ea2d0d2a.3fe8fc88-- 18 05 2023 08:22:41 HTTP/1.1 200 OK Date: Thu, 18 May 2023 13:22:37 GMT Server: Apache/2.4.41 (Ubuntu) X-Powered-By: PHP/8.1.18 Access-Control-Allow-Origin: * Access-Control-Allow-Headers: X-API-KEY, Origin, X-Requested-With, Content-Type, Accept, Access-Control-Request-Method, Authorization, Authentication Access-Control-Allow-Methods: GET, POST, OPTIONS, PUT, DELETE Allow: GET, POST, OPTIONS, PUT, DELETE Cache-Control: no-cache, private Http-Authentication: eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c3VhcmlvIjoiQ1AxMDA2ODIwMjIwIiwiaWF0IjoxNjg0NDE2MTYxLCJleHAiOjE2ODQ0MjUxNjF9.A5MsLyF_-EALnAm2zvUmjMM86n2lzUzE-vSl-hMWJ1I Http-Refresh: eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c3VhcmlvIjoiQ1AxMDA2ODIwMjIwIiwiaWF0IjoxNjg0NDE2MTYxLCJleHAiOjE2ODQ0MzQxNjF9.e-a7Nid8ttNy2iTKhgi1zKlAbeDOEx-EXwn_0yk4EcQ Content-Type: application/json X-Original-Transfer-Encoding: chunked Content-Length: 281 {"code":1,"datos":[{"loginusr":"CP1006820220","nivel":1,"nombre":"JOHAN ESTEBAN GUTIERREZ","solicitudes":[],"correo":"joesguga@hotmail.com","fecha_n":"22\/02\/2000","time_expire":9000,"notificaciones":"0"}],"supervisores":[],"supervisores_visit":[],"vendedores":[],"sem_version":1} 18 05 2023 08:22:44 ********************Inicia Metodos Sem*********************** 18 05 2023 08:22:44 ###############Datos recibidos 20 -- {"id_mod":8,"codigo":-1,"correo":"joesguga@hotmail.com"} -- CP1006820220 18 05 2023 08:22:44 headers eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c3VhcmlvIjoiQ1AxMDA2ODIwMjIwIiwiaWF0IjoxNjg0NDE2MTYxLCJleHAiOjE2ODQ0MjUxNjF9.A5MsLyF_-EALnAm2zvUmjMM86n2lzUzE-vSl-hMWJ1I || 18 05 2023 08:22:44 headers {"AUTHENTICATION":"eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c3VhcmlvIjoiQ1AxMDA2ODIwMjIwIiwiaWF0IjoxNjg0NDE2MTYxLCJleHAiOjE2ODQ0MjUxNjF9.A5MsLyF_-EALnAm2zvUmjMM86n2lzUzE-vSl-hMWJ1I"} 18 05 2023 08:22:44 Envio Metodos Sem: 18 05 2023 08:22:44 Url=http://10.1.1.11:8094/ptat/metodos/metodos 18 05 2023 08:22:44 Contenido:POST http://10.1.1.11:8094/ptat/metodos/metodos HTTP/1.1 AUTHENTICATION: eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c3VhcmlvIjoiQ1AxMDA2ODIwMjIwIiwiaWF0IjoxNjg0NDE2MTYxLCJleHAiOjE2ODQ0MjUxNjF9.A5MsLyF_-EALnAm2zvUmjMM86n2lzUzE-vSl-hMWJ1I Content-Length: 326 Content-Type: multipart/form-data; boundary="f66488a3.3fd25a6f" --f66488a3.3fd25a6f Content-Disposition: form-data; name="con[0][con]" 20 --f66488a3.3fd25a6f Content-Disposition: form-data; name="datos" {"id_mod":8,"codigo":-1,"correo":"joesguga@hotmail.com"} --f66488a3.3fd25a6f Content-Disposition: form-data; name="usuario[0][usuario]" CP1006820220 --f66488a3.3fd25a6f-- 18 05 2023 08:22:44 HTTP/1.1 200 OK Date: Thu, 18 May 2023 13:22:44 GMT Server: Apache/2.4.41 (Ubuntu) X-Powered-By: PHP/8.1.18 Access-Control-Allow-Origin: * Access-Control-Allow-Headers: X-API-KEY, Origin, X-Requested-With, Content-Type, Accept, Access-Control-Request-Method, Authorization, Authentication Access-Control-Allow-Methods: GET, POST, OPTIONS, PUT, DELETE Allow: GET, POST, OPTIONS, PUT, DELETE Cache-Control: no-cache, private Http-Authentication: eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c3VhcmlvIjoiQ1AxMDA2ODIwMjIwIiwiaWF0IjoxNjg0NDE2MTYxLCJleHAiOjE2ODQ0MjUxNjF9.A5MsLyF_-EALnAm2zvUmjMM86n2lzUzE-vSl-hMWJ1I Content-Type: application/json X-Original-Transfer-Encoding: chunked Content-Length: 495 {"code":"1","status":"1","success":"1","message":"Modulo OK","info":"Modulo OK","arr_eventos":"[{\"id\":46,\"nombre_evento\":\"EVENTO REUNION PRUEBA\",\"hora_inicio\":\"10:30\",\"hora_final\":\"13:30\",\"estado\":\"0\",\"fecha\":\"2023-05-18\"}]","arr_vendedoras":"[{\"cedula\":1000121898,\"nombres\":\"YESLY ALEJANDRA CASTRO\",\"id_evento\":46},{\"cedula\":1000335452,\"nombres\":\"PAULA VANESSA HERNANDEZ\",\"id_evento\":46}]","tipo_registro_betplay":null,"id_sgc":null,"arr_informacion":null} 18 05 2023 08:22:44 datos:{"code":"1","status":"1","success":"1","message":"Modulo OK","info":"Modulo OK","arr_eventos":"[{\"id\":46,\"nombre_evento\":\"EVENTO REUNION PRUEBA\",\"hora_inicio\":\"10:30\",\"hora_final\":\"13:30\",\"estado\":\"0\",\"fecha\":\"2023-05-18\"}]","arr_vendedoras":"[{\"cedula\":1000121898,\"nombres\":\"YESLY ALEJANDRA CASTRO\",\"id_evento\":46},{\"cedula\":1000335452,\"nombres\":\"PAULA VANESSA HERNANDEZ\",\"id_evento\":46}]","tipo_registro_betplay":null,"id_sgc":null,"arr_informacion":null} 18 05 2023 08:22:47 ********************Inicia Metodos Sem*********************** 18 05 2023 08:22:47 ###############Datos recibidos 20 -- {"id_mod":8,"codigo":-1,"correo":"joesguga@hotmail.com"} -- CP1006820220 18 05 2023 08:22:47 headers eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c3VhcmlvIjoiQ1AxMDA2ODIwMjIwIiwiaWF0IjoxNjg0NDE2MTYxLCJleHAiOjE2ODQ0MjUxNjF9.A5MsLyF_-EALnAm2zvUmjMM86n2lzUzE-vSl-hMWJ1I || 18 05 2023 08:22:47 headers {"AUTHENTICATION":"eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c3VhcmlvIjoiQ1AxMDA2ODIwMjIwIiwiaWF0IjoxNjg0NDE2MTYxLCJleHAiOjE2ODQ0MjUxNjF9.A5MsLyF_-EALnAm2zvUmjMM86n2lzUzE-vSl-hMWJ1I"} 18 05 2023 08:22:47 Envio Metodos Sem: 18 05 2023 08:22:47 Url=http://10.1.1.11:8094/ptat/metodos/metodos 18 05 2023 08:22:47 Contenido:POST http://10.1.1.11:8094/ptat/metodos/metodos HTTP/1.1 AUTHENTICATION: eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c3VhcmlvIjoiQ1AxMDA2ODIwMjIwIiwiaWF0IjoxNjg0NDE2MTYxLCJleHAiOjE2ODQ0MjUxNjF9.A5MsLyF_-EALnAm2zvUmjMM86n2lzUzE-vSl-hMWJ1I Content-Length: 326 Content-Type: multipart/form-data; boundary="ea9fa70d.3fc50b8a" --ea9fa70d.3fc50b8a Content-Disposition: form-data; name="con[0][con]" 20 --ea9fa70d.3fc50b8a Content-Disposition: form-data; name="datos" {"id_mod":8,"codigo":-1,"correo":"joesguga@hotmail.com"} --ea9fa70d.3fc50b8a Content-Disposition: form-data; name="usuario[0][usuario]" CP1006820220 --ea9fa70d.3fc50b8a-- 18 05 2023 08:22:47 HTTP/1.1 200 OK Date: Thu, 18 May 2023 13:22:47 GMT Server: Apache/2.4.41 (Ubuntu) X-Powered-By: PHP/8.1.18 Access-Control-Allow-Origin: * Access-Control-Allow-Headers: X-API-KEY, Origin, X-Requested-With, Content-Type, Accept, Access-Control-Request-Method, Authorization, Authentication Access-Control-Allow-Methods: GET, POST, OPTIONS, PUT, DELETE Allow: GET, POST, OPTIONS, PUT, DELETE Cache-Control: no-cache, private Http-Authentication: eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c3VhcmlvIjoiQ1AxMDA2ODIwMjIwIiwiaWF0IjoxNjg0NDE2MTYxLCJleHAiOjE2ODQ0MjUxNjF9.A5MsLyF_-EALnAm2zvUmjMM86n2lzUzE-vSl-hMWJ1I Content-Type: application/json X-Original-Transfer-Encoding: chunked Content-Length: 495 {"code":"1","status":"1","success":"1","message":"Modulo OK","info":"Modulo OK","arr_eventos":"[{\"id\":46,\"nombre_evento\":\"EVENTO REUNION PRUEBA\",\"hora_inicio\":\"10:30\",\"hora_final\":\"13:30\",\"estado\":\"0\",\"fecha\":\"2023-05-18\"}]","arr_vendedoras":"[{\"cedula\":1000121898,\"nombres\":\"YESLY ALEJANDRA CASTRO\",\"id_evento\":46},{\"cedula\":1000335452,\"nombres\":\"PAULA VANESSA HERNANDEZ\",\"id_evento\":46}]","tipo_registro_betplay":null,"id_sgc":null,"arr_informacion":null} 18 05 2023 08:22:47 datos:{"code":"1","status":"1","success":"1","message":"Modulo OK","info":"Modulo OK","arr_eventos":"[{\"id\":46,\"nombre_evento\":\"EVENTO REUNION PRUEBA\",\"hora_inicio\":\"10:30\",\"hora_final\":\"13:30\",\"estado\":\"0\",\"fecha\":\"2023-05-18\"}]","arr_vendedoras":"[{\"cedula\":1000121898,\"nombres\":\"YESLY ALEJANDRA CASTRO\",\"id_evento\":46},{\"cedula\":1000335452,\"nombres\":\"PAULA VANESSA HERNANDEZ\",\"id_evento\":46}]","tipo_registro_betplay":null,"id_sgc":null,"arr_informacion":null} 18 05 2023 08:22:55 ********************Inicia Metodos Sem*********************** 18 05 2023 08:22:55 ###############Datos recibidos 24 -- {"id":"46","novedad":"prirba aņo","asesora":"1000121898"} -- CP1006820220 18 05 2023 08:22:55 headers eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c3VhcmlvIjoiQ1AxMDA2ODIwMjIwIiwiaWF0IjoxNjg0NDE2MTYxLCJleHAiOjE2ODQ0MjUxNjF9.A5MsLyF_-EALnAm2zvUmjMM86n2lzUzE-vSl-hMWJ1I || 18 05 2023 08:22:55 headers {"AUTHENTICATION":"eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c3VhcmlvIjoiQ1AxMDA2ODIwMjIwIiwiaWF0IjoxNjg0NDE2MTYxLCJleHAiOjE2ODQ0MjUxNjF9.A5MsLyF_-EALnAm2zvUmjMM86n2lzUzE-vSl-hMWJ1I"} 18 05 2023 08:22:55 Envio Metodos Sem: 18 05 2023 08:22:55 Url=http://10.1.1.11:8094/ptat/metodos/metodos 18 05 2023 08:22:55 Contenido:POST http://10.1.1.11:8094/ptat/metodos/metodos HTTP/1.1 AUTHENTICATION: eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c3VhcmlvIjoiQ1AxMDA2ODIwMjIwIiwiaWF0IjoxNjg0NDE2MTYxLCJleHAiOjE2ODQ0MjUxNjF9.A5MsLyF_-EALnAm2zvUmjMM86n2lzUzE-vSl-hMWJ1I Content-Length: 327 Content-Type: multipart/form-data; boundary="c617c726.3fdfe970" --c617c726.3fdfe970 Content-Disposition: form-data; name="con[0][con]" 24 --c617c726.3fdfe970 Content-Disposition: form-data; name="datos" {"id":"46","novedad":"prirba aņo","asesora":"1000121898"} --c617c726.3fdfe970 Content-Disposition: form-data; name="usuario[0][usuario]" CP1006820220 --c617c726.3fdfe970-- 18 05 2023 08:22:55 HTTP/1.1 500 Internal Server Error Date: Thu, 18 May 2023 13:22:55 GMT Server: Apache/2.4.41 (Ubuntu) X-Powered-By: PHP/8.1.18 Access-Control-Allow-Origin: * Access-Control-Allow-Headers: X-API-KEY, Origin, X-Requested-With, Content-Type, Accept, Access-Control-Request-Method, Authorization, Authentication Access-Control-Allow-Methods: GET, POST, OPTIONS, PUT, DELETE Allow: GET, POST, OPTIONS, PUT, DELETE X-Debug-Exception: An%20exception%20occurred%20while%20executing%20a%20query%3A%20SQLSTATE%5B22P05%5D%3A%20Untranslatable%20character%3A%207%20ERROR%3A%20%20character%20with%20byte%20sequence%200xe5%200x8c%200xbe%20in%20encoding%20%22UTF8%22%20has%20no%20equivalent%20in%20encoding%20%22LATIN1%22 X-Debug-Exception-File: %2Fwww%2Fphp81%2Fserversoap%2Frecaudos%2Fvendor%2Fdoctrine%2Fdbal%2Fsrc%2FDriver%2FAPI%2FPostgreSQL%2FExceptionConverter.php:87 Cache-Control: no-cache, private X-Robots-Tag: noindex Connection: close Content-Type: text/html; charset=UTF-8 X-Original-Transfer-Encoding: chunked Content-Length: 266127 An exception occurred while executing a query: SQLSTATE[22P05]: Untranslatable character: 7 ERROR: character with byte sequence 0xe5 0x8c 0xbe in encoding "UTF8" has no equivalent in encoding "LATIN1" (500 Internal Server Error)

Symfony Exception

PDOException Exception DriverException

HTTP 500 Internal Server Error

An exception occurred while executing a query: SQLSTATE[22P05]: Untranslatable character: 7 ERROR: character with byte sequence 0xe5 0x8c 0xbe in encoding "UTF8" has no equivalent in encoding "LATIN1"

Exceptions 3

Doctrine\DBAL\Exception\ DriverException

  1.         // We have to match against the SQLSTATE in the error message in these cases.
  2.         if ($exception->getCode() === && strpos($exception->getMessage(), 'SQLSTATE[08006]') !== false) {
  3.             return new ConnectionException($exception$query);
  4.         }
  5.         return new DriverException($exception$query);
  6.     }
  7. }
  1.     private function handleDriverException(
  2.         Driver\Exception $driverException,
  3.         ?Query $query
  4.     ): DriverException {
  5.         $this->exceptionConverter ??= $this->_driver->getExceptionConverter();
  6.         $exception                  $this->exceptionConverter->convert($driverException$query);
  7.         if ($exception instanceof ConnectionLost) {
  8.             $this->close();
  9.         }
in vendor/doctrine/dbal/src/Connection.php -> handleDriverException (line 1851)
  1.         Driver\Exception $e,
  2.         string $sql,
  3.         array $params = [],
  4.         array $types = []
  5.     ): DriverException {
  6.         return $this->handleDriverException($e, new Query($sql$params$types));
  7.     }
  8.     /** @internal */
  9.     final public function convertException(Driver\Exception $e): DriverException
  10.     {
in vendor/doctrine/dbal/src/Statement.php -> convertExceptionDuringQuery (line 194)
  1.             return new Result(
  2.                 $this->stmt->execute($params),
  3.                 $this->conn,
  4.             );
  5.         } catch (Driver\Exception $ex) {
  6.             throw $this->conn->convertExceptionDuringQuery($ex$this->sql$this->params$this->types);
  7.         } finally {
  8.             if ($logger !== null) {
  9.                 $logger->stopQuery();
  10.             }
  11.         }
  1.         if ($params === []) {
  2.             $params null// Workaround as long execute() exists and used internally.
  3.         }
  4.         return $this->execute($params);
  5.     }
  6.     /**
  7.      * Executes the statement with the currently bound parameters and return affected rows.
  8.      *
Statement->executeQuery() in src/Services/Conexion.php (line 162)
  1.       // $this->log->logs("Inicio ejecucion sql0");
  2.       $this->cnn \Doctrine\DBAL\DriverManager::getConnection($connectionParams$config);
  3.       // $this->log->logs("Inicio ejecucion sql");
  4.       //$sql = "SELECT * FROM articles";
  5.       $stmt $this->cnn->prepare($sql);
  6.       $resultSet $stmt->executeQuery()->fetchAllAssociative();//execute();
  7.       // $this->log->logs("respuestaaa ",array($resultSet)); 
  8.       // $this->log->logs("respuestaaa ",array(mb_convert_encoding($resultSet,"UTF-8", "Windows-1252")));
  9.       $signup false;
  10.       if(is_object($stmt))
  11.       {
Conexion->query() in src/Controller/PtatController.php (line 4430)
  1.       $asesora $arreglo['asesora'];
  2.       $id $arreglo['id'];
  3.       $novedad $arreglo['novedad'];
  4.       
  5.       $sql_upd "UPDATE horarios_eventos_betplay_asesoras SET estado='1', fecha_mod=now(), usuario_mod='$usuario', novedad='$novedad' WHERE id_evento='$id' and cedula='$asesora' and estado='0' returning id";
  6.       $upd $this->cnn->query('0'$sql_upd);
  7.       if (count($upd) > 0
  8.       {
  9.         $code "1";
  10.         $mensaje "Su solicitud fue realizada";
  11.       }
  1.         $this->dispatcher->dispatch($eventKernelEvents::CONTROLLER_ARGUMENTS);
  2.         $controller $event->getController();
  3.         $arguments $event->getArguments();
  4.         // call controller
  5.         $response $controller(...$arguments);
  6.         // view
  7.         if (!$response instanceof Response) {
  8.             $event = new ViewEvent($this$request$type$response$event);
  9.             $this->dispatcher->dispatch($eventKernelEvents::VIEW);
  1.     {
  2.         $request->headers->set('X-Php-Ob-Level', (string) ob_get_level());
  3.         $this->requestStack->push($request);
  4.         try {
  5.             return $this->handleRaw($request$type);
  6.         } catch (\Throwable $e) {
  7.             if ($e instanceof \Error && !$this->handleAllThrowables) {
  8.                 throw $e;
  9.             }
  1.         $this->boot();
  2.         ++$this->requestStackSize;
  3.         $this->resetServices true;
  4.         try {
  5.             return $this->getHttpKernel()->handle($request$type$catch);
  6.         } finally {
  7.             --$this->requestStackSize;
  8.         }
  9.     }
  1.         $this->request $request;
  2.     }
  3.     public function run(): int
  4.     {
  5.         $response $this->kernel->handle($this->request);
  6.         $response->send();
  7.         if ($this->kernel instanceof TerminableInterface) {
  8.             $this->kernel->terminate($this->request$response);
  9.         }
in vendor/autoload_runtime.php -> run (line 29)
  1. $app $app(...$args);
  2. exit(
  3.     $runtime
  4.         ->getRunner($app)
  5.         ->run()
  6. );
require_once('/www/php81/serversoap/recaudos/vendor/autoload_runtime.php') in public/index.php (line 16)
  1. $method $_SERVER['REQUEST_METHOD'];
  2. if($method == "OPTIONS") {
  3.     die();
  4. }
  5. require_once dirname(__DIR__).'/vendor/autoload_runtime.php';
  6. return function (array $context) {
  7.     return new Kernel($context['APP_ENV'], (bool) $context['APP_DEBUG']);
  8. };

Doctrine\DBAL\Driver\PDO\ Exception

SQLSTATE[22P05]: Untranslatable character: 7 ERROR: character with byte sequence 0xe5 0x8c 0xbe in encoding "UTF8" has no equivalent in encoding "LATIN1"

  1.         } else {
  2.             $code     $exception->getCode();
  3.             $sqlState null;
  4.         }
  5.         return new self($exception->getMessage(), $sqlState$code$exception);
  6.     }
  7. }
  1.         }
  2.         try {
  3.             $this->stmt->execute($params);
  4.         } catch (PDOException $exception) {
  5.             throw Exception::new($exception);
  6.         }
  7.         return new Result($this->stmt);
  8.     }
  1.             $logger->startQuery($this->sql$this->params$this->types);
  2.         }
  3.         try {
  4.             return new Result(
  5.                 $this->stmt->execute($params),
  6.                 $this->conn,
  7.             );
  8.         } catch (Driver\Exception $ex) {
  9.             throw $this->conn->convertExceptionDuringQuery($ex$this->sql$this->params$this->types);
  10.         } finally {
  1.         if ($params === []) {
  2.             $params null// Workaround as long execute() exists and used internally.
  3.         }
  4.         return $this->execute($params);
  5.     }
  6.     /**
  7.      * Executes the statement with the currently bound parameters and return affected rows.
  8.      *
Statement->executeQuery() in src/Services/Conexion.php (line 162)
  1.       // $this->log->logs("Inicio ejecucion sql0");
  2.       $this->cnn \Doctrine\DBAL\DriverManager::getConnection($connectionParams$config);
  3.       // $this->log->logs("Inicio ejecucion sql");
  4.       //$sql = "SELECT * FROM articles";
  5.       $stmt $this->cnn->prepare($sql);
  6.       $resultSet $stmt->executeQuery()->fetchAllAssociative();//execute();
  7.       // $this->log->logs("respuestaaa ",array($resultSet)); 
  8.       // $this->log->logs("respuestaaa ",array(mb_convert_encoding($resultSet,"UTF-8", "Windows-1252")));
  9.       $signup false;
  10.       if(is_object($stmt))
  11.       {
Conexion->query() in src/Controller/PtatController.php (line 4430)
  1.       $asesora $arreglo['asesora'];
  2.       $id $arreglo['id'];
  3.       $novedad $arreglo['novedad'];
  4.       
  5.       $sql_upd "UPDATE horarios_eventos_betplay_asesoras SET estado='1', fecha_mod=now(), usuario_mod='$usuario', novedad='$novedad' WHERE id_evento='$id' and cedula='$asesora' and estado='0' returning id";
  6.       $upd $this->cnn->query('0'$sql_upd);
  7.       if (count($upd) > 0
  8.       {
  9.         $code "1";
  10.         $mensaje "Su solicitud fue realizada";
  11.       }
  1.         $this->dispatcher->dispatch($eventKernelEvents::CONTROLLER_ARGUMENTS);
  2.         $controller $event->getController();
  3.         $arguments $event->getArguments();
  4.         // call controller
  5.         $response $controller(...$arguments);
  6.         // view
  7.         if (!$response instanceof Response) {
  8.             $event = new ViewEvent($this$request$type$response$event);
  9.             $this->dispatcher->dispatch($eventKernelEvents::VIEW);
  1.     {
  2.         $request->headers->set('X-Php-Ob-Level', (string) ob_get_level());
  3.         $this->requestStack->push($request);
  4.         try {
  5.             return $this->handleRaw($request$type);
  6.         } catch (\Throwable $e) {
  7.             if ($e instanceof \Error && !$this->handleAllThrowables) {
  8.                 throw $e;
  9.             }
  1.         $this->boot();
  2.         ++$this->requestStackSize;
  3.         $this->resetServices true;
  4.         try {
  5.             return $this->getHttpKernel()->handle($request$type$catch);
  6.         } finally {
  7.             --$this->requestStackSize;
  8.         }
  9.     }
  1.         $this->request $request;
  2.     }
  3.     public function run(): int
  4.     {
  5.         $response $this->kernel->handle($this->request);
  6.         $response->send();
  7.         if ($this->kernel instanceof TerminableInterface) {
  8.             $this->kernel->terminate($this->request$response);
  9.         }
in vendor/autoload_runtime.php -> run (line 29)
  1. $app $app(...$args);
  2. exit(
  3.     $runtime
  4.         ->getRunner($app)
  5.         ->run()
  6. );
require_once('/www/php81/serversoap/recaudos/vendor/autoload_runtime.php') in public/index.php (line 16)
  1. $method $_SERVER['REQUEST_METHOD'];
  2. if($method == "OPTIONS") {
  3.     die();
  4. }
  5. require_once dirname(__DIR__).'/vendor/autoload_runtime.php';
  6. return function (array $context) {
  7.     return new Kernel($context['APP_ENV'], (bool) $context['APP_DEBUG']);
  8. };

PDOException

SQLSTATE[22P05]: Untranslatable character: 7 ERROR: character with byte sequence 0xe5 0x8c 0xbe in encoding "UTF8" has no equivalent in encoding "LATIN1"

  1.                     ' Statement::bindParam() or Statement::bindValue() instead.',
  2.             );
  3.         }
  4.         try {
  5.             $this->stmt->execute($params);
  6.         } catch (PDOException $exception) {
  7.             throw Exception::new($exception);
  8.         }
  9.         return new Result($this->stmt);
  1.                     ' Statement::bindParam() or Statement::bindValue() instead.',
  2.             );
  3.         }
  4.         try {
  5.             $this->stmt->execute($params);
  6.         } catch (PDOException $exception) {
  7.             throw Exception::new($exception);
  8.         }
  9.         return new Result($this->stmt);
  1.             $logger->startQuery($this->sql$this->params$this->types);
  2.         }
  3.         try {
  4.             return new Result(
  5.                 $this->stmt->execute($params),
  6.                 $this->conn,
  7.             );
  8.         } catch (Driver\Exception $ex) {
  9.             throw $this->conn->convertExceptionDuringQuery($ex$this->sql$this->params$this->types);
  10.         } finally {
  1.         if ($params === []) {
  2.             $params null// Workaround as long execute() exists and used internally.
  3.         }
  4.         return $this->execute($params);
  5.     }
  6.     /**
  7.      * Executes the statement with the currently bound parameters and return affected rows.
  8.      *
Statement->executeQuery() in src/Services/Conexion.php (line 162)
  1.       // $this->log->logs("Inicio ejecucion sql0");
  2.       $this->cnn \Doctrine\DBAL\DriverManager::getConnection($connectionParams$config);
  3.       // $this->log->logs("Inicio ejecucion sql");
  4.       //$sql = "SELECT * FROM articles";
  5.       $stmt $this->cnn->prepare($sql);
  6.       $resultSet $stmt->executeQuery()->fetchAllAssociative();//execute();
  7.       // $this->log->logs("respuestaaa ",array($resultSet)); 
  8.       // $this->log->logs("respuestaaa ",array(mb_convert_encoding($resultSet,"UTF-8", "Windows-1252")));
  9.       $signup false;
  10.       if(is_object($stmt))
  11.       {
Conexion->query() in src/Controller/PtatController.php (line 4430)
  1.       $asesora $arreglo['asesora'];
  2.       $id $arreglo['id'];
  3.       $novedad $arreglo['novedad'];
  4.       
  5.       $sql_upd "UPDATE horarios_eventos_betplay_asesoras SET estado='1', fecha_mod=now(), usuario_mod='$usuario', novedad='$novedad' WHERE id_evento='$id' and cedula='$asesora' and estado='0' returning id";
  6.       $upd $this->cnn->query('0'$sql_upd);
  7.       if (count($upd) > 0
  8.       {
  9.         $code "1";
  10.         $mensaje "Su solicitud fue realizada";
  11.       }
  1.         $this->dispatcher->dispatch($eventKernelEvents::CONTROLLER_ARGUMENTS);
  2.         $controller $event->getController();
  3.         $arguments $event->getArguments();
  4.         // call controller
  5.         $response $controller(...$arguments);
  6.         // view
  7.         if (!$response instanceof Response) {
  8.             $event = new ViewEvent($this$request$type$response$event);
  9.             $this->dispatcher->dispatch($eventKernelEvents::VIEW);
  1.     {
  2.         $request->headers->set('X-Php-Ob-Level', (string) ob_get_level());
  3.         $this->requestStack->push($request);
  4.         try {
  5.             return $this->handleRaw($request$type);
  6.         } catch (\Throwable $e) {
  7.             if ($e instanceof \Error && !$this->handleAllThrowables) {
  8.                 throw $e;
  9.             }
  1.         $this->boot();
  2.         ++$this->requestStackSize;
  3.         $this->resetServices true;
  4.         try {
  5.             return $this->getHttpKernel()->handle($request$type$catch);
  6.         } finally {
  7.             --$this->requestStackSize;
  8.         }
  9.     }
  1.         $this->request $request;
  2.     }
  3.     public function run(): int
  4.     {
  5.         $response $this->kernel->handle($this->request);
  6.         $response->send();
  7.         if ($this->kernel instanceof TerminableInterface) {
  8.             $this->kernel->terminate($this->request$response);
  9.         }
in vendor/autoload_runtime.php -> run (line 29)
  1. $app $app(...$args);
  2. exit(
  3.     $runtime
  4.         ->getRunner($app)
  5.         ->run()
  6. );
require_once('/www/php81/serversoap/recaudos/vendor/autoload_runtime.php') in public/index.php (line 16)
  1. $method $_SERVER['REQUEST_METHOD'];
  2. if($method == "OPTIONS") {
  3.     die();
  4. }
  5. require_once dirname(__DIR__).'/vendor/autoload_runtime.php';
  6. return function (array $context) {
  7.     return new Kernel($context['APP_ENV'], (bool) $context['APP_DEBUG']);
  8. };

Logs

No log messages

Stack Traces 3

[3/3] DriverException
Doctrine\DBAL\Exception\DriverException:
An exception occurred while executing a query: SQLSTATE[22P05]: Untranslatable character: 7 ERROR:  character with byte sequence 0xe5 0x8c 0xbe in encoding "UTF8" has no equivalent in encoding "LATIN1"

  at vendor/doctrine/dbal/src/Driver/API/PostgreSQL/ExceptionConverter.php:87
  at Doctrine\DBAL\Driver\API\PostgreSQL\ExceptionConverter->convert()
     (vendor/doctrine/dbal/src/Connection.php:1908)
  at Doctrine\DBAL\Connection->handleDriverException()
     (vendor/doctrine/dbal/src/Connection.php:1851)
  at Doctrine\DBAL\Connection->convertExceptionDuringQuery()
     (vendor/doctrine/dbal/src/Statement.php:194)
  at Doctrine\DBAL\Statement->execute()
     (vendor/doctrine/dbal/src/Statement.php:224)
  at Doctrine\DBAL\Statement->executeQuery()
     (src/Services/Conexion.php:162)
  at App\Services\Conexion->query()
     (src/Controller/PtatController.php:4430)
  at App\Controller\PtatController->metodos()
     (vendor/symfony/http-kernel/HttpKernel.php:163)
  at Symfony\Component\HttpKernel\HttpKernel->handleRaw()
     (vendor/symfony/http-kernel/HttpKernel.php:74)
  at Symfony\Component\HttpKernel\HttpKernel->handle()
     (vendor/symfony/http-kernel/Kernel.php:184)
  at Symfony\Component\HttpKernel\Kernel->handle()
     (vendor/symfony/runtime/Runner/Symfony/HttpKernelRunner.php:35)
  at Symfony\Component\Runtime\Runner\Symfony\HttpKernelRunner->run()
     (vendor/autoload_runtime.php:29)
  at require_once('/www/php81/serversoap/recaudos/vendor/autoload_runtime.php')
     (public/index.php:16)                
[2/3] Exception
Doctrine\DBAL\Driver\PDO\Exception:
SQLSTATE[22P05]: Untranslatable character: 7 ERROR:  character with byte sequence 0xe5 0x8c 0xbe in encoding "UTF8" has no equivalent in encoding "LATIN1"

  at vendor/doctrine/dbal/src/Driver/PDO/Exception.php:28
  at Doctrine\DBAL\Driver\PDO\Exception::new()
     (vendor/doctrine/dbal/src/Driver/PDO/Statement.php:136)
  at Doctrine\DBAL\Driver\PDO\Statement->execute()
     (vendor/doctrine/dbal/src/Statement.php:190)
  at Doctrine\DBAL\Statement->execute()
     (vendor/doctrine/dbal/src/Statement.php:224)
  at Doctrine\DBAL\Statement->executeQuery()
     (src/Services/Conexion.php:162)
  at App\Services\Conexion->query()
     (src/Controller/PtatController.php:4430)
  at App\Controller\PtatController->metodos()
     (vendor/symfony/http-kernel/HttpKernel.php:163)
  at Symfony\Component\HttpKernel\HttpKernel->handleRaw()
     (vendor/symfony/http-kernel/HttpKernel.php:74)
  at Symfony\Component\HttpKernel\HttpKernel->handle()
     (vendor/symfony/http-kernel/Kernel.php:184)
  at Symfony\Component\HttpKernel\Kernel->handle()
     (vendor/symfony/runtime/Runner/Symfony/HttpKernelRunner.php:35)
  at Symfony\Component\Runtime\Runner\Symfony\HttpKernelRunner->run()
     (vendor/autoload_runtime.php:29)
  at require_once('/www/php81/serversoap/recaudos/vendor/autoload_runtime.php')
     (public/index.php:16)                
[1/3] PDOException
PDOException:
SQLSTATE[22P05]: Untranslatable character: 7 ERROR:  character with byte sequence 0xe5 0x8c 0xbe in encoding "UTF8" has no equivalent in encoding "LATIN1"

  at vendor/doctrine/dbal/src/Driver/PDO/Statement.php:134
  at PDOStatement->execute()
     (vendor/doctrine/dbal/src/Driver/PDO/Statement.php:134)
  at Doctrine\DBAL\Driver\PDO\Statement->execute()
     (vendor/doctrine/dbal/src/Statement.php:190)
  at Doctrine\DBAL\Statement->execute()
     (vendor/doctrine/dbal/src/Statement.php:224)
  at Doctrine\DBAL\Statement->executeQuery()
     (src/Services/Conexion.php:162)
  at App\Services\Conexion->query()
     (src/Controller/PtatController.php:4430)
  at App\Controller\PtatController->metodos()
     (vendor/symfony/http-kernel/HttpKernel.php:163)
  at Symfony\Component\HttpKernel\HttpKernel->handleRaw()
     (vendor/symfony/http-kernel/HttpKernel.php:74)
  at Symfony\Component\HttpKernel\HttpKernel->handle()
     (vendor/symfony/http-kernel/Kernel.php:184)
  at Symfony\Component\HttpKernel\Kernel->handle()
     (vendor/symfony/runtime/Runner/Symfony/HttpKernelRunner.php:35)
  at Symfony\Component\Runtime\Runner\Symfony\HttpKernelRunner->run()
     (vendor/autoload_runtime.php:29)
  at require_once('/www/php81/serversoap/recaudos/vendor/autoload_runtime.php')
     (public/index.php:16)                
18 05 2023 08:22:55 Respuesta de conexion:HTTP/1.1 500 Internal Server Error Date: Thu, 18 May 2023 13:22:55 GMT Server: Apache/2.4.41 (Ubuntu) X-Powered-By: PHP/8.1.18 Access-Control-Allow-Origin: * Access-Control-Allow-Headers: X-API-KEY, Origin, X-Requested-With, Content-Type, Accept, Access-Control-Request-Method, Authorization, Authentication Access-Control-Allow-Methods: GET, POST, OPTIONS, PUT, DELETE Allow: GET, POST, OPTIONS, PUT, DELETE X-Debug-Exception: An%20exception%20occurred%20while%20executing%20a%20query%3A%20SQLSTATE%5B22P05%5D%3A%20Untranslatable%20character%3A%207%20ERROR%3A%20%20character%20with%20byte%20sequence%200xe5%200x8c%200xbe%20in%20encoding%20%22UTF8%22%20has%20no%20equivalent%20in%20encoding%20%22LATIN1%22 X-Debug-Exception-File: %2Fwww%2Fphp81%2Fserversoap%2Frecaudos%2Fvendor%2Fdoctrine%2Fdbal%2Fsrc%2FDriver%2FAPI%2FPostgreSQL%2FExceptionConverter.php:87 Cache-Control: no-cache, private X-Robots-Tag: noindex Connection: close Content-Type: text/html; charset=UTF-8 X-Original-Transfer-Encoding: chunked Content-Length: 266127 An exception occurred while executing a query: SQLSTATE[22P05]: Untranslatable character: 7 ERROR: character with byte sequence 0xe5 0x8c 0xbe in encoding "UTF8" has no equivalent in encoding "LATIN1" (500 Internal Server Error)

Symfony Exception

PDOException Exception DriverException

HTTP 500 Internal Server Error

An exception occurred while executing a query: SQLSTATE[22P05]: Untranslatable character: 7 ERROR: character with byte sequence 0xe5 0x8c 0xbe in encoding "UTF8" has no equivalent in encoding "LATIN1"

Exceptions 3

Doctrine\DBAL\Exception\ DriverException

  1.         // We have to match against the SQLSTATE in the error message in these cases.
  2.         if ($exception->getCode() === && strpos($exception->getMessage(), 'SQLSTATE[08006]') !== false) {
  3.             return new ConnectionException($exception$query);
  4.         }
  5.         return new DriverException($exception$query);
  6.     }
  7. }
  1.     private function handleDriverException(
  2.         Driver\Exception $driverException,
  3.         ?Query $query
  4.     ): DriverException {
  5.         $this->exceptionConverter ??= $this->_driver->getExceptionConverter();
  6.         $exception                  $this->exceptionConverter->convert($driverException$query);
  7.         if ($exception instanceof ConnectionLost) {
  8.             $this->close();
  9.         }
in vendor/doctrine/dbal/src/Connection.php -> handleDriverException (line 1851)
  1.         Driver\Exception $e,
  2.         string $sql,
  3.         array $params = [],
  4.         array $types = []
  5.     ): DriverException {
  6.         return $this->handleDriverException($e, new Query($sql$params$types));
  7.     }
  8.     /** @internal */
  9.     final public function convertException(Driver\Exception $e): DriverException
  10.     {
in vendor/doctrine/dbal/src/Statement.php -> convertExceptionDuringQuery (line 194)
  1.             return new Result(
  2.                 $this->stmt->execute($params),
  3.                 $this->conn,
  4.             );
  5.         } catch (Driver\Exception $ex) {
  6.             throw $this->conn->convertExceptionDuringQuery($ex$this->sql$this->params$this->types);
  7.         } finally {
  8.             if ($logger !== null) {
  9.                 $logger->stopQuery();
  10.             }
  11.         }
  1.         if ($params === []) {
  2.             $params null// Workaround as long execute() exists and used internally.
  3.         }
  4.         return $this->execute($params);
  5.     }
  6.     /**
  7.      * Executes the statement with the currently bound parameters and return affected rows.
  8.      *
Statement->executeQuery() in src/Services/Conexion.php (line 162)
  1.       // $this->log->logs("Inicio ejecucion sql0");
  2.       $this->cnn \Doctrine\DBAL\DriverManager::getConnection($connectionParams$config);
  3.       // $this->log->logs("Inicio ejecucion sql");
  4.       //$sql = "SELECT * FROM articles";
  5.       $stmt $this->cnn->prepare($sql);
  6.       $resultSet $stmt->executeQuery()->fetchAllAssociative();//execute();
  7.       // $this->log->logs("respuestaaa ",array($resultSet)); 
  8.       // $this->log->logs("respuestaaa ",array(mb_convert_encoding($resultSet,"UTF-8", "Windows-1252")));
  9.       $signup false;
  10.       if(is_object($stmt))
  11.       {
Conexion->query() in src/Controller/PtatController.php (line 4430)
  1.       $asesora $arreglo['asesora'];
  2.       $id $arreglo['id'];
  3.       $novedad $arreglo['novedad'];
  4.       
  5.       $sql_upd "UPDATE horarios_eventos_betplay_asesoras SET estado='1', fecha_mod=now(), usuario_mod='$usuario', novedad='$novedad' WHERE id_evento='$id' and cedula='$asesora' and estado='0' returning id";
  6.       $upd $this->cnn->query('0'$sql_upd);
  7.       if (count($upd) > 0
  8.       {
  9.         $code "1";
  10.         $mensaje "Su solicitud fue realizada";
  11.       }
  1.         $this->dispatcher->dispatch($eventKernelEvents::CONTROLLER_ARGUMENTS);
  2.         $controller $event->getController();
  3.         $arguments $event->getArguments();
  4.         // call controller
  5.         $response $controller(...$arguments);
  6.         // view
  7.         if (!$response instanceof Response) {
  8.             $event = new ViewEvent($this$request$type$response$event);
  9.             $this->dispatcher->dispatch($eventKernelEvents::VIEW);
  1.     {
  2.         $request->headers->set('X-Php-Ob-Level', (string) ob_get_level());
  3.         $this->requestStack->push($request);
  4.         try {
  5.             return $this->handleRaw($request$type);
  6.         } catch (\Throwable $e) {
  7.             if ($e instanceof \Error && !$this->handleAllThrowables) {
  8.                 throw $e;
  9.             }
  1.         $this->boot();
  2.         ++$this->requestStackSize;
  3.         $this->resetServices true;
  4.         try {
  5.             return $this->getHttpKernel()->handle($request$type$catch);
  6.         } finally {
  7.             --$this->requestStackSize;
  8.         }
  9.     }
  1.         $this->request $request;
  2.     }
  3.     public function run(): int
  4.     {
  5.         $response $this->kernel->handle($this->request);
  6.         $response->send();
  7.         if ($this->kernel instanceof TerminableInterface) {
  8.             $this->kernel->terminate($this->request$response);
  9.         }
in vendor/autoload_runtime.php -> run (line 29)
  1. $app $app(...$args);
  2. exit(
  3.     $runtime
  4.         ->getRunner($app)
  5.         ->run()
  6. );
require_once('/www/php81/serversoap/recaudos/vendor/autoload_runtime.php') in public/index.php (line 16)
  1. $method $_SERVER['REQUEST_METHOD'];
  2. if($method == "OPTIONS") {
  3.     die();
  4. }
  5. require_once dirname(__DIR__).'/vendor/autoload_runtime.php';
  6. return function (array $context) {
  7.     return new Kernel($context['APP_ENV'], (bool) $context['APP_DEBUG']);
  8. };

Doctrine\DBAL\Driver\PDO\ Exception

SQLSTATE[22P05]: Untranslatable character: 7 ERROR: character with byte sequence 0xe5 0x8c 0xbe in encoding "UTF8" has no equivalent in encoding "LATIN1"

  1.         } else {
  2.             $code     $exception->getCode();
  3.             $sqlState null;
  4.         }
  5.         return new self($exception->getMessage(), $sqlState$code$exception);
  6.     }
  7. }
  1.         }
  2.         try {
  3.             $this->stmt->execute($params);
  4.         } catch (PDOException $exception) {
  5.             throw Exception::new($exception);
  6.         }
  7.         return new Result($this->stmt);
  8.     }
  1.             $logger->startQuery($this->sql$this->params$this->types);
  2.         }
  3.         try {
  4.             return new Result(
  5.                 $this->stmt->execute($params),
  6.                 $this->conn,
  7.             );
  8.         } catch (Driver\Exception $ex) {
  9.             throw $this->conn->convertExceptionDuringQuery($ex$this->sql$this->params$this->types);
  10.         } finally {
  1.         if ($params === []) {
  2.             $params null// Workaround as long execute() exists and used internally.
  3.         }
  4.         return $this->execute($params);
  5.     }
  6.     /**
  7.      * Executes the statement with the currently bound parameters and return affected rows.
  8.      *
Statement->executeQuery() in src/Services/Conexion.php (line 162)
  1.       // $this->log->logs("Inicio ejecucion sql0");
  2.       $this->cnn \Doctrine\DBAL\DriverManager::getConnection($connectionParams$config);
  3.       // $this->log->logs("Inicio ejecucion sql");
  4.       //$sql = "SELECT * FROM articles";
  5.       $stmt $this->cnn->prepare($sql);
  6.       $resultSet $stmt->executeQuery()->fetchAllAssociative();//execute();
  7.       // $this->log->logs("respuestaaa ",array($resultSet)); 
  8.       // $this->log->logs("respuestaaa ",array(mb_convert_encoding($resultSet,"UTF-8", "Windows-1252")));
  9.       $signup false;
  10.       if(is_object($stmt))
  11.       {
Conexion->query() in src/Controller/PtatController.php (line 4430)
  1.       $asesora $arreglo['asesora'];
  2.       $id $arreglo['id'];
  3.       $novedad $arreglo['novedad'];
  4.       
  5.       $sql_upd "UPDATE horarios_eventos_betplay_asesoras SET estado='1', fecha_mod=now(), usuario_mod='$usuario', novedad='$novedad' WHERE id_evento='$id' and cedula='$asesora' and estado='0' returning id";
  6.       $upd $this->cnn->query('0'$sql_upd);
  7.       if (count($upd) > 0
  8.       {
  9.         $code "1";
  10.         $mensaje "Su solicitud fue realizada";
  11.       }
  1.         $this->dispatcher->dispatch($eventKernelEvents::CONTROLLER_ARGUMENTS);
  2.         $controller $event->getController();
  3.         $arguments $event->getArguments();
  4.         // call controller
  5.         $response $controller(...$arguments);
  6.         // view
  7.         if (!$response instanceof Response) {
  8.             $event = new ViewEvent($this$request$type$response$event);
  9.             $this->dispatcher->dispatch($eventKernelEvents::VIEW);
  1.     {
  2.         $request->headers->set('X-Php-Ob-Level', (string) ob_get_level());
  3.         $this->requestStack->push($request);
  4.         try {
  5.             return $this->handleRaw($request$type);
  6.         } catch (\Throwable $e) {
  7.             if ($e instanceof \Error && !$this->handleAllThrowables) {
  8.                 throw $e;
  9.             }
  1.         $this->boot();
  2.         ++$this->requestStackSize;
  3.         $this->resetServices true;
  4.         try {
  5.             return $this->getHttpKernel()->handle($request$type$catch);
  6.         } finally {
  7.             --$this->requestStackSize;
  8.         }
  9.     }
  1.         $this->request $request;
  2.     }
  3.     public function run(): int
  4.     {
  5.         $response $this->kernel->handle($this->request);
  6.         $response->send();
  7.         if ($this->kernel instanceof TerminableInterface) {
  8.             $this->kernel->terminate($this->request$response);
  9.         }
in vendor/autoload_runtime.php -> run (line 29)
  1. $app $app(...$args);
  2. exit(
  3.     $runtime
  4.         ->getRunner($app)
  5.         ->run()
  6. );
require_once('/www/php81/serversoap/recaudos/vendor/autoload_runtime.php') in public/index.php (line 16)
  1. $method $_SERVER['REQUEST_METHOD'];
  2. if($method == "OPTIONS") {
  3.     die();
  4. }
  5. require_once dirname(__DIR__).'/vendor/autoload_runtime.php';
  6. return function (array $context) {
  7.     return new Kernel($context['APP_ENV'], (bool) $context['APP_DEBUG']);
  8. };

PDOException

SQLSTATE[22P05]: Untranslatable character: 7 ERROR: character with byte sequence 0xe5 0x8c 0xbe in encoding "UTF8" has no equivalent in encoding "LATIN1"

  1.                     ' Statement::bindParam() or Statement::bindValue() instead.',
  2.             );
  3.         }
  4.         try {
  5.             $this->stmt->execute($params);
  6.         } catch (PDOException $exception) {
  7.             throw Exception::new($exception);
  8.         }
  9.         return new Result($this->stmt);
  1.                     ' Statement::bindParam() or Statement::bindValue() instead.',
  2.             );
  3.         }
  4.         try {
  5.             $this->stmt->execute($params);
  6.         } catch (PDOException $exception) {
  7.             throw Exception::new($exception);
  8.         }
  9.         return new Result($this->stmt);
  1.             $logger->startQuery($this->sql$this->params$this->types);
  2.         }
  3.         try {
  4.             return new Result(
  5.                 $this->stmt->execute($params),
  6.                 $this->conn,
  7.             );
  8.         } catch (Driver\Exception $ex) {
  9.             throw $this->conn->convertExceptionDuringQuery($ex$this->sql$this->params$this->types);
  10.         } finally {
  1.         if ($params === []) {
  2.             $params null// Workaround as long execute() exists and used internally.
  3.         }
  4.         return $this->execute($params);
  5.     }
  6.     /**
  7.      * Executes the statement with the currently bound parameters and return affected rows.
  8.      *
Statement->executeQuery() in src/Services/Conexion.php (line 162)
  1.       // $this->log->logs("Inicio ejecucion sql0");
  2.       $this->cnn \Doctrine\DBAL\DriverManager::getConnection($connectionParams$config);
  3.       // $this->log->logs("Inicio ejecucion sql");
  4.       //$sql = "SELECT * FROM articles";
  5.       $stmt $this->cnn->prepare($sql);
  6.       $resultSet $stmt->executeQuery()->fetchAllAssociative();//execute();
  7.       // $this->log->logs("respuestaaa ",array($resultSet)); 
  8.       // $this->log->logs("respuestaaa ",array(mb_convert_encoding($resultSet,"UTF-8", "Windows-1252")));
  9.       $signup false;
  10.       if(is_object($stmt))
  11.       {
Conexion->query() in src/Controller/PtatController.php (line 4430)
  1.       $asesora $arreglo['asesora'];
  2.       $id $arreglo['id'];
  3.       $novedad $arreglo['novedad'];
  4.       
  5.       $sql_upd "UPDATE horarios_eventos_betplay_asesoras SET estado='1', fecha_mod=now(), usuario_mod='$usuario', novedad='$novedad' WHERE id_evento='$id' and cedula='$asesora' and estado='0' returning id";
  6.       $upd $this->cnn->query('0'$sql_upd);
  7.       if (count($upd) > 0
  8.       {
  9.         $code "1";
  10.         $mensaje "Su solicitud fue realizada";
  11.       }
  1.         $this->dispatcher->dispatch($eventKernelEvents::CONTROLLER_ARGUMENTS);
  2.         $controller $event->getController();
  3.         $arguments $event->getArguments();
  4.         // call controller
  5.         $response $controller(...$arguments);
  6.         // view
  7.         if (!$response instanceof Response) {
  8.             $event = new ViewEvent($this$request$type$response$event);
  9.             $this->dispatcher->dispatch($eventKernelEvents::VIEW);
  1.     {
  2.         $request->headers->set('X-Php-Ob-Level', (string) ob_get_level());
  3.         $this->requestStack->push($request);
  4.         try {
  5.             return $this->handleRaw($request$type);
  6.         } catch (\Throwable $e) {
  7.             if ($e instanceof \Error && !$this->handleAllThrowables) {
  8.                 throw $e;
  9.             }
  1.         $this->boot();
  2.         ++$this->requestStackSize;
  3.         $this->resetServices true;
  4.         try {
  5.             return $this->getHttpKernel()->handle($request$type$catch);
  6.         } finally {
  7.             --$this->requestStackSize;
  8.         }
  9.     }
  1.         $this->request $request;
  2.     }
  3.     public function run(): int
  4.     {
  5.         $response $this->kernel->handle($this->request);
  6.         $response->send();
  7.         if ($this->kernel instanceof TerminableInterface) {
  8.             $this->kernel->terminate($this->request$response);
  9.         }
in vendor/autoload_runtime.php -> run (line 29)
  1. $app $app(...$args);
  2. exit(
  3.     $runtime
  4.         ->getRunner($app)
  5.         ->run()
  6. );
require_once('/www/php81/serversoap/recaudos/vendor/autoload_runtime.php') in public/index.php (line 16)
  1. $method $_SERVER['REQUEST_METHOD'];
  2. if($method == "OPTIONS") {
  3.     die();
  4. }
  5. require_once dirname(__DIR__).'/vendor/autoload_runtime.php';
  6. return function (array $context) {
  7.     return new Kernel($context['APP_ENV'], (bool) $context['APP_DEBUG']);
  8. };

Logs

No log messages

Stack Traces 3

[3/3] DriverException
Doctrine\DBAL\Exception\DriverException:
An exception occurred while executing a query: SQLSTATE[22P05]: Untranslatable character: 7 ERROR:  character with byte sequence 0xe5 0x8c 0xbe in encoding "UTF8" has no equivalent in encoding "LATIN1"

  at vendor/doctrine/dbal/src/Driver/API/PostgreSQL/ExceptionConverter.php:87
  at Doctrine\DBAL\Driver\API\PostgreSQL\ExceptionConverter->convert()
     (vendor/doctrine/dbal/src/Connection.php:1908)
  at Doctrine\DBAL\Connection->handleDriverException()
     (vendor/doctrine/dbal/src/Connection.php:1851)
  at Doctrine\DBAL\Connection->convertExceptionDuringQuery()
     (vendor/doctrine/dbal/src/Statement.php:194)
  at Doctrine\DBAL\Statement->execute()
     (vendor/doctrine/dbal/src/Statement.php:224)
  at Doctrine\DBAL\Statement->executeQuery()
     (src/Services/Conexion.php:162)
  at App\Services\Conexion->query()
     (src/Controller/PtatController.php:4430)
  at App\Controller\PtatController->metodos()
     (vendor/symfony/http-kernel/HttpKernel.php:163)
  at Symfony\Component\HttpKernel\HttpKernel->handleRaw()
     (vendor/symfony/http-kernel/HttpKernel.php:74)
  at Symfony\Component\HttpKernel\HttpKernel->handle()
     (vendor/symfony/http-kernel/Kernel.php:184)
  at Symfony\Component\HttpKernel\Kernel->handle()
     (vendor/symfony/runtime/Runner/Symfony/HttpKernelRunner.php:35)
  at Symfony\Component\Runtime\Runner\Symfony\HttpKernelRunner->run()
     (vendor/autoload_runtime.php:29)
  at require_once('/www/php81/serversoap/recaudos/vendor/autoload_runtime.php')
     (public/index.php:16)                
[2/3] Exception
Doctrine\DBAL\Driver\PDO\Exception:
SQLSTATE[22P05]: Untranslatable character: 7 ERROR:  character with byte sequence 0xe5 0x8c 0xbe in encoding "UTF8" has no equivalent in encoding "LATIN1"

  at vendor/doctrine/dbal/src/Driver/PDO/Exception.php:28
  at Doctrine\DBAL\Driver\PDO\Exception::new()
     (vendor/doctrine/dbal/src/Driver/PDO/Statement.php:136)
  at Doctrine\DBAL\Driver\PDO\Statement->execute()
     (vendor/doctrine/dbal/src/Statement.php:190)
  at Doctrine\DBAL\Statement->execute()
     (vendor/doctrine/dbal/src/Statement.php:224)
  at Doctrine\DBAL\Statement->executeQuery()
     (src/Services/Conexion.php:162)
  at App\Services\Conexion->query()
     (src/Controller/PtatController.php:4430)
  at App\Controller\PtatController->metodos()
     (vendor/symfony/http-kernel/HttpKernel.php:163)
  at Symfony\Component\HttpKernel\HttpKernel->handleRaw()
     (vendor/symfony/http-kernel/HttpKernel.php:74)
  at Symfony\Component\HttpKernel\HttpKernel->handle()
     (vendor/symfony/http-kernel/Kernel.php:184)
  at Symfony\Component\HttpKernel\Kernel->handle()
     (vendor/symfony/runtime/Runner/Symfony/HttpKernelRunner.php:35)
  at Symfony\Component\Runtime\Runner\Symfony\HttpKernelRunner->run()
     (vendor/autoload_runtime.php:29)
  at require_once('/www/php81/serversoap/recaudos/vendor/autoload_runtime.php')
     (public/index.php:16)                
[1/3] PDOException
PDOException:
SQLSTATE[22P05]: Untranslatable character: 7 ERROR:  character with byte sequence 0xe5 0x8c 0xbe in encoding "UTF8" has no equivalent in encoding "LATIN1"

  at vendor/doctrine/dbal/src/Driver/PDO/Statement.php:134
  at PDOStatement->execute()
     (vendor/doctrine/dbal/src/Driver/PDO/Statement.php:134)
  at Doctrine\DBAL\Driver\PDO\Statement->execute()
     (vendor/doctrine/dbal/src/Statement.php:190)
  at Doctrine\DBAL\Statement->execute()
     (vendor/doctrine/dbal/src/Statement.php:224)
  at Doctrine\DBAL\Statement->executeQuery()
     (src/Services/Conexion.php:162)
  at App\Services\Conexion->query()
     (src/Controller/PtatController.php:4430)
  at App\Controller\PtatController->metodos()
     (vendor/symfony/http-kernel/HttpKernel.php:163)
  at Symfony\Component\HttpKernel\HttpKernel->handleRaw()
     (vendor/symfony/http-kernel/HttpKernel.php:74)
  at Symfony\Component\HttpKernel\HttpKernel->handle()
     (vendor/symfony/http-kernel/Kernel.php:184)
  at Symfony\Component\HttpKernel\Kernel->handle()
     (vendor/symfony/runtime/Runner/Symfony/HttpKernelRunner.php:35)
  at Symfony\Component\Runtime\Runner\Symfony\HttpKernelRunner->run()
     (vendor/autoload_runtime.php:29)
  at require_once('/www/php81/serversoap/recaudos/vendor/autoload_runtime.php')
     (public/index.php:16)                
18 05 2023 08:23:36 ********************Inicia Metodos Sem*********************** 18 05 2023 08:23:36 ###############Datos recibidos 20 -- {"id_mod":8,"codigo":-1,"correo":"joesguga@hotmail.com"} -- CP1006820220 18 05 2023 08:23:36 headers eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c3VhcmlvIjoiQ1AxMDA2ODIwMjIwIiwiaWF0IjoxNjg0NDE2MjEyLCJleHAiOjE2ODQ0MjUyMTJ9.k2nXU3f2hmv5ZrsA6-qnslPmjHT4JZW1_q-Kh6Qjyio || 18 05 2023 08:23:36 headers {"AUTHENTICATION":"eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c3VhcmlvIjoiQ1AxMDA2ODIwMjIwIiwiaWF0IjoxNjg0NDE2MjEyLCJleHAiOjE2ODQ0MjUyMTJ9.k2nXU3f2hmv5ZrsA6-qnslPmjHT4JZW1_q-Kh6Qjyio"} 18 05 2023 08:23:36 Envio Metodos Sem: 18 05 2023 08:23:36 Url=http://10.1.1.11:8094/ptat/metodos/metodos 18 05 2023 08:23:36 Contenido:POST http://10.1.1.11:8094/ptat/metodos/metodos HTTP/1.1 AUTHENTICATION: eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c3VhcmlvIjoiQ1AxMDA2ODIwMjIwIiwiaWF0IjoxNjg0NDE2MjEyLCJleHAiOjE2ODQ0MjUyMTJ9.k2nXU3f2hmv5ZrsA6-qnslPmjHT4JZW1_q-Kh6Qjyio Content-Length: 326 Content-Type: multipart/form-data; boundary="a3203bfe.3fe1391f" --a3203bfe.3fe1391f Content-Disposition: form-data; name="con[0][con]" 20 --a3203bfe.3fe1391f Content-Disposition: form-data; name="datos" {"id_mod":8,"codigo":-1,"correo":"joesguga@hotmail.com"} --a3203bfe.3fe1391f Content-Disposition: form-data; name="usuario[0][usuario]" CP1006820220 --a3203bfe.3fe1391f-- 18 05 2023 08:23:36 HTTP/1.1 200 OK Date: Thu, 18 May 2023 13:23:36 GMT Server: Apache/2.4.41 (Ubuntu) X-Powered-By: PHP/8.1.18 Access-Control-Allow-Origin: * Access-Control-Allow-Headers: X-API-KEY, Origin, X-Requested-With, Content-Type, Accept, Access-Control-Request-Method, Authorization, Authentication Access-Control-Allow-Methods: GET, POST, OPTIONS, PUT, DELETE Allow: GET, POST, OPTIONS, PUT, DELETE Cache-Control: no-cache, private Http-Authentication: eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c3VhcmlvIjoiQ1AxMDA2ODIwMjIwIiwiaWF0IjoxNjg0NDE2MjEyLCJleHAiOjE2ODQ0MjUyMTJ9.k2nXU3f2hmv5ZrsA6-qnslPmjHT4JZW1_q-Kh6Qjyio Content-Type: application/json X-Original-Transfer-Encoding: chunked Content-Length: 495 {"code":"1","status":"1","success":"1","message":"Modulo OK","info":"Modulo OK","arr_eventos":"[{\"id\":46,\"nombre_evento\":\"EVENTO REUNION PRUEBA\",\"hora_inicio\":\"10:30\",\"hora_final\":\"13:30\",\"estado\":\"0\",\"fecha\":\"2023-05-18\"}]","arr_vendedoras":"[{\"cedula\":1000121898,\"nombres\":\"YESLY ALEJANDRA CASTRO\",\"id_evento\":46},{\"cedula\":1000335452,\"nombres\":\"PAULA VANESSA HERNANDEZ\",\"id_evento\":46}]","tipo_registro_betplay":null,"id_sgc":null,"arr_informacion":null} 18 05 2023 08:23:36 datos:{"code":"1","status":"1","success":"1","message":"Modulo OK","info":"Modulo OK","arr_eventos":"[{\"id\":46,\"nombre_evento\":\"EVENTO REUNION PRUEBA\",\"hora_inicio\":\"10:30\",\"hora_final\":\"13:30\",\"estado\":\"0\",\"fecha\":\"2023-05-18\"}]","arr_vendedoras":"[{\"cedula\":1000121898,\"nombres\":\"YESLY ALEJANDRA CASTRO\",\"id_evento\":46},{\"cedula\":1000335452,\"nombres\":\"PAULA VANESSA HERNANDEZ\",\"id_evento\":46}]","tipo_registro_betplay":null,"id_sgc":null,"arr_informacion":null} 18 05 2023 08:23:39 ********************Inicia Metodos Sem*********************** 18 05 2023 08:23:39 ###############Datos recibidos 20 -- {"id_mod":8,"codigo":-1,"correo":"joesguga@hotmail.com"} -- CP1006820220 18 05 2023 08:23:39 headers eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c3VhcmlvIjoiQ1AxMDA2ODIwMjIwIiwiaWF0IjoxNjg0NDE2MjEyLCJleHAiOjE2ODQ0MjUyMTJ9.k2nXU3f2hmv5ZrsA6-qnslPmjHT4JZW1_q-Kh6Qjyio || 18 05 2023 08:23:39 headers {"AUTHENTICATION":"eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c3VhcmlvIjoiQ1AxMDA2ODIwMjIwIiwiaWF0IjoxNjg0NDE2MjEyLCJleHAiOjE2ODQ0MjUyMTJ9.k2nXU3f2hmv5ZrsA6-qnslPmjHT4JZW1_q-Kh6Qjyio"} 18 05 2023 08:23:39 Envio Metodos Sem: 18 05 2023 08:23:39 Url=http://10.1.1.11:8094/ptat/metodos/metodos 18 05 2023 08:23:39 Contenido:POST http://10.1.1.11:8094/ptat/metodos/metodos HTTP/1.1 AUTHENTICATION: eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c3VhcmlvIjoiQ1AxMDA2ODIwMjIwIiwiaWF0IjoxNjg0NDE2MjEyLCJleHAiOjE2ODQ0MjUyMTJ9.k2nXU3f2hmv5ZrsA6-qnslPmjHT4JZW1_q-Kh6Qjyio Content-Length: 326 Content-Type: multipart/form-data; boundary="95c89367.3fe3c12a" --95c89367.3fe3c12a Content-Disposition: form-data; name="con[0][con]" 20 --95c89367.3fe3c12a Content-Disposition: form-data; name="datos" {"id_mod":8,"codigo":-1,"correo":"joesguga@hotmail.com"} --95c89367.3fe3c12a Content-Disposition: form-data; name="usuario[0][usuario]" CP1006820220 --95c89367.3fe3c12a-- 18 05 2023 08:23:39 HTTP/1.1 200 OK Date: Thu, 18 May 2023 13:23:39 GMT Server: Apache/2.4.41 (Ubuntu) X-Powered-By: PHP/8.1.18 Access-Control-Allow-Origin: * Access-Control-Allow-Headers: X-API-KEY, Origin, X-Requested-With, Content-Type, Accept, Access-Control-Request-Method, Authorization, Authentication Access-Control-Allow-Methods: GET, POST, OPTIONS, PUT, DELETE Allow: GET, POST, OPTIONS, PUT, DELETE Cache-Control: no-cache, private Http-Authentication: eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c3VhcmlvIjoiQ1AxMDA2ODIwMjIwIiwiaWF0IjoxNjg0NDE2MjEyLCJleHAiOjE2ODQ0MjUyMTJ9.k2nXU3f2hmv5ZrsA6-qnslPmjHT4JZW1_q-Kh6Qjyio Content-Type: application/json X-Original-Transfer-Encoding: chunked Content-Length: 495 {"code":"1","status":"1","success":"1","message":"Modulo OK","info":"Modulo OK","arr_eventos":"[{\"id\":46,\"nombre_evento\":\"EVENTO REUNION PRUEBA\",\"hora_inicio\":\"10:30\",\"hora_final\":\"13:30\",\"estado\":\"0\",\"fecha\":\"2023-05-18\"}]","arr_vendedoras":"[{\"cedula\":1000121898,\"nombres\":\"YESLY ALEJANDRA CASTRO\",\"id_evento\":46},{\"cedula\":1000335452,\"nombres\":\"PAULA VANESSA HERNANDEZ\",\"id_evento\":46}]","tipo_registro_betplay":null,"id_sgc":null,"arr_informacion":null} 18 05 2023 08:23:39 datos:{"code":"1","status":"1","success":"1","message":"Modulo OK","info":"Modulo OK","arr_eventos":"[{\"id\":46,\"nombre_evento\":\"EVENTO REUNION PRUEBA\",\"hora_inicio\":\"10:30\",\"hora_final\":\"13:30\",\"estado\":\"0\",\"fecha\":\"2023-05-18\"}]","arr_vendedoras":"[{\"cedula\":1000121898,\"nombres\":\"YESLY ALEJANDRA CASTRO\",\"id_evento\":46},{\"cedula\":1000335452,\"nombres\":\"PAULA VANESSA HERNANDEZ\",\"id_evento\":46}]","tipo_registro_betplay":null,"id_sgc":null,"arr_informacion":null} 18 05 2023 08:23:46 ********************Inicia Metodos Sem*********************** 18 05 2023 08:23:46 ###############Datos recibidos 24 -- {"id":"46","novedad":"priena aņo","asesora":"1000121898"} -- CP1006820220 18 05 2023 08:23:46 headers eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c3VhcmlvIjoiQ1AxMDA2ODIwMjIwIiwiaWF0IjoxNjg0NDE2MjEyLCJleHAiOjE2ODQ0MjUyMTJ9.k2nXU3f2hmv5ZrsA6-qnslPmjHT4JZW1_q-Kh6Qjyio || 18 05 2023 08:23:46 headers {"AUTHENTICATION":"eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c3VhcmlvIjoiQ1AxMDA2ODIwMjIwIiwiaWF0IjoxNjg0NDE2MjEyLCJleHAiOjE2ODQ0MjUyMTJ9.k2nXU3f2hmv5ZrsA6-qnslPmjHT4JZW1_q-Kh6Qjyio"} 18 05 2023 08:23:46 Envio Metodos Sem: 18 05 2023 08:23:46 Url=http://10.1.1.11:8094/ptat/metodos/metodos 18 05 2023 08:23:46 Contenido:POST http://10.1.1.11:8094/ptat/metodos/metodos HTTP/1.1 AUTHENTICATION: eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c3VhcmlvIjoiQ1AxMDA2ODIwMjIwIiwiaWF0IjoxNjg0NDE2MjEyLCJleHAiOjE2ODQ0MjUyMTJ9.k2nXU3f2hmv5ZrsA6-qnslPmjHT4JZW1_q-Kh6Qjyio Content-Length: 327 Content-Type: multipart/form-data; boundary="2047bc59.3fed9689" --2047bc59.3fed9689 Content-Disposition: form-data; name="con[0][con]" 24 --2047bc59.3fed9689 Content-Disposition: form-data; name="datos" {"id":"46","novedad":"priena aņo","asesora":"1000121898"} --2047bc59.3fed9689 Content-Disposition: form-data; name="usuario[0][usuario]" CP1006820220 --2047bc59.3fed9689-- 18 05 2023 08:23:46 HTTP/1.1 500 Internal Server Error Date: Thu, 18 May 2023 13:23:46 GMT Server: Apache/2.4.41 (Ubuntu) X-Powered-By: PHP/8.1.18 Access-Control-Allow-Origin: * Access-Control-Allow-Headers: X-API-KEY, Origin, X-Requested-With, Content-Type, Accept, Access-Control-Request-Method, Authorization, Authentication Access-Control-Allow-Methods: GET, POST, OPTIONS, PUT, DELETE Allow: GET, POST, OPTIONS, PUT, DELETE X-Debug-Exception: An%20exception%20occurred%20while%20executing%20a%20query%3A%20SQLSTATE%5B22P05%5D%3A%20Untranslatable%20character%3A%207%20ERROR%3A%20%20character%20with%20byte%20sequence%200xe5%200x8c%200xbe%20in%20encoding%20%22UTF8%22%20has%20no%20equivalent%20in%20encoding%20%22LATIN1%22 X-Debug-Exception-File: %2Fwww%2Fphp81%2Fserversoap%2Frecaudos%2Fvendor%2Fdoctrine%2Fdbal%2Fsrc%2FDriver%2FAPI%2FPostgreSQL%2FExceptionConverter.php:87 Cache-Control: no-cache, private X-Robots-Tag: noindex Connection: close Content-Type: text/html; charset=UTF-8 X-Original-Transfer-Encoding: chunked Content-Length: 266127 An exception occurred while executing a query: SQLSTATE[22P05]: Untranslatable character: 7 ERROR: character with byte sequence 0xe5 0x8c 0xbe in encoding "UTF8" has no equivalent in encoding "LATIN1" (500 Internal Server Error)

Symfony Exception

PDOException Exception DriverException

HTTP 500 Internal Server Error

An exception occurred while executing a query: SQLSTATE[22P05]: Untranslatable character: 7 ERROR: character with byte sequence 0xe5 0x8c 0xbe in encoding "UTF8" has no equivalent in encoding "LATIN1"

Exceptions 3

Doctrine\DBAL\Exception\ DriverException

  1.         // We have to match against the SQLSTATE in the error message in these cases.
  2.         if ($exception->getCode() === && strpos($exception->getMessage(), 'SQLSTATE[08006]') !== false) {
  3.             return new ConnectionException($exception$query);
  4.         }
  5.         return new DriverException($exception$query);
  6.     }
  7. }
  1.     private function handleDriverException(
  2.         Driver\Exception $driverException,
  3.         ?Query $query
  4.     ): DriverException {
  5.         $this->exceptionConverter ??= $this->_driver->getExceptionConverter();
  6.         $exception                  $this->exceptionConverter->convert($driverException$query);
  7.         if ($exception instanceof ConnectionLost) {
  8.             $this->close();
  9.         }
in vendor/doctrine/dbal/src/Connection.php -> handleDriverException (line 1851)
  1.         Driver\Exception $e,
  2.         string $sql,
  3.         array $params = [],
  4.         array $types = []
  5.     ): DriverException {
  6.         return $this->handleDriverException($e, new Query($sql$params$types));
  7.     }
  8.     /** @internal */
  9.     final public function convertException(Driver\Exception $e): DriverException
  10.     {
in vendor/doctrine/dbal/src/Statement.php -> convertExceptionDuringQuery (line 194)
  1.             return new Result(
  2.                 $this->stmt->execute($params),
  3.                 $this->conn,
  4.             );
  5.         } catch (Driver\Exception $ex) {
  6.             throw $this->conn->convertExceptionDuringQuery($ex$this->sql$this->params$this->types);
  7.         } finally {
  8.             if ($logger !== null) {
  9.                 $logger->stopQuery();
  10.             }
  11.         }
  1.         if ($params === []) {
  2.             $params null// Workaround as long execute() exists and used internally.
  3.         }
  4.         return $this->execute($params);
  5.     }
  6.     /**
  7.      * Executes the statement with the currently bound parameters and return affected rows.
  8.      *
Statement->executeQuery() in src/Services/Conexion.php (line 162)
  1.       // $this->log->logs("Inicio ejecucion sql0");
  2.       $this->cnn \Doctrine\DBAL\DriverManager::getConnection($connectionParams$config);
  3.       // $this->log->logs("Inicio ejecucion sql");
  4.       //$sql = "SELECT * FROM articles";
  5.       $stmt $this->cnn->prepare($sql);
  6.       $resultSet $stmt->executeQuery()->fetchAllAssociative();//execute();
  7.       // $this->log->logs("respuestaaa ",array($resultSet)); 
  8.       // $this->log->logs("respuestaaa ",array(mb_convert_encoding($resultSet,"UTF-8", "Windows-1252")));
  9.       $signup false;
  10.       if(is_object($stmt))
  11.       {
Conexion->query() in src/Controller/PtatController.php (line 4430)
  1.       $asesora $arreglo['asesora'];
  2.       $id $arreglo['id'];
  3.       $novedad $arreglo['novedad'];
  4.       
  5.       $sql_upd "UPDATE horarios_eventos_betplay_asesoras SET estado='1', fecha_mod=now(), usuario_mod='$usuario', novedad='$novedad' WHERE id_evento='$id' and cedula='$asesora' and estado='0' returning id";
  6.       $upd $this->cnn->query('0'$sql_upd);
  7.       if (count($upd) > 0
  8.       {
  9.         $code "1";
  10.         $mensaje "Su solicitud fue realizada";
  11.       }
  1.         $this->dispatcher->dispatch($eventKernelEvents::CONTROLLER_ARGUMENTS);
  2.         $controller $event->getController();
  3.         $arguments $event->getArguments();
  4.         // call controller
  5.         $response $controller(...$arguments);
  6.         // view
  7.         if (!$response instanceof Response) {
  8.             $event = new ViewEvent($this$request$type$response$event);
  9.             $this->dispatcher->dispatch($eventKernelEvents::VIEW);
  1.     {
  2.         $request->headers->set('X-Php-Ob-Level', (string) ob_get_level());
  3.         $this->requestStack->push($request);
  4.         try {
  5.             return $this->handleRaw($request$type);
  6.         } catch (\Throwable $e) {
  7.             if ($e instanceof \Error && !$this->handleAllThrowables) {
  8.                 throw $e;
  9.             }
  1.         $this->boot();
  2.         ++$this->requestStackSize;
  3.         $this->resetServices true;
  4.         try {
  5.             return $this->getHttpKernel()->handle($request$type$catch);
  6.         } finally {
  7.             --$this->requestStackSize;
  8.         }
  9.     }
  1.         $this->request $request;
  2.     }
  3.     public function run(): int
  4.     {
  5.         $response $this->kernel->handle($this->request);
  6.         $response->send();
  7.         if ($this->kernel instanceof TerminableInterface) {
  8.             $this->kernel->terminate($this->request$response);
  9.         }
in vendor/autoload_runtime.php -> run (line 29)
  1. $app $app(...$args);
  2. exit(
  3.     $runtime
  4.         ->getRunner($app)
  5.         ->run()
  6. );
require_once('/www/php81/serversoap/recaudos/vendor/autoload_runtime.php') in public/index.php (line 16)
  1. $method $_SERVER['REQUEST_METHOD'];
  2. if($method == "OPTIONS") {
  3.     die();
  4. }
  5. require_once dirname(__DIR__).'/vendor/autoload_runtime.php';
  6. return function (array $context) {
  7.     return new Kernel($context['APP_ENV'], (bool) $context['APP_DEBUG']);
  8. };

Doctrine\DBAL\Driver\PDO\ Exception

SQLSTATE[22P05]: Untranslatable character: 7 ERROR: character with byte sequence 0xe5 0x8c 0xbe in encoding "UTF8" has no equivalent in encoding "LATIN1"

  1.         } else {
  2.             $code     $exception->getCode();
  3.             $sqlState null;
  4.         }
  5.         return new self($exception->getMessage(), $sqlState$code$exception);
  6.     }
  7. }
  1.         }
  2.         try {
  3.             $this->stmt->execute($params);
  4.         } catch (PDOException $exception) {
  5.             throw Exception::new($exception);
  6.         }
  7.         return new Result($this->stmt);
  8.     }
  1.             $logger->startQuery($this->sql$this->params$this->types);
  2.         }
  3.         try {
  4.             return new Result(
  5.                 $this->stmt->execute($params),
  6.                 $this->conn,
  7.             );
  8.         } catch (Driver\Exception $ex) {
  9.             throw $this->conn->convertExceptionDuringQuery($ex$this->sql$this->params$this->types);
  10.         } finally {
  1.         if ($params === []) {
  2.             $params null// Workaround as long execute() exists and used internally.
  3.         }
  4.         return $this->execute($params);
  5.     }
  6.     /**
  7.      * Executes the statement with the currently bound parameters and return affected rows.
  8.      *
Statement->executeQuery() in src/Services/Conexion.php (line 162)
  1.       // $this->log->logs("Inicio ejecucion sql0");
  2.       $this->cnn \Doctrine\DBAL\DriverManager::getConnection($connectionParams$config);
  3.       // $this->log->logs("Inicio ejecucion sql");
  4.       //$sql = "SELECT * FROM articles";
  5.       $stmt $this->cnn->prepare($sql);
  6.       $resultSet $stmt->executeQuery()->fetchAllAssociative();//execute();
  7.       // $this->log->logs("respuestaaa ",array($resultSet)); 
  8.       // $this->log->logs("respuestaaa ",array(mb_convert_encoding($resultSet,"UTF-8", "Windows-1252")));
  9.       $signup false;
  10.       if(is_object($stmt))
  11.       {
Conexion->query() in src/Controller/PtatController.php (line 4430)
  1.       $asesora $arreglo['asesora'];
  2.       $id $arreglo['id'];
  3.       $novedad $arreglo['novedad'];
  4.       
  5.       $sql_upd "UPDATE horarios_eventos_betplay_asesoras SET estado='1', fecha_mod=now(), usuario_mod='$usuario', novedad='$novedad' WHERE id_evento='$id' and cedula='$asesora' and estado='0' returning id";
  6.       $upd $this->cnn->query('0'$sql_upd);
  7.       if (count($upd) > 0
  8.       {
  9.         $code "1";
  10.         $mensaje "Su solicitud fue realizada";
  11.       }
  1.         $this->dispatcher->dispatch($eventKernelEvents::CONTROLLER_ARGUMENTS);
  2.         $controller $event->getController();
  3.         $arguments $event->getArguments();
  4.         // call controller
  5.         $response $controller(...$arguments);
  6.         // view
  7.         if (!$response instanceof Response) {
  8.             $event = new ViewEvent($this$request$type$response$event);
  9.             $this->dispatcher->dispatch($eventKernelEvents::VIEW);
  1.     {
  2.         $request->headers->set('X-Php-Ob-Level', (string) ob_get_level());
  3.         $this->requestStack->push($request);
  4.         try {
  5.             return $this->handleRaw($request$type);
  6.         } catch (\Throwable $e) {
  7.             if ($e instanceof \Error && !$this->handleAllThrowables) {
  8.                 throw $e;
  9.             }
  1.         $this->boot();
  2.         ++$this->requestStackSize;
  3.         $this->resetServices true;
  4.         try {
  5.             return $this->getHttpKernel()->handle($request$type$catch);
  6.         } finally {
  7.             --$this->requestStackSize;
  8.         }
  9.     }
  1.         $this->request $request;
  2.     }
  3.     public function run(): int
  4.     {
  5.         $response $this->kernel->handle($this->request);
  6.         $response->send();
  7.         if ($this->kernel instanceof TerminableInterface) {
  8.             $this->kernel->terminate($this->request$response);
  9.         }
in vendor/autoload_runtime.php -> run (line 29)
  1. $app $app(...$args);
  2. exit(
  3.     $runtime
  4.         ->getRunner($app)
  5.         ->run()
  6. );
require_once('/www/php81/serversoap/recaudos/vendor/autoload_runtime.php') in public/index.php (line 16)
  1. $method $_SERVER['REQUEST_METHOD'];
  2. if($method == "OPTIONS") {
  3.     die();
  4. }
  5. require_once dirname(__DIR__).'/vendor/autoload_runtime.php';
  6. return function (array $context) {
  7.     return new Kernel($context['APP_ENV'], (bool) $context['APP_DEBUG']);
  8. };

PDOException

SQLSTATE[22P05]: Untranslatable character: 7 ERROR: character with byte sequence 0xe5 0x8c 0xbe in encoding "UTF8" has no equivalent in encoding "LATIN1"

  1.                     ' Statement::bindParam() or Statement::bindValue() instead.',
  2.             );
  3.         }
  4.         try {
  5.             $this->stmt->execute($params);
  6.         } catch (PDOException $exception) {
  7.             throw Exception::new($exception);
  8.         }
  9.         return new Result($this->stmt);
  1.                     ' Statement::bindParam() or Statement::bindValue() instead.',
  2.             );
  3.         }
  4.         try {
  5.             $this->stmt->execute($params);
  6.         } catch (PDOException $exception) {
  7.             throw Exception::new($exception);
  8.         }
  9.         return new Result($this->stmt);
  1.             $logger->startQuery($this->sql$this->params$this->types);
  2.         }
  3.         try {
  4.             return new Result(
  5.                 $this->stmt->execute($params),
  6.                 $this->conn,
  7.             );
  8.         } catch (Driver\Exception $ex) {
  9.             throw $this->conn->convertExceptionDuringQuery($ex$this->sql$this->params$this->types);
  10.         } finally {
  1.         if ($params === []) {
  2.             $params null// Workaround as long execute() exists and used internally.
  3.         }
  4.         return $this->execute($params);
  5.     }
  6.     /**
  7.      * Executes the statement with the currently bound parameters and return affected rows.
  8.      *
Statement->executeQuery() in src/Services/Conexion.php (line 162)
  1.       // $this->log->logs("Inicio ejecucion sql0");
  2.       $this->cnn \Doctrine\DBAL\DriverManager::getConnection($connectionParams$config);
  3.       // $this->log->logs("Inicio ejecucion sql");
  4.       //$sql = "SELECT * FROM articles";
  5.       $stmt $this->cnn->prepare($sql);
  6.       $resultSet $stmt->executeQuery()->fetchAllAssociative();//execute();
  7.       // $this->log->logs("respuestaaa ",array($resultSet)); 
  8.       // $this->log->logs("respuestaaa ",array(mb_convert_encoding($resultSet,"UTF-8", "Windows-1252")));
  9.       $signup false;
  10.       if(is_object($stmt))
  11.       {
Conexion->query() in src/Controller/PtatController.php (line 4430)
  1.       $asesora $arreglo['asesora'];
  2.       $id $arreglo['id'];
  3.       $novedad $arreglo['novedad'];
  4.       
  5.       $sql_upd "UPDATE horarios_eventos_betplay_asesoras SET estado='1', fecha_mod=now(), usuario_mod='$usuario', novedad='$novedad' WHERE id_evento='$id' and cedula='$asesora' and estado='0' returning id";
  6.       $upd $this->cnn->query('0'$sql_upd);
  7.       if (count($upd) > 0
  8.       {
  9.         $code "1";
  10.         $mensaje "Su solicitud fue realizada";
  11.       }
  1.         $this->dispatcher->dispatch($eventKernelEvents::CONTROLLER_ARGUMENTS);
  2.         $controller $event->getController();
  3.         $arguments $event->getArguments();
  4.         // call controller
  5.         $response $controller(...$arguments);
  6.         // view
  7.         if (!$response instanceof Response) {
  8.             $event = new ViewEvent($this$request$type$response$event);
  9.             $this->dispatcher->dispatch($eventKernelEvents::VIEW);
  1.     {
  2.         $request->headers->set('X-Php-Ob-Level', (string) ob_get_level());
  3.         $this->requestStack->push($request);
  4.         try {
  5.             return $this->handleRaw($request$type);
  6.         } catch (\Throwable $e) {
  7.             if ($e instanceof \Error && !$this->handleAllThrowables) {
  8.                 throw $e;
  9.             }
  1.         $this->boot();
  2.         ++$this->requestStackSize;
  3.         $this->resetServices true;
  4.         try {
  5.             return $this->getHttpKernel()->handle($request$type$catch);
  6.         } finally {
  7.             --$this->requestStackSize;
  8.         }
  9.     }
  1.         $this->request $request;
  2.     }
  3.     public function run(): int
  4.     {
  5.         $response $this->kernel->handle($this->request);
  6.         $response->send();
  7.         if ($this->kernel instanceof TerminableInterface) {
  8.             $this->kernel->terminate($this->request$response);
  9.         }
in vendor/autoload_runtime.php -> run (line 29)
  1. $app $app(...$args);
  2. exit(
  3.     $runtime
  4.         ->getRunner($app)
  5.         ->run()
  6. );
require_once('/www/php81/serversoap/recaudos/vendor/autoload_runtime.php') in public/index.php (line 16)
  1. $method $_SERVER['REQUEST_METHOD'];
  2. if($method == "OPTIONS") {
  3.     die();
  4. }
  5. require_once dirname(__DIR__).'/vendor/autoload_runtime.php';
  6. return function (array $context) {
  7.     return new Kernel($context['APP_ENV'], (bool) $context['APP_DEBUG']);
  8. };

Logs

No log messages

Stack Traces 3

[3/3] DriverException
Doctrine\DBAL\Exception\DriverException:
An exception occurred while executing a query: SQLSTATE[22P05]: Untranslatable character: 7 ERROR:  character with byte sequence 0xe5 0x8c 0xbe in encoding "UTF8" has no equivalent in encoding "LATIN1"

  at vendor/doctrine/dbal/src/Driver/API/PostgreSQL/ExceptionConverter.php:87
  at Doctrine\DBAL\Driver\API\PostgreSQL\ExceptionConverter->convert()
     (vendor/doctrine/dbal/src/Connection.php:1908)
  at Doctrine\DBAL\Connection->handleDriverException()
     (vendor/doctrine/dbal/src/Connection.php:1851)
  at Doctrine\DBAL\Connection->convertExceptionDuringQuery()
     (vendor/doctrine/dbal/src/Statement.php:194)
  at Doctrine\DBAL\Statement->execute()
     (vendor/doctrine/dbal/src/Statement.php:224)
  at Doctrine\DBAL\Statement->executeQuery()
     (src/Services/Conexion.php:162)
  at App\Services\Conexion->query()
     (src/Controller/PtatController.php:4430)
  at App\Controller\PtatController->metodos()
     (vendor/symfony/http-kernel/HttpKernel.php:163)
  at Symfony\Component\HttpKernel\HttpKernel->handleRaw()
     (vendor/symfony/http-kernel/HttpKernel.php:74)
  at Symfony\Component\HttpKernel\HttpKernel->handle()
     (vendor/symfony/http-kernel/Kernel.php:184)
  at Symfony\Component\HttpKernel\Kernel->handle()
     (vendor/symfony/runtime/Runner/Symfony/HttpKernelRunner.php:35)
  at Symfony\Component\Runtime\Runner\Symfony\HttpKernelRunner->run()
     (vendor/autoload_runtime.php:29)
  at require_once('/www/php81/serversoap/recaudos/vendor/autoload_runtime.php')
     (public/index.php:16)                
[2/3] Exception
Doctrine\DBAL\Driver\PDO\Exception:
SQLSTATE[22P05]: Untranslatable character: 7 ERROR:  character with byte sequence 0xe5 0x8c 0xbe in encoding "UTF8" has no equivalent in encoding "LATIN1"

  at vendor/doctrine/dbal/src/Driver/PDO/Exception.php:28
  at Doctrine\DBAL\Driver\PDO\Exception::new()
     (vendor/doctrine/dbal/src/Driver/PDO/Statement.php:136)
  at Doctrine\DBAL\Driver\PDO\Statement->execute()
     (vendor/doctrine/dbal/src/Statement.php:190)
  at Doctrine\DBAL\Statement->execute()
     (vendor/doctrine/dbal/src/Statement.php:224)
  at Doctrine\DBAL\Statement->executeQuery()
     (src/Services/Conexion.php:162)
  at App\Services\Conexion->query()
     (src/Controller/PtatController.php:4430)
  at App\Controller\PtatController->metodos()
     (vendor/symfony/http-kernel/HttpKernel.php:163)
  at Symfony\Component\HttpKernel\HttpKernel->handleRaw()
     (vendor/symfony/http-kernel/HttpKernel.php:74)
  at Symfony\Component\HttpKernel\HttpKernel->handle()
     (vendor/symfony/http-kernel/Kernel.php:184)
  at Symfony\Component\HttpKernel\Kernel->handle()
     (vendor/symfony/runtime/Runner/Symfony/HttpKernelRunner.php:35)
  at Symfony\Component\Runtime\Runner\Symfony\HttpKernelRunner->run()
     (vendor/autoload_runtime.php:29)
  at require_once('/www/php81/serversoap/recaudos/vendor/autoload_runtime.php')
     (public/index.php:16)                
[1/3] PDOException
PDOException:
SQLSTATE[22P05]: Untranslatable character: 7 ERROR:  character with byte sequence 0xe5 0x8c 0xbe in encoding "UTF8" has no equivalent in encoding "LATIN1"

  at vendor/doctrine/dbal/src/Driver/PDO/Statement.php:134
  at PDOStatement->execute()
     (vendor/doctrine/dbal/src/Driver/PDO/Statement.php:134)
  at Doctrine\DBAL\Driver\PDO\Statement->execute()
     (vendor/doctrine/dbal/src/Statement.php:190)
  at Doctrine\DBAL\Statement->execute()
     (vendor/doctrine/dbal/src/Statement.php:224)
  at Doctrine\DBAL\Statement->executeQuery()
     (src/Services/Conexion.php:162)
  at App\Services\Conexion->query()
     (src/Controller/PtatController.php:4430)
  at App\Controller\PtatController->metodos()
     (vendor/symfony/http-kernel/HttpKernel.php:163)
  at Symfony\Component\HttpKernel\HttpKernel->handleRaw()
     (vendor/symfony/http-kernel/HttpKernel.php:74)
  at Symfony\Component\HttpKernel\HttpKernel->handle()
     (vendor/symfony/http-kernel/Kernel.php:184)
  at Symfony\Component\HttpKernel\Kernel->handle()
     (vendor/symfony/runtime/Runner/Symfony/HttpKernelRunner.php:35)
  at Symfony\Component\Runtime\Runner\Symfony\HttpKernelRunner->run()
     (vendor/autoload_runtime.php:29)
  at require_once('/www/php81/serversoap/recaudos/vendor/autoload_runtime.php')
     (public/index.php:16)                
18 05 2023 08:23:46 Respuesta de conexion:HTTP/1.1 500 Internal Server Error Date: Thu, 18 May 2023 13:23:46 GMT Server: Apache/2.4.41 (Ubuntu) X-Powered-By: PHP/8.1.18 Access-Control-Allow-Origin: * Access-Control-Allow-Headers: X-API-KEY, Origin, X-Requested-With, Content-Type, Accept, Access-Control-Request-Method, Authorization, Authentication Access-Control-Allow-Methods: GET, POST, OPTIONS, PUT, DELETE Allow: GET, POST, OPTIONS, PUT, DELETE X-Debug-Exception: An%20exception%20occurred%20while%20executing%20a%20query%3A%20SQLSTATE%5B22P05%5D%3A%20Untranslatable%20character%3A%207%20ERROR%3A%20%20character%20with%20byte%20sequence%200xe5%200x8c%200xbe%20in%20encoding%20%22UTF8%22%20has%20no%20equivalent%20in%20encoding%20%22LATIN1%22 X-Debug-Exception-File: %2Fwww%2Fphp81%2Fserversoap%2Frecaudos%2Fvendor%2Fdoctrine%2Fdbal%2Fsrc%2FDriver%2FAPI%2FPostgreSQL%2FExceptionConverter.php:87 Cache-Control: no-cache, private X-Robots-Tag: noindex Connection: close Content-Type: text/html; charset=UTF-8 X-Original-Transfer-Encoding: chunked Content-Length: 266127 An exception occurred while executing a query: SQLSTATE[22P05]: Untranslatable character: 7 ERROR: character with byte sequence 0xe5 0x8c 0xbe in encoding "UTF8" has no equivalent in encoding "LATIN1" (500 Internal Server Error)

Symfony Exception

PDOException Exception DriverException

HTTP 500 Internal Server Error

An exception occurred while executing a query: SQLSTATE[22P05]: Untranslatable character: 7 ERROR: character with byte sequence 0xe5 0x8c 0xbe in encoding "UTF8" has no equivalent in encoding "LATIN1"

Exceptions 3

Doctrine\DBAL\Exception\ DriverException

  1.         // We have to match against the SQLSTATE in the error message in these cases.
  2.         if ($exception->getCode() === && strpos($exception->getMessage(), 'SQLSTATE[08006]') !== false) {
  3.             return new ConnectionException($exception$query);
  4.         }
  5.         return new DriverException($exception$query);
  6.     }
  7. }
  1.     private function handleDriverException(
  2.         Driver\Exception $driverException,
  3.         ?Query $query
  4.     ): DriverException {
  5.         $this->exceptionConverter ??= $this->_driver->getExceptionConverter();
  6.         $exception                  $this->exceptionConverter->convert($driverException$query);
  7.         if ($exception instanceof ConnectionLost) {
  8.             $this->close();
  9.         }
in vendor/doctrine/dbal/src/Connection.php -> handleDriverException (line 1851)
  1.         Driver\Exception $e,
  2.         string $sql,
  3.         array $params = [],
  4.         array $types = []
  5.     ): DriverException {
  6.         return $this->handleDriverException($e, new Query($sql$params$types));
  7.     }
  8.     /** @internal */
  9.     final public function convertException(Driver\Exception $e): DriverException
  10.     {
in vendor/doctrine/dbal/src/Statement.php -> convertExceptionDuringQuery (line 194)
  1.             return new Result(
  2.                 $this->stmt->execute($params),
  3.                 $this->conn,
  4.             );
  5.         } catch (Driver\Exception $ex) {
  6.             throw $this->conn->convertExceptionDuringQuery($ex$this->sql$this->params$this->types);
  7.         } finally {
  8.             if ($logger !== null) {
  9.                 $logger->stopQuery();
  10.             }
  11.         }
  1.         if ($params === []) {
  2.             $params null// Workaround as long execute() exists and used internally.
  3.         }
  4.         return $this->execute($params);
  5.     }
  6.     /**
  7.      * Executes the statement with the currently bound parameters and return affected rows.
  8.      *
Statement->executeQuery() in src/Services/Conexion.php (line 162)
  1.       // $this->log->logs("Inicio ejecucion sql0");
  2.       $this->cnn \Doctrine\DBAL\DriverManager::getConnection($connectionParams$config);
  3.       // $this->log->logs("Inicio ejecucion sql");
  4.       //$sql = "SELECT * FROM articles";
  5.       $stmt $this->cnn->prepare($sql);
  6.       $resultSet $stmt->executeQuery()->fetchAllAssociative();//execute();
  7.       // $this->log->logs("respuestaaa ",array($resultSet)); 
  8.       // $this->log->logs("respuestaaa ",array(mb_convert_encoding($resultSet,"UTF-8", "Windows-1252")));
  9.       $signup false;
  10.       if(is_object($stmt))
  11.       {
Conexion->query() in src/Controller/PtatController.php (line 4430)
  1.       $asesora $arreglo['asesora'];
  2.       $id $arreglo['id'];
  3.       $novedad $arreglo['novedad'];
  4.       
  5.       $sql_upd "UPDATE horarios_eventos_betplay_asesoras SET estado='1', fecha_mod=now(), usuario_mod='$usuario', novedad='$novedad' WHERE id_evento='$id' and cedula='$asesora' and estado='0' returning id";
  6.       $upd $this->cnn->query('0'$sql_upd);
  7.       if (count($upd) > 0
  8.       {
  9.         $code "1";
  10.         $mensaje "Su solicitud fue realizada";
  11.       }
  1.         $this->dispatcher->dispatch($eventKernelEvents::CONTROLLER_ARGUMENTS);
  2.         $controller $event->getController();
  3.         $arguments $event->getArguments();
  4.         // call controller
  5.         $response $controller(...$arguments);
  6.         // view
  7.         if (!$response instanceof Response) {
  8.             $event = new ViewEvent($this$request$type$response$event);
  9.             $this->dispatcher->dispatch($eventKernelEvents::VIEW);
  1.     {
  2.         $request->headers->set('X-Php-Ob-Level', (string) ob_get_level());
  3.         $this->requestStack->push($request);
  4.         try {
  5.             return $this->handleRaw($request$type);
  6.         } catch (\Throwable $e) {
  7.             if ($e instanceof \Error && !$this->handleAllThrowables) {
  8.                 throw $e;
  9.             }
  1.         $this->boot();
  2.         ++$this->requestStackSize;
  3.         $this->resetServices true;
  4.         try {
  5.             return $this->getHttpKernel()->handle($request$type$catch);
  6.         } finally {
  7.             --$this->requestStackSize;
  8.         }
  9.     }
  1.         $this->request $request;
  2.     }
  3.     public function run(): int
  4.     {
  5.         $response $this->kernel->handle($this->request);
  6.         $response->send();
  7.         if ($this->kernel instanceof TerminableInterface) {
  8.             $this->kernel->terminate($this->request$response);
  9.         }
in vendor/autoload_runtime.php -> run (line 29)
  1. $app $app(...$args);
  2. exit(
  3.     $runtime
  4.         ->getRunner($app)
  5.         ->run()
  6. );
require_once('/www/php81/serversoap/recaudos/vendor/autoload_runtime.php') in public/index.php (line 16)
  1. $method $_SERVER['REQUEST_METHOD'];
  2. if($method == "OPTIONS") {
  3.     die();
  4. }
  5. require_once dirname(__DIR__).'/vendor/autoload_runtime.php';
  6. return function (array $context) {
  7.     return new Kernel($context['APP_ENV'], (bool) $context['APP_DEBUG']);
  8. };

Doctrine\DBAL\Driver\PDO\ Exception

SQLSTATE[22P05]: Untranslatable character: 7 ERROR: character with byte sequence 0xe5 0x8c 0xbe in encoding "UTF8" has no equivalent in encoding "LATIN1"

  1.         } else {
  2.             $code     $exception->getCode();
  3.             $sqlState null;
  4.         }
  5.         return new self($exception->getMessage(), $sqlState$code$exception);
  6.     }
  7. }
  1.         }
  2.         try {
  3.             $this->stmt->execute($params);
  4.         } catch (PDOException $exception) {
  5.             throw Exception::new($exception);
  6.         }
  7.         return new Result($this->stmt);
  8.     }
  1.             $logger->startQuery($this->sql$this->params$this->types);
  2.         }
  3.         try {
  4.             return new Result(
  5.                 $this->stmt->execute($params),
  6.                 $this->conn,
  7.             );
  8.         } catch (Driver\Exception $ex) {
  9.             throw $this->conn->convertExceptionDuringQuery($ex$this->sql$this->params$this->types);
  10.         } finally {
  1.         if ($params === []) {
  2.             $params null// Workaround as long execute() exists and used internally.
  3.         }
  4.         return $this->execute($params);
  5.     }
  6.     /**
  7.      * Executes the statement with the currently bound parameters and return affected rows.
  8.      *
Statement->executeQuery() in src/Services/Conexion.php (line 162)
  1.       // $this->log->logs("Inicio ejecucion sql0");
  2.       $this->cnn \Doctrine\DBAL\DriverManager::getConnection($connectionParams$config);
  3.       // $this->log->logs("Inicio ejecucion sql");
  4.       //$sql = "SELECT * FROM articles";
  5.       $stmt $this->cnn->prepare($sql);
  6.       $resultSet $stmt->executeQuery()->fetchAllAssociative();//execute();
  7.       // $this->log->logs("respuestaaa ",array($resultSet)); 
  8.       // $this->log->logs("respuestaaa ",array(mb_convert_encoding($resultSet,"UTF-8", "Windows-1252")));
  9.       $signup false;
  10.       if(is_object($stmt))
  11.       {
Conexion->query() in src/Controller/PtatController.php (line 4430)
  1.       $asesora $arreglo['asesora'];
  2.       $id $arreglo['id'];
  3.       $novedad $arreglo['novedad'];
  4.       
  5.       $sql_upd "UPDATE horarios_eventos_betplay_asesoras SET estado='1', fecha_mod=now(), usuario_mod='$usuario', novedad='$novedad' WHERE id_evento='$id' and cedula='$asesora' and estado='0' returning id";
  6.       $upd $this->cnn->query('0'$sql_upd);
  7.       if (count($upd) > 0
  8.       {
  9.         $code "1";
  10.         $mensaje "Su solicitud fue realizada";
  11.       }
  1.         $this->dispatcher->dispatch($eventKernelEvents::CONTROLLER_ARGUMENTS);
  2.         $controller $event->getController();
  3.         $arguments $event->getArguments();
  4.         // call controller
  5.         $response $controller(...$arguments);
  6.         // view
  7.         if (!$response instanceof Response) {
  8.             $event = new ViewEvent($this$request$type$response$event);
  9.             $this->dispatcher->dispatch($eventKernelEvents::VIEW);
  1.     {
  2.         $request->headers->set('X-Php-Ob-Level', (string) ob_get_level());
  3.         $this->requestStack->push($request);
  4.         try {
  5.             return $this->handleRaw($request$type);
  6.         } catch (\Throwable $e) {
  7.             if ($e instanceof \Error && !$this->handleAllThrowables) {
  8.                 throw $e;
  9.             }
  1.         $this->boot();
  2.         ++$this->requestStackSize;
  3.         $this->resetServices true;
  4.         try {
  5.             return $this->getHttpKernel()->handle($request$type$catch);
  6.         } finally {
  7.             --$this->requestStackSize;
  8.         }
  9.     }
  1.         $this->request $request;
  2.     }
  3.     public function run(): int
  4.     {
  5.         $response $this->kernel->handle($this->request);
  6.         $response->send();
  7.         if ($this->kernel instanceof TerminableInterface) {
  8.             $this->kernel->terminate($this->request$response);
  9.         }
in vendor/autoload_runtime.php -> run (line 29)
  1. $app $app(...$args);
  2. exit(
  3.     $runtime
  4.         ->getRunner($app)
  5.         ->run()
  6. );
require_once('/www/php81/serversoap/recaudos/vendor/autoload_runtime.php') in public/index.php (line 16)
  1. $method $_SERVER['REQUEST_METHOD'];
  2. if($method == "OPTIONS") {
  3.     die();
  4. }
  5. require_once dirname(__DIR__).'/vendor/autoload_runtime.php';
  6. return function (array $context) {
  7.     return new Kernel($context['APP_ENV'], (bool) $context['APP_DEBUG']);
  8. };

PDOException

SQLSTATE[22P05]: Untranslatable character: 7 ERROR: character with byte sequence 0xe5 0x8c 0xbe in encoding "UTF8" has no equivalent in encoding "LATIN1"

  1.                     ' Statement::bindParam() or Statement::bindValue() instead.',
  2.             );
  3.         }
  4.         try {
  5.             $this->stmt->execute($params);
  6.         } catch (PDOException $exception) {
  7.             throw Exception::new($exception);
  8.         }
  9.         return new Result($this->stmt);
  1.                     ' Statement::bindParam() or Statement::bindValue() instead.',
  2.             );
  3.         }
  4.         try {
  5.             $this->stmt->execute($params);
  6.         } catch (PDOException $exception) {
  7.             throw Exception::new($exception);
  8.         }
  9.         return new Result($this->stmt);
  1.             $logger->startQuery($this->sql$this->params$this->types);
  2.         }
  3.         try {
  4.             return new Result(
  5.                 $this->stmt->execute($params),
  6.                 $this->conn,
  7.             );
  8.         } catch (Driver\Exception $ex) {
  9.             throw $this->conn->convertExceptionDuringQuery($ex$this->sql$this->params$this->types);
  10.         } finally {
  1.         if ($params === []) {
  2.             $params null// Workaround as long execute() exists and used internally.
  3.         }
  4.         return $this->execute($params);
  5.     }
  6.     /**
  7.      * Executes the statement with the currently bound parameters and return affected rows.
  8.      *
Statement->executeQuery() in src/Services/Conexion.php (line 162)
  1.       // $this->log->logs("Inicio ejecucion sql0");
  2.       $this->cnn \Doctrine\DBAL\DriverManager::getConnection($connectionParams$config);
  3.       // $this->log->logs("Inicio ejecucion sql");
  4.       //$sql = "SELECT * FROM articles";
  5.       $stmt $this->cnn->prepare($sql);
  6.       $resultSet $stmt->executeQuery()->fetchAllAssociative();//execute();
  7.       // $this->log->logs("respuestaaa ",array($resultSet)); 
  8.       // $this->log->logs("respuestaaa ",array(mb_convert_encoding($resultSet,"UTF-8", "Windows-1252")));
  9.       $signup false;
  10.       if(is_object($stmt))
  11.       {
Conexion->query() in src/Controller/PtatController.php (line 4430)
  1.       $asesora $arreglo['asesora'];
  2.       $id $arreglo['id'];
  3.       $novedad $arreglo['novedad'];
  4.       
  5.       $sql_upd "UPDATE horarios_eventos_betplay_asesoras SET estado='1', fecha_mod=now(), usuario_mod='$usuario', novedad='$novedad' WHERE id_evento='$id' and cedula='$asesora' and estado='0' returning id";
  6.       $upd $this->cnn->query('0'$sql_upd);
  7.       if (count($upd) > 0
  8.       {
  9.         $code "1";
  10.         $mensaje "Su solicitud fue realizada";
  11.       }
  1.         $this->dispatcher->dispatch($eventKernelEvents::CONTROLLER_ARGUMENTS);
  2.         $controller $event->getController();
  3.         $arguments $event->getArguments();
  4.         // call controller
  5.         $response $controller(...$arguments);
  6.         // view
  7.         if (!$response instanceof Response) {
  8.             $event = new ViewEvent($this$request$type$response$event);
  9.             $this->dispatcher->dispatch($eventKernelEvents::VIEW);
  1.     {
  2.         $request->headers->set('X-Php-Ob-Level', (string) ob_get_level());
  3.         $this->requestStack->push($request);
  4.         try {
  5.             return $this->handleRaw($request$type);
  6.         } catch (\Throwable $e) {
  7.             if ($e instanceof \Error && !$this->handleAllThrowables) {
  8.                 throw $e;
  9.             }
  1.         $this->boot();
  2.         ++$this->requestStackSize;
  3.         $this->resetServices true;
  4.         try {
  5.             return $this->getHttpKernel()->handle($request$type$catch);
  6.         } finally {
  7.             --$this->requestStackSize;
  8.         }
  9.     }
  1.         $this->request $request;
  2.     }
  3.     public function run(): int
  4.     {
  5.         $response $this->kernel->handle($this->request);
  6.         $response->send();
  7.         if ($this->kernel instanceof TerminableInterface) {
  8.             $this->kernel->terminate($this->request$response);
  9.         }
in vendor/autoload_runtime.php -> run (line 29)
  1. $app $app(...$args);
  2. exit(
  3.     $runtime
  4.         ->getRunner($app)
  5.         ->run()
  6. );
require_once('/www/php81/serversoap/recaudos/vendor/autoload_runtime.php') in public/index.php (line 16)
  1. $method $_SERVER['REQUEST_METHOD'];
  2. if($method == "OPTIONS") {
  3.     die();
  4. }
  5. require_once dirname(__DIR__).'/vendor/autoload_runtime.php';
  6. return function (array $context) {
  7.     return new Kernel($context['APP_ENV'], (bool) $context['APP_DEBUG']);
  8. };

Logs

No log messages

Stack Traces 3

[3/3] DriverException
Doctrine\DBAL\Exception\DriverException:
An exception occurred while executing a query: SQLSTATE[22P05]: Untranslatable character: 7 ERROR:  character with byte sequence 0xe5 0x8c 0xbe in encoding "UTF8" has no equivalent in encoding "LATIN1"

  at vendor/doctrine/dbal/src/Driver/API/PostgreSQL/ExceptionConverter.php:87
  at Doctrine\DBAL\Driver\API\PostgreSQL\ExceptionConverter->convert()
     (vendor/doctrine/dbal/src/Connection.php:1908)
  at Doctrine\DBAL\Connection->handleDriverException()
     (vendor/doctrine/dbal/src/Connection.php:1851)
  at Doctrine\DBAL\Connection->convertExceptionDuringQuery()
     (vendor/doctrine/dbal/src/Statement.php:194)
  at Doctrine\DBAL\Statement->execute()
     (vendor/doctrine/dbal/src/Statement.php:224)
  at Doctrine\DBAL\Statement->executeQuery()
     (src/Services/Conexion.php:162)
  at App\Services\Conexion->query()
     (src/Controller/PtatController.php:4430)
  at App\Controller\PtatController->metodos()
     (vendor/symfony/http-kernel/HttpKernel.php:163)
  at Symfony\Component\HttpKernel\HttpKernel->handleRaw()
     (vendor/symfony/http-kernel/HttpKernel.php:74)
  at Symfony\Component\HttpKernel\HttpKernel->handle()
     (vendor/symfony/http-kernel/Kernel.php:184)
  at Symfony\Component\HttpKernel\Kernel->handle()
     (vendor/symfony/runtime/Runner/Symfony/HttpKernelRunner.php:35)
  at Symfony\Component\Runtime\Runner\Symfony\HttpKernelRunner->run()
     (vendor/autoload_runtime.php:29)
  at require_once('/www/php81/serversoap/recaudos/vendor/autoload_runtime.php')
     (public/index.php:16)                
[2/3] Exception
Doctrine\DBAL\Driver\PDO\Exception:
SQLSTATE[22P05]: Untranslatable character: 7 ERROR:  character with byte sequence 0xe5 0x8c 0xbe in encoding "UTF8" has no equivalent in encoding "LATIN1"

  at vendor/doctrine/dbal/src/Driver/PDO/Exception.php:28
  at Doctrine\DBAL\Driver\PDO\Exception::new()
     (vendor/doctrine/dbal/src/Driver/PDO/Statement.php:136)
  at Doctrine\DBAL\Driver\PDO\Statement->execute()
     (vendor/doctrine/dbal/src/Statement.php:190)
  at Doctrine\DBAL\Statement->execute()
     (vendor/doctrine/dbal/src/Statement.php:224)
  at Doctrine\DBAL\Statement->executeQuery()
     (src/Services/Conexion.php:162)
  at App\Services\Conexion->query()
     (src/Controller/PtatController.php:4430)
  at App\Controller\PtatController->metodos()
     (vendor/symfony/http-kernel/HttpKernel.php:163)
  at Symfony\Component\HttpKernel\HttpKernel->handleRaw()
     (vendor/symfony/http-kernel/HttpKernel.php:74)
  at Symfony\Component\HttpKernel\HttpKernel->handle()
     (vendor/symfony/http-kernel/Kernel.php:184)
  at Symfony\Component\HttpKernel\Kernel->handle()
     (vendor/symfony/runtime/Runner/Symfony/HttpKernelRunner.php:35)
  at Symfony\Component\Runtime\Runner\Symfony\HttpKernelRunner->run()
     (vendor/autoload_runtime.php:29)
  at require_once('/www/php81/serversoap/recaudos/vendor/autoload_runtime.php')
     (public/index.php:16)                
[1/3] PDOException
PDOException:
SQLSTATE[22P05]: Untranslatable character: 7 ERROR:  character with byte sequence 0xe5 0x8c 0xbe in encoding "UTF8" has no equivalent in encoding "LATIN1"

  at vendor/doctrine/dbal/src/Driver/PDO/Statement.php:134
  at PDOStatement->execute()
     (vendor/doctrine/dbal/src/Driver/PDO/Statement.php:134)
  at Doctrine\DBAL\Driver\PDO\Statement->execute()
     (vendor/doctrine/dbal/src/Statement.php:190)
  at Doctrine\DBAL\Statement->execute()
     (vendor/doctrine/dbal/src/Statement.php:224)
  at Doctrine\DBAL\Statement->executeQuery()
     (src/Services/Conexion.php:162)
  at App\Services\Conexion->query()
     (src/Controller/PtatController.php:4430)
  at App\Controller\PtatController->metodos()
     (vendor/symfony/http-kernel/HttpKernel.php:163)
  at Symfony\Component\HttpKernel\HttpKernel->handleRaw()
     (vendor/symfony/http-kernel/HttpKernel.php:74)
  at Symfony\Component\HttpKernel\HttpKernel->handle()
     (vendor/symfony/http-kernel/Kernel.php:184)
  at Symfony\Component\HttpKernel\Kernel->handle()
     (vendor/symfony/runtime/Runner/Symfony/HttpKernelRunner.php:35)
  at Symfony\Component\Runtime\Runner\Symfony\HttpKernelRunner->run()
     (vendor/autoload_runtime.php:29)
  at require_once('/www/php81/serversoap/recaudos/vendor/autoload_runtime.php')
     (public/index.php:16)