05 09 2025 11:35:36 El Archivo 2025-09-05 - log_error.txt se ha creado ************************************************************eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c3VhcmlvIjoiQ1YzNjMwNzcwMyIsImNsYXZlIjoiNHQ3VmZwZlBQUTdobkRHengyYTVpQT09XG4iLCJleHAiOjE3NTcwOTAxNzEsImlhdCI6MTc1NzA5MDEyMX0.zcHuTW9Yq_VVLfU3-EfTiuKK-Bg7eUy7IafXYDvWyBg -- LM-ERROR: HTTP/1.1 500 Internal Server Error Date: Fri, 05 Sep 2025 16:35:36 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%20Trying%20to%20access%20array%20offset%20on%20value%20of%20type%20null X-Debug-Exception-File: %2Fvar%2Fwww%2Fphp81%2Fserversoap%2Frecaudos%2Fsrc%2FController%2FPtatController.php:3151 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: 90208
      WHERE estado = '0' AND tipo = '1' AND CURRENT_DATE BETWEEN fechai AND fechaf and cedula = '$usu2'";
      $result_val_usu_adm_temp = $this->cnn->query('0', $sql_val_usu_adm_temp);
      if (count($result_val_usu_adm_temp) > 0) $res_notificaciones = $this->validar_notificaciones($usuario,$usu2,$result[0]['nombre'],$correo);
    }
    if($res_notificaciones["code"] == 1)
    {
      $respuesta["datos"] = $res_notificaciones["datos"];
      return $response->setContent(json_encode($respuesta));
    }
    $notificaciones = $res_notificaciones["datos"];
        $this->dispatcher->dispatch($event, KernelEvents::CONTROLLER_ARGUMENTS);        $controller = $event->getController();        $arguments = $event->getArguments();        // call controller        $response = $controller(...$arguments);        // view        if (!$response instanceof Response) {            $event = new ViewEvent($this, $request, $type, $response, $event);            $this->dispatcher->dispatch($event, KernelEvents::VIEW);    {        $request->headers->set('X-Php-Ob-Level', (string) ob_get_level());        $this->requestStack->push($request);        try {            return $this->handleRaw($request, $type);        } catch (\Throwable $e) {            if ($e instanceof \Error && !$this->handleAllThrowables) {                throw $e;            }        $this->boot();        ++$this->requestStackSize;        $this->resetServices = true;        try {            return $this->getHttpKernel()->handle($request, $type, $catch);        } finally {            --$this->requestStackSize;        }    }        $this->request = $request;    }    public function run(): int    {        $response = $this->kernel->handle($this->request);        $response->send();        if ($this->kernel instanceof TerminableInterface) {            $this->kernel->terminate($this->request, $response);        }$app = $app(...$args);exit(    $runtime        ->getRunner($app)        ->run());$method = $_SERVER['REQUEST_METHOD'];if($method == "OPTIONS") {    die();}require_once dirname(__DIR__).'/vendor/autoload_runtime.php';return function (array $context) {    return new Kernel($context['APP_ENV'], (bool) $context['APP_DEBUG']);};No log messages
| 
                 
                                        ErrorException                    
                    
                 
             | 
        
|---|
                                
ErrorException:
Warning: Trying to access array offset on value of type null
  at src/Controller/PtatController.php:3151
  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)                
                             |