19 06 2025 08:04:52 El Archivo 2025-06-19 - log_error.txt se ha creado ************************************************************eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c3VhcmlvIjoiQ1AxMDA2ODIwMjIwIiwiY2xhdmUiOiI0dDdWZnBmUFBRN2huREd6eDJhNWlBPT1cbiIsImV4cCI6MTc1MDMzODMyNiwiaWF0IjoxNzUwMzM4Mjc2fQ.99oeSATaDFPbM-9CKVL95cafAMqdOqKrKbm205nAKAA -- LM-ERROR: HTTP/1.1 500 Internal Server Error Date: Thu, 19 Jun 2025 13:04:52 GMT Server: Apache/2.4.41 (Ubuntu) X-Powered-By: PHP/8.1.27 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%20in%20the%20driver%3A%20SQLSTATE%5B08006%5D%20%5B7%5D%20could%20not%20connect%20to%20server%3A%20No%20route%20to%20host%0A%09Is%20the%20server%20running%20on%20host%20%2210.231.0.132%22%20and%20accepting%0A%09TCP%2FIP%20connections%20on%20port%205432%3F X-Debug-Exception-File: %2Fvar%2Fwww%2Fphp81%2Fserversoap%2Frecaudos%2Fvendor%2Fdoctrine%2Fdbal%2Fsrc%2FDriver%2FAPI%2FPostgreSQL%2FExceptionConverter.php:77 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: 299001 An exception occurred in the driver: SQLSTATE[08006] [7] could not connect to server: No route to host Is the server running on host "10.231.0.132" and accepting TCP/IP connections on port 5432? (500 Internal Server Error)

Symfony Exception

PDOException Exception ConnectionException

HTTP 500 Internal Server Error

An exception occurred in the driver: SQLSTATE[08006] [7] could not connect to server: No route to host
Is the server running on host "10.231.0.132" and accepting
TCP/IP connections on port 5432?

Exceptions 3

Doctrine\DBAL\Exception\ ConnectionException

  1.             case '42P07':
  2.                 return new TableExistsException($exception$query);
  3.             case '08006':
  4.                 return new ConnectionException($exception$query);
  5.         }
  6.         // Prior to fixing https://bugs.php.net/bug.php?id=64705 (PHP 7.4.10),
  7.         // in some cases (mainly connection errors) the PDO exception wouldn't provide a SQLSTATE via its code.
  8.         // We have to match against the SQLSTATE in the error message in these cases.
  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 1857)
  1.     }
  2.     /** @internal */
  3.     final public function convertException(Driver\Exception $e): DriverException
  4.     {
  5.         return $this->handleDriverException($enull);
  6.     }
  7.     /**
  8.      * @param array<int, mixed>|array<string, mixed>                               $params
  9.      * @param array<int, int|string|Type|null>|array<string, int|string|Type|null> $types
in vendor/doctrine/dbal/src/Connection.php -> convertException (line 348)
  1.         }
  2.         try {
  3.             $this->_conn $this->_driver->connect($this->params);
  4.         } catch (Driver\Exception $e) {
  5.             throw $this->convertException($e);
  6.         }
  7.         if ($this->autoCommit === false) {
  8.             $this->beginTransaction();
  9.         }
  1.             'https://github.com/doctrine/dbal/issues/4966',
  2.             'Connection::getWrappedConnection() is deprecated.'
  3.                 ' Use Connection::getNativeConnection() to access the native connection.',
  4.         );
  5.         $this->connect();
  6.         assert($this->_conn !== null);
  7.         return $this->_conn;
  8.     }
in vendor/doctrine/dbal/src/Connection.php -> getWrappedConnection (line 1013)
  1.      *
  2.      * @throws Exception
  3.      */
  4.     public function prepare(string $sql): Statement
  5.     {
  6.         $connection $this->getWrappedConnection();
  7.         try {
  8.             $statement $connection->prepare($sql);
  9.         } catch (Driver\Exception $e) {
  10.             throw $this->convertExceptionDuringQuery($e$sql);
Connection->prepare() in src/Services/Conexion.php (line 563)
  1.       );
  2.       //$cnn = \Doctrine\DBAL\DriverManager::getConnection($connectionParams, $config);
  3.       // $this->log->logs("Inicio ejecucion sql0");
  4.       $this->cnn \Doctrine\DBAL\DriverManager::getConnection($connectionParams$config);
  5.       //$sql = "SELECT * FROM articles";
  6.       $stmt $this->cnn->prepare($sql);
  7.       /* switch ($con)
  8.       {
  9.         case 6:
  10.           case 5:
  11.             $resultSet = $stmt->executeQuery();
Conexion->query_normal() in src/Services/Conexion.php (line 537)
  1.           case 24:
  2.           case 25:
  3.             return $this->consulta_socket($con,$sql);
  4.             break;
  5.           default:
  6.             return $this->query_normal($con,$sql);
  7.             break;
  8.         }  
  9.       }
  10.     }  
  11.         
Conexion->query() in src/Controller/PtatController.php (line 2847)
  1.     $name_device = (!empty($params[0]->name_device)) ? $params[0]->name_device null;
  2.     $operador = (!empty($params[0]->operador)) ? $params[0]->operador null;
  3.     $version_app = (!empty($params[0]->version_app)) ? $params[0]->version_app null;
  4.     $sql_man "SELECT version,estado_modulos FROM sem_versiones sv2 WHERE id = (SELECT max(id) FROM sem_versiones sv WHERE estado = 0)";
  5.     $res_man $this->cnn->query('0'$sql_man);
  6.     if (count($res_man) <= 0)
  7.     {
  8.       $respuesta["datos"] = "No se encontro ninguna version de SEM";
  9.       return $response->setContent(json_encode($respuesta));
  10.     }
in vendor/symfony/http-kernel/HttpKernel.php -> login_movil (line 163)
  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('/var/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[08006] [7] could not connect to server: No route to host Is the server running on host "10.231.0.132" and accepting TCP/IP connections on port 5432?

  1.         } else {
  2.             $code     $exception->getCode();
  3.             $sqlState null;
  4.         }
  5.         return new self($exception->getMessage(), $sqlState$code$exception);
  6.     }
  7. }
  1.                 $params['user'] ?? '',
  2.                 $params['password'] ?? '',
  3.                 $driverOptions,
  4.             );
  5.         } catch (PDOException $exception) {
  6.             throw Exception::new($exception);
  7.         }
  8.         if (
  9.             ! isset($driverOptions[PDO::PGSQL_ATTR_DISABLE_PREPARES])
  10.             || $driverOptions[PDO::PGSQL_ATTR_DISABLE_PREPARES] === true
  1.         if ($this->_conn !== null) {
  2.             return false;
  3.         }
  4.         try {
  5.             $this->_conn $this->_driver->connect($this->params);
  6.         } catch (Driver\Exception $e) {
  7.             throw $this->convertException($e);
  8.         }
  9.         if ($this->autoCommit === false) {
  1.             'https://github.com/doctrine/dbal/issues/4966',
  2.             'Connection::getWrappedConnection() is deprecated.'
  3.                 ' Use Connection::getNativeConnection() to access the native connection.',
  4.         );
  5.         $this->connect();
  6.         assert($this->_conn !== null);
  7.         return $this->_conn;
  8.     }
in vendor/doctrine/dbal/src/Connection.php -> getWrappedConnection (line 1013)
  1.      *
  2.      * @throws Exception
  3.      */
  4.     public function prepare(string $sql): Statement
  5.     {
  6.         $connection $this->getWrappedConnection();
  7.         try {
  8.             $statement $connection->prepare($sql);
  9.         } catch (Driver\Exception $e) {
  10.             throw $this->convertExceptionDuringQuery($e$sql);
Connection->prepare() in src/Services/Conexion.php (line 563)
  1.       );
  2.       //$cnn = \Doctrine\DBAL\DriverManager::getConnection($connectionParams, $config);
  3.       // $this->log->logs("Inicio ejecucion sql0");
  4.       $this->cnn \Doctrine\DBAL\DriverManager::getConnection($connectionParams$config);
  5.       //$sql = "SELECT * FROM articles";
  6.       $stmt $this->cnn->prepare($sql);
  7.       /* switch ($con)
  8.       {
  9.         case 6:
  10.           case 5:
  11.             $resultSet = $stmt->executeQuery();
Conexion->query_normal() in src/Services/Conexion.php (line 537)
  1.           case 24:
  2.           case 25:
  3.             return $this->consulta_socket($con,$sql);
  4.             break;
  5.           default:
  6.             return $this->query_normal($con,$sql);
  7.             break;
  8.         }  
  9.       }
  10.     }  
  11.         
Conexion->query() in src/Controller/PtatController.php (line 2847)
  1.     $name_device = (!empty($params[0]->name_device)) ? $params[0]->name_device null;
  2.     $operador = (!empty($params[0]->operador)) ? $params[0]->operador null;
  3.     $version_app = (!empty($params[0]->version_app)) ? $params[0]->version_app null;
  4.     $sql_man "SELECT version,estado_modulos FROM sem_versiones sv2 WHERE id = (SELECT max(id) FROM sem_versiones sv WHERE estado = 0)";
  5.     $res_man $this->cnn->query('0'$sql_man);
  6.     if (count($res_man) <= 0)
  7.     {
  8.       $respuesta["datos"] = "No se encontro ninguna version de SEM";
  9.       return $response->setContent(json_encode($respuesta));
  10.     }
in vendor/symfony/http-kernel/HttpKernel.php -> login_movil (line 163)
  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('/var/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[08006] [7] could not connect to server: No route to host Is the server running on host "10.231.0.132" and accepting TCP/IP connections on port 5432?

  1.             $driverOptions[PDO::ATTR_PERSISTENT] = true;
  2.         }
  3.         try {
  4.             $pdo = new PDO(
  5.                 $this->constructPdoDsn($params),
  6.                 $params['user'] ?? '',
  7.                 $params['password'] ?? '',
  8.                 $driverOptions,
  9.             );
  10.         } catch (PDOException $exception) {
  1.             $driverOptions[PDO::ATTR_PERSISTENT] = true;
  2.         }
  3.         try {
  4.             $pdo = new PDO(
  5.                 $this->constructPdoDsn($params),
  6.                 $params['user'] ?? '',
  7.                 $params['password'] ?? '',
  8.                 $driverOptions,
  9.             );
  10.         } catch (PDOException $exception) {
  1.         if ($this->_conn !== null) {
  2.             return false;
  3.         }
  4.         try {
  5.             $this->_conn $this->_driver->connect($this->params);
  6.         } catch (Driver\Exception $e) {
  7.             throw $this->convertException($e);
  8.         }
  9.         if ($this->autoCommit === false) {
  1.             'https://github.com/doctrine/dbal/issues/4966',
  2.             'Connection::getWrappedConnection() is deprecated.'
  3.                 ' Use Connection::getNativeConnection() to access the native connection.',
  4.         );
  5.         $this->connect();
  6.         assert($this->_conn !== null);
  7.         return $this->_conn;
  8.     }
in vendor/doctrine/dbal/src/Connection.php -> getWrappedConnection (line 1013)
  1.      *
  2.      * @throws Exception
  3.      */
  4.     public function prepare(string $sql): Statement
  5.     {
  6.         $connection $this->getWrappedConnection();
  7.         try {
  8.             $statement $connection->prepare($sql);
  9.         } catch (Driver\Exception $e) {
  10.             throw $this->convertExceptionDuringQuery($e$sql);
Connection->prepare() in src/Services/Conexion.php (line 563)
  1.       );
  2.       //$cnn = \Doctrine\DBAL\DriverManager::getConnection($connectionParams, $config);
  3.       // $this->log->logs("Inicio ejecucion sql0");
  4.       $this->cnn \Doctrine\DBAL\DriverManager::getConnection($connectionParams$config);
  5.       //$sql = "SELECT * FROM articles";
  6.       $stmt $this->cnn->prepare($sql);
  7.       /* switch ($con)
  8.       {
  9.         case 6:
  10.           case 5:
  11.             $resultSet = $stmt->executeQuery();
Conexion->query_normal() in src/Services/Conexion.php (line 537)
  1.           case 24:
  2.           case 25:
  3.             return $this->consulta_socket($con,$sql);
  4.             break;
  5.           default:
  6.             return $this->query_normal($con,$sql);
  7.             break;
  8.         }  
  9.       }
  10.     }  
  11.         
Conexion->query() in src/Controller/PtatController.php (line 2847)
  1.     $name_device = (!empty($params[0]->name_device)) ? $params[0]->name_device null;
  2.     $operador = (!empty($params[0]->operador)) ? $params[0]->operador null;
  3.     $version_app = (!empty($params[0]->version_app)) ? $params[0]->version_app null;
  4.     $sql_man "SELECT version,estado_modulos FROM sem_versiones sv2 WHERE id = (SELECT max(id) FROM sem_versiones sv WHERE estado = 0)";
  5.     $res_man $this->cnn->query('0'$sql_man);
  6.     if (count($res_man) <= 0)
  7.     {
  8.       $respuesta["datos"] = "No se encontro ninguna version de SEM";
  9.       return $response->setContent(json_encode($respuesta));
  10.     }
in vendor/symfony/http-kernel/HttpKernel.php -> login_movil (line 163)
  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('/var/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] ConnectionException
Doctrine\DBAL\Exception\ConnectionException:
An exception occurred in the driver: SQLSTATE[08006] [7] could not connect to server: No route to host
	Is the server running on host "10.231.0.132" and accepting
	TCP/IP connections on port 5432?

  at vendor/doctrine/dbal/src/Driver/API/PostgreSQL/ExceptionConverter.php:77
  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:1857)
  at Doctrine\DBAL\Connection->convertException()
     (vendor/doctrine/dbal/src/Connection.php:348)
  at Doctrine\DBAL\Connection->connect()
     (vendor/doctrine/dbal/src/Connection.php:1619)
  at Doctrine\DBAL\Connection->getWrappedConnection()
     (vendor/doctrine/dbal/src/Connection.php:1013)
  at Doctrine\DBAL\Connection->prepare()
     (src/Services/Conexion.php:563)
  at App\Services\Conexion->query_normal()
     (src/Services/Conexion.php:537)
  at App\Services\Conexion->query()
     (src/Controller/PtatController.php:2847)
  at App\Controller\PtatController->login_movil()
     (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('/var/www/php81/serversoap/recaudos/vendor/autoload_runtime.php')
     (public/index.php:16)                
[2/3] Exception
Doctrine\DBAL\Driver\PDO\Exception:
SQLSTATE[08006] [7] could not connect to server: No route to host
	Is the server running on host "10.231.0.132" and accepting
	TCP/IP connections on port 5432?

  at vendor/doctrine/dbal/src/Driver/PDO/Exception.php:28
  at Doctrine\DBAL\Driver\PDO\Exception::new()
     (vendor/doctrine/dbal/src/Driver/PDO/PgSQL/Driver.php:35)
  at Doctrine\DBAL\Driver\PDO\PgSQL\Driver->connect()
     (vendor/doctrine/dbal/src/Connection.php:346)
  at Doctrine\DBAL\Connection->connect()
     (vendor/doctrine/dbal/src/Connection.php:1619)
  at Doctrine\DBAL\Connection->getWrappedConnection()
     (vendor/doctrine/dbal/src/Connection.php:1013)
  at Doctrine\DBAL\Connection->prepare()
     (src/Services/Conexion.php:563)
  at App\Services\Conexion->query_normal()
     (src/Services/Conexion.php:537)
  at App\Services\Conexion->query()
     (src/Controller/PtatController.php:2847)
  at App\Controller\PtatController->login_movil()
     (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('/var/www/php81/serversoap/recaudos/vendor/autoload_runtime.php')
     (public/index.php:16)                
[1/3] PDOException
PDOException:
SQLSTATE[08006] [7] could not connect to server: No route to host
	Is the server running on host "10.231.0.132" and accepting
	TCP/IP connections on port 5432?

  at vendor/doctrine/dbal/src/Driver/PDO/PgSQL/Driver.php:29
  at PDO->__construct()
     (vendor/doctrine/dbal/src/Driver/PDO/PgSQL/Driver.php:29)
  at Doctrine\DBAL\Driver\PDO\PgSQL\Driver->connect()
     (vendor/doctrine/dbal/src/Connection.php:346)
  at Doctrine\DBAL\Connection->connect()
     (vendor/doctrine/dbal/src/Connection.php:1619)
  at Doctrine\DBAL\Connection->getWrappedConnection()
     (vendor/doctrine/dbal/src/Connection.php:1013)
  at Doctrine\DBAL\Connection->prepare()
     (src/Services/Conexion.php:563)
  at App\Services\Conexion->query_normal()
     (src/Services/Conexion.php:537)
  at App\Services\Conexion->query()
     (src/Controller/PtatController.php:2847)
  at App\Controller\PtatController->login_movil()
     (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('/var/www/php81/serversoap/recaudos/vendor/autoload_runtime.php')
     (public/index.php:16)                
19 06 2025 09:58:59 ************************************************************CP1006820220 -- eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c3VhcmlvIjoiQ1AxMDA2ODIwMjIwIiwiaWF0IjoxNzUwMzQ0OTk0LCJleHAiOjE3NTAzNTM5OTR9.kuocRLDOEgwy6Nd4hHUy3j3SG3dFQI6-t-WBio9dR2c -- MM-ERROR: HTTP/1.1 500 Internal Server Error Date: Thu, 19 Jun 2025 14:58:59 GMT Server: Apache/2.4.41 (Ubuntu) X-Powered-By: PHP/8.1.27 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: trim%28%29%3A%20Argument%20%231%20%28%24string%29%20must%20be%20of%20type%20string%2C%20array%20given X-Debug-Exception-File: %2Fvar%2Fwww%2Fphp81%2Fserversoap%2Frecaudos%2Fsrc%2FController%2FPtatController.php:7437 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: 95518 trim(): Argument #1 ($string) must be of type string, array given (500 Internal Server Error)

Symfony Exception

TypeError

HTTP 500 Internal Server Error

trim(): Argument #1 ($string) must be of type string, array given

Exception

TypeError

  1.     else if ($con == 49//Actualizar valores cajero liquidadores
  2.     {
  3.       $code "0";
  4.       $mensaje "Error";
  5.       $datos = (!empty($arreglo['datos'])) ? trim($arreglo['datos']) : null;
  6.       if (empty($datos))
  7.       {
  8.         $respuesta["info"] = $respuesta["message"] = "No llego la informacion completa, intente nuevamente";
  9.         $response->headers->set('HTTP_AUTHENTICATION'$token_auth);
  1.     else if ($con == 49//Actualizar valores cajero liquidadores
  2.     {
  3.       $code "0";
  4.       $mensaje "Error";
  5.       $datos = (!empty($arreglo['datos'])) ? trim($arreglo['datos']) : null;
  6.       if (empty($datos))
  7.       {
  8.         $respuesta["info"] = $respuesta["message"] = "No llego la informacion completa, intente nuevamente";
  9.         $response->headers->set('HTTP_AUTHENTICATION'$token_auth);
  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('/var/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 Trace

TypeError
TypeError:
trim(): Argument #1 ($string) must be of type string, array given

  at src/Controller/PtatController.php:7437
  at trim()
     (src/Controller/PtatController.php:7437)
  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('/var/www/php81/serversoap/recaudos/vendor/autoload_runtime.php')
     (public/index.php:16)                
19 06 2025 10:01:16 ************************************************************CP1006820220 -- eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c3VhcmlvIjoiQ1AxMDA2ODIwMjIwIiwiaWF0IjoxNzUwMzQ1MjQ0LCJleHAiOjE3NTAzNTQyNDR9.U2IITpQmHcZcLZcN-J4NwPP86DMDwnJRrWkPOIAgoq4 -- MM-ERROR: HTTP/1.1 500 Internal Server Error Date: Thu, 19 Jun 2025 15:01:15 GMT Server: Apache/2.4.41 (Ubuntu) X-Powered-By: PHP/8.1.27 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: Warning%3A%20Array%20to%20string%20conversion X-Debug-Exception-File: %2Fvar%2Fwww%2Fphp81%2Fserversoap%2Frecaudos%2Fsrc%2FController%2FPtatController.php:7446 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: 88724 Warning: Array to string conversion (500 Internal Server Error)

Symfony Exception

ErrorException

HTTP 500 Internal Server Error

Warning: Array to string conversion

Exception

ErrorException

  1.         $respuesta["info"] = $respuesta["message"] = "No llego la informacion completa, intente nuevamente";
  2.         $response->headers->set('HTTP_AUTHENTICATION'$token_auth);
  3.         return $response->setContent(json_encode($respuesta));
  4.       }
  5.       $this->log->logs("datos $datos");
  6.       /* $sql_updt = "UPDATE liquidadores_vendedor_moto SET modificador = '$usuario', fecha_modificado = now(), precinto = '$precinto', estado = 'T' WHERE cod_liquidador IN ($liquidadores) returning id";
  7.       $res_updt = $this->cnn->query('0', $sql_updt);
  8.       if (count($res_updt) <= 0)
  9.       {
  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('/var/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 Trace

ErrorException
ErrorException:
Warning: Array to string conversion

  at src/Controller/PtatController.php:7446
  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('/var/www/php81/serversoap/recaudos/vendor/autoload_runtime.php')
     (public/index.php:16)                
19 06 2025 10:54:33 ************************************************************CP1006820220 -- eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c3VhcmlvIjoiQ1AxMDA2ODIwMjIwIiwiaWF0IjoxNzUwMzQ1MzQzLCJleHAiOjE3NTAzNTQzNDN9.-7GR2IIq1XQqetA7H6_KKs3PEXw3LTwpcwkXFlxU-iY -- MM-ERROR: HTTP/1.1 500 Internal Server Error Date: Thu, 19 Jun 2025 15:54:32 GMT Server: Apache/2.4.41 (Ubuntu) X-Powered-By: PHP/8.1.27 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%5B42P01%5D%3A%20Undefined%20table%3A%207%20ERROR%3A%20%20no%20existe%20la%20relaci%C3%83%C2%B3n%20%C3%82%C2%ABliquidadores%C3%82%C2%BB%0ALINE%201%3A%20UPDATE%20liquidadores%20SET%20novedad_cajero%20%3D%20%27%27%2C%20total_recaudado...%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%5E X-Debug-Exception-File: %2Fvar%2Fwww%2Fphp81%2Fserversoap%2Frecaudos%2Fvendor%2Fdoctrine%2Fdbal%2Fsrc%2FDriver%2FAPI%2FPostgreSQL%2FExceptionConverter.php:71 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: 280600 An exception occurred while executing a query: SQLSTATE[42P01]: Undefined table: 7 ERROR: no existe la relación «liquidadores» LINE 1: UPDATE liquidadores SET novedad_cajero = '', total_recaudado... ^ (500 Internal Server Error)

Symfony Exception

PDOException Exception TableNotFoundException

HTTP 500 Internal Server Error

An exception occurred while executing a query: SQLSTATE[42P01]: Undefined table: 7 ERROR: no existe la relación «liquidadores»
LINE 1: UPDATE liquidadores SET novedad_cajero = '', total_recaudado...
^

Exceptions 3

Doctrine\DBAL\Exception\ TableNotFoundException

  1.             case '42703':
  2.                 return new InvalidFieldNameException($exception$query);
  3.             case '42P01':
  4.                 return new TableNotFoundException($exception$query);
  5.             case '42P07':
  6.                 return new TableExistsException($exception$query);
  7.             case '08006':
  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 578)
  1.       } */
  2.       // $resultSet = $stmt->executeQuery();//execute();
  3.       /* try { */
  4.         // $resultSet_aux = $stmt->executeQuery();//execute();
  5.         // $resultSet = $resultSet_aux->fetchAllAssociative();//execute();
  6.         $resultSet $stmt->executeQuery()->fetchAllAssociative();
  7.         $this->cnn->close();
  8.       /* } catch (\Throwable $th)
  9.       {
  10.       } */
  11.       // $this->log->logs("respuestaaa ",array($resultSet));
Conexion->query_normal() in src/Services/Conexion.php (line 537)
  1.           case 24:
  2.           case 25:
  3.             return $this->consulta_socket($con,$sql);
  4.             break;
  5.           default:
  6.             return $this->query_normal($con,$sql);
  7.             break;
  8.         }  
  9.       }
  10.     }  
  11.         
Conexion->query() in src/Controller/PtatController.php (line 7452)
  1.         if ($campo === "cod_liquidador") continue;
  2.         $campos[] = "$campo = '$valor'";
  3.       }
  4.       $sql_updt "UPDATE liquidadores SET " implode(", "$campos) . ", estado = 'R', cajera = '$usuario', fecha_recaudo = now() WHERE cod_liquidador = '{$datos['cod_liquidador']}'";
  5.       $res_updt $this->cnn->query('0'$sql_updt);
  6.       if (count($res_updt) <= 0)
  7.       {
  8.         $respuesta["info"] = $respuesta["message"] = "No se pudo actualizar, intente nuevamente";
  9.         $response->headers->set('HTTP_AUTHENTICATION'$token_auth);
  10.         return $response->setContent(json_encode($respuesta));
  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('/var/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[42P01]: Undefined table: 7 ERROR: no existe la relación «liquidadores» LINE 1: UPDATE liquidadores SET novedad_cajero = '', total_recaudado... ^

  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 578)
  1.       } */
  2.       // $resultSet = $stmt->executeQuery();//execute();
  3.       /* try { */
  4.         // $resultSet_aux = $stmt->executeQuery();//execute();
  5.         // $resultSet = $resultSet_aux->fetchAllAssociative();//execute();
  6.         $resultSet $stmt->executeQuery()->fetchAllAssociative();
  7.         $this->cnn->close();
  8.       /* } catch (\Throwable $th)
  9.       {
  10.       } */
  11.       // $this->log->logs("respuestaaa ",array($resultSet));
Conexion->query_normal() in src/Services/Conexion.php (line 537)
  1.           case 24:
  2.           case 25:
  3.             return $this->consulta_socket($con,$sql);
  4.             break;
  5.           default:
  6.             return $this->query_normal($con,$sql);
  7.             break;
  8.         }  
  9.       }
  10.     }  
  11.         
Conexion->query() in src/Controller/PtatController.php (line 7452)
  1.         if ($campo === "cod_liquidador") continue;
  2.         $campos[] = "$campo = '$valor'";
  3.       }
  4.       $sql_updt "UPDATE liquidadores SET " implode(", "$campos) . ", estado = 'R', cajera = '$usuario', fecha_recaudo = now() WHERE cod_liquidador = '{$datos['cod_liquidador']}'";
  5.       $res_updt $this->cnn->query('0'$sql_updt);
  6.       if (count($res_updt) <= 0)
  7.       {
  8.         $respuesta["info"] = $respuesta["message"] = "No se pudo actualizar, intente nuevamente";
  9.         $response->headers->set('HTTP_AUTHENTICATION'$token_auth);
  10.         return $response->setContent(json_encode($respuesta));
  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('/var/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[42P01]: Undefined table: 7 ERROR: no existe la relación «liquidadores» LINE 1: UPDATE liquidadores SET novedad_cajero = '', total_recaudado... ^

  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 578)
  1.       } */
  2.       // $resultSet = $stmt->executeQuery();//execute();
  3.       /* try { */
  4.         // $resultSet_aux = $stmt->executeQuery();//execute();
  5.         // $resultSet = $resultSet_aux->fetchAllAssociative();//execute();
  6.         $resultSet $stmt->executeQuery()->fetchAllAssociative();
  7.         $this->cnn->close();
  8.       /* } catch (\Throwable $th)
  9.       {
  10.       } */
  11.       // $this->log->logs("respuestaaa ",array($resultSet));
Conexion->query_normal() in src/Services/Conexion.php (line 537)
  1.           case 24:
  2.           case 25:
  3.             return $this->consulta_socket($con,$sql);
  4.             break;
  5.           default:
  6.             return $this->query_normal($con,$sql);
  7.             break;
  8.         }  
  9.       }
  10.     }  
  11.         
Conexion->query() in src/Controller/PtatController.php (line 7452)
  1.         if ($campo === "cod_liquidador") continue;
  2.         $campos[] = "$campo = '$valor'";
  3.       }
  4.       $sql_updt "UPDATE liquidadores SET " implode(", "$campos) . ", estado = 'R', cajera = '$usuario', fecha_recaudo = now() WHERE cod_liquidador = '{$datos['cod_liquidador']}'";
  5.       $res_updt $this->cnn->query('0'$sql_updt);
  6.       if (count($res_updt) <= 0)
  7.       {
  8.         $respuesta["info"] = $respuesta["message"] = "No se pudo actualizar, intente nuevamente";
  9.         $response->headers->set('HTTP_AUTHENTICATION'$token_auth);
  10.         return $response->setContent(json_encode($respuesta));
  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('/var/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] TableNotFoundException
Doctrine\DBAL\Exception\TableNotFoundException:
An exception occurred while executing a query: SQLSTATE[42P01]: Undefined table: 7 ERROR:  no existe la relación «liquidadores»
LINE 1: UPDATE liquidadores SET novedad_cajero = '', total_recaudado...
               ^

  at vendor/doctrine/dbal/src/Driver/API/PostgreSQL/ExceptionConverter.php:71
  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:578)
  at App\Services\Conexion->query_normal()
     (src/Services/Conexion.php:537)
  at App\Services\Conexion->query()
     (src/Controller/PtatController.php:7452)
  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('/var/www/php81/serversoap/recaudos/vendor/autoload_runtime.php')
     (public/index.php:16)                
[2/3] Exception
Doctrine\DBAL\Driver\PDO\Exception:
SQLSTATE[42P01]: Undefined table: 7 ERROR:  no existe la relación «liquidadores»
LINE 1: UPDATE liquidadores SET novedad_cajero = '', total_recaudado...
               ^

  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:578)
  at App\Services\Conexion->query_normal()
     (src/Services/Conexion.php:537)
  at App\Services\Conexion->query()
     (src/Controller/PtatController.php:7452)
  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('/var/www/php81/serversoap/recaudos/vendor/autoload_runtime.php')
     (public/index.php:16)                
[1/3] PDOException
PDOException:
SQLSTATE[42P01]: Undefined table: 7 ERROR:  no existe la relación «liquidadores»
LINE 1: UPDATE liquidadores SET novedad_cajero = '', total_recaudado...
               ^

  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:578)
  at App\Services\Conexion->query_normal()
     (src/Services/Conexion.php:537)
  at App\Services\Conexion->query()
     (src/Controller/PtatController.php:7452)
  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('/var/www/php81/serversoap/recaudos/vendor/autoload_runtime.php')
     (public/index.php:16)                
19 06 2025 10:56:34 ************************************************************CP1006820220 -- eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c3VhcmlvIjoiQ1AxMDA2ODIwMjIwIiwiaWF0IjoxNzUwMzQ4NTQzLCJleHAiOjE3NTAzNTc1NDN9.z7H5ahKjFtBAUqBpCUIdJmlexFhvyMgf5hIlHiGb3vw -- MM-ERROR: HTTP/1.1 500 Internal Server Error Date: Thu, 19 Jun 2025 15:56:34 GMT Server: Apache/2.4.41 (Ubuntu) X-Powered-By: PHP/8.1.27 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%5B22P02%5D%3A%20Invalid%20text%20representation%3A%207%20ERROR%3A%20%20la%20sintaxis%20de%20entrada%20no%20es%20v%C3%83%C2%A1lida%20para%20tipo%20numeric%3A%20%C3%82%C2%AB5%2C800%2C000%C3%82%C2%BB%0ALINE%201%3A%20...r_moto%20SET%20novedad_cajero%20%3D%20%27%27%2C%20total_recaudado%20%3D%20%275%2C800%2C000...%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%5E X-Debug-Exception-File: %2Fvar%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: 281304 An exception occurred while executing a query: SQLSTATE[22P02]: Invalid text representation: 7 ERROR: la sintaxis de entrada no es válida para tipo numeric: «5,800,000» LINE 1: ...r_moto SET novedad_cajero = '', total_recaudado = '5,800,000... ^ (500 Internal Server Error)

Symfony Exception

PDOException Exception DriverException

HTTP 500 Internal Server Error

An exception occurred while executing a query: SQLSTATE[22P02]: Invalid text representation: 7 ERROR: la sintaxis de entrada no es válida para tipo numeric: «5,800,000»
LINE 1: ...r_moto SET novedad_cajero = '', total_recaudado = '5,800,000...
^

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 578)
  1.       } */
  2.       // $resultSet = $stmt->executeQuery();//execute();
  3.       /* try { */
  4.         // $resultSet_aux = $stmt->executeQuery();//execute();
  5.         // $resultSet = $resultSet_aux->fetchAllAssociative();//execute();
  6.         $resultSet $stmt->executeQuery()->fetchAllAssociative();
  7.         $this->cnn->close();
  8.       /* } catch (\Throwable $th)
  9.       {
  10.       } */
  11.       // $this->log->logs("respuestaaa ",array($resultSet));
Conexion->query_normal() in src/Services/Conexion.php (line 537)
  1.           case 24:
  2.           case 25:
  3.             return $this->consulta_socket($con,$sql);
  4.             break;
  5.           default:
  6.             return $this->query_normal($con,$sql);
  7.             break;
  8.         }  
  9.       }
  10.     }  
  11.         
Conexion->query() in src/Controller/PtatController.php (line 7452)
  1.         if ($campo === "cod_liquidador") continue;
  2.         $campos[] = "$campo = '$valor'";
  3.       }
  4.       $sql_updt "UPDATE liquidadores_vendedor_moto SET " implode(", "$campos) . ", estado = 'R', cajera = '$usuario', fecha_recaudo = now() WHERE cod_liquidador = '{$datos['cod_liquidador']}'";
  5.       $res_updt $this->cnn->query('0'$sql_updt);
  6.       if (count($res_updt) <= 0)
  7.       {
  8.         $respuesta["info"] = $respuesta["message"] = "No se pudo actualizar, intente nuevamente";
  9.         $response->headers->set('HTTP_AUTHENTICATION'$token_auth);
  10.         return $response->setContent(json_encode($respuesta));
  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('/var/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[22P02]: Invalid text representation: 7 ERROR: la sintaxis de entrada no es válida para tipo numeric: «5,800,000» LINE 1: ...r_moto SET novedad_cajero = '', total_recaudado = '5,800,000... ^

  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 578)
  1.       } */
  2.       // $resultSet = $stmt->executeQuery();//execute();
  3.       /* try { */
  4.         // $resultSet_aux = $stmt->executeQuery();//execute();
  5.         // $resultSet = $resultSet_aux->fetchAllAssociative();//execute();
  6.         $resultSet $stmt->executeQuery()->fetchAllAssociative();
  7.         $this->cnn->close();
  8.       /* } catch (\Throwable $th)
  9.       {
  10.       } */
  11.       // $this->log->logs("respuestaaa ",array($resultSet));
Conexion->query_normal() in src/Services/Conexion.php (line 537)
  1.           case 24:
  2.           case 25:
  3.             return $this->consulta_socket($con,$sql);
  4.             break;
  5.           default:
  6.             return $this->query_normal($con,$sql);
  7.             break;
  8.         }  
  9.       }
  10.     }  
  11.         
Conexion->query() in src/Controller/PtatController.php (line 7452)
  1.         if ($campo === "cod_liquidador") continue;
  2.         $campos[] = "$campo = '$valor'";
  3.       }
  4.       $sql_updt "UPDATE liquidadores_vendedor_moto SET " implode(", "$campos) . ", estado = 'R', cajera = '$usuario', fecha_recaudo = now() WHERE cod_liquidador = '{$datos['cod_liquidador']}'";
  5.       $res_updt $this->cnn->query('0'$sql_updt);
  6.       if (count($res_updt) <= 0)
  7.       {
  8.         $respuesta["info"] = $respuesta["message"] = "No se pudo actualizar, intente nuevamente";
  9.         $response->headers->set('HTTP_AUTHENTICATION'$token_auth);
  10.         return $response->setContent(json_encode($respuesta));
  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('/var/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[22P02]: Invalid text representation: 7 ERROR: la sintaxis de entrada no es válida para tipo numeric: «5,800,000» LINE 1: ...r_moto SET novedad_cajero = '', total_recaudado = '5,800,000... ^

  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 578)
  1.       } */
  2.       // $resultSet = $stmt->executeQuery();//execute();
  3.       /* try { */
  4.         // $resultSet_aux = $stmt->executeQuery();//execute();
  5.         // $resultSet = $resultSet_aux->fetchAllAssociative();//execute();
  6.         $resultSet $stmt->executeQuery()->fetchAllAssociative();
  7.         $this->cnn->close();
  8.       /* } catch (\Throwable $th)
  9.       {
  10.       } */
  11.       // $this->log->logs("respuestaaa ",array($resultSet));
Conexion->query_normal() in src/Services/Conexion.php (line 537)
  1.           case 24:
  2.           case 25:
  3.             return $this->consulta_socket($con,$sql);
  4.             break;
  5.           default:
  6.             return $this->query_normal($con,$sql);
  7.             break;
  8.         }  
  9.       }
  10.     }  
  11.         
Conexion->query() in src/Controller/PtatController.php (line 7452)
  1.         if ($campo === "cod_liquidador") continue;
  2.         $campos[] = "$campo = '$valor'";
  3.       }
  4.       $sql_updt "UPDATE liquidadores_vendedor_moto SET " implode(", "$campos) . ", estado = 'R', cajera = '$usuario', fecha_recaudo = now() WHERE cod_liquidador = '{$datos['cod_liquidador']}'";
  5.       $res_updt $this->cnn->query('0'$sql_updt);
  6.       if (count($res_updt) <= 0)
  7.       {
  8.         $respuesta["info"] = $respuesta["message"] = "No se pudo actualizar, intente nuevamente";
  9.         $response->headers->set('HTTP_AUTHENTICATION'$token_auth);
  10.         return $response->setContent(json_encode($respuesta));
  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('/var/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[22P02]: Invalid text representation: 7 ERROR:  la sintaxis de entrada no es válida para tipo numeric: «5,800,000»
LINE 1: ...r_moto SET novedad_cajero = '', total_recaudado = '5,800,000...
                                                             ^

  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:578)
  at App\Services\Conexion->query_normal()
     (src/Services/Conexion.php:537)
  at App\Services\Conexion->query()
     (src/Controller/PtatController.php:7452)
  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('/var/www/php81/serversoap/recaudos/vendor/autoload_runtime.php')
     (public/index.php:16)                
[2/3] Exception
Doctrine\DBAL\Driver\PDO\Exception:
SQLSTATE[22P02]: Invalid text representation: 7 ERROR:  la sintaxis de entrada no es válida para tipo numeric: «5,800,000»
LINE 1: ...r_moto SET novedad_cajero = '', total_recaudado = '5,800,000...
                                                             ^

  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:578)
  at App\Services\Conexion->query_normal()
     (src/Services/Conexion.php:537)
  at App\Services\Conexion->query()
     (src/Controller/PtatController.php:7452)
  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('/var/www/php81/serversoap/recaudos/vendor/autoload_runtime.php')
     (public/index.php:16)                
[1/3] PDOException
PDOException:
SQLSTATE[22P02]: Invalid text representation: 7 ERROR:  la sintaxis de entrada no es válida para tipo numeric: «5,800,000»
LINE 1: ...r_moto SET novedad_cajero = '', total_recaudado = '5,800,000...
                                                             ^

  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:578)
  at App\Services\Conexion->query_normal()
     (src/Services/Conexion.php:537)
  at App\Services\Conexion->query()
     (src/Controller/PtatController.php:7452)
  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('/var/www/php81/serversoap/recaudos/vendor/autoload_runtime.php')
     (public/index.php:16)                
19 06 2025 22:22:23 ************************************************************ -- -- MM-Error en Metodos Sem: http\Exception\RuntimeException: http\Client::send(): Timeout was reached; Connection timed out after 3003 milliseconds (http://10.231.0.134:8094/ptat/metodos/metodos) in /var/www/html/serversoap/ptat_developer/metodos.php:72 Stack trace: #0 /var/www/html/serversoap/ptat_developer/metodos.php(72): http\Client->send() #1 {main} 19 06 2025 23:35:42 ************************************************************ -- -- MM-Error en Metodos Sem: http\Exception\RuntimeException: http\Client::send(): Timeout was reached; Connection timed out after 3003 milliseconds (http://10.231.0.134:8094/ptat/metodos/metodos) in /var/www/html/serversoap/ptat_developer/metodos.php:72 Stack trace: #0 /var/www/html/serversoap/ptat_developer/metodos.php(72): http\Client->send() #1 {main} 19 06 2025 23:53:26 ************************************************************ -- LM-Error en proceso de Logeo Sem: http\Exception\RuntimeException: http\Client::send(): Timeout was reached; Connection timed out after 3003 milliseconds (http://10.231.0.134:8094/ptat/login/login_movil) in /var/www/html/serversoap/ptat_developer/login_movil.php:59 Stack trace: #0 /var/www/html/serversoap/ptat_developer/login_movil.php(59): http\Client->send() #1 {main}