Bug #2000
closedPHP 8.3: Error al consultar información del abogado en Secretaría TS (getLawyerInfo)
0%
Description
Desde la actualización a PHP 8.3.36 (22-oct-2026), la consulta de la información del abogado falla cuando RUA devuelve un solo elemento (o ninguno) en notificaciones, direcciones, historial de empleo o teléfonos.
Error (VAPPPRD34/40, 7 ocurrencias el 23-oct-2026):
PHP Fatal error: Uncaught TypeError: count(): Argument #1 ($value) must be of type Countable|array, stdClass given in PHPSupremeCourtServiceProd\backend\service\getLawyerInfo.php:37
Causa: el servicio SOAP devuelve un objeto cuando hay un solo elemento y nada cuando no hay; count() sobre un objeto o null, y property_exists() sobre null o un arreglo, son errores fatales en PHP 8.
Corrección: normalizar cada colección a una lista antes de recorrerla en service/backend/service/getLawyerInfo.php.
Updated by Repo Bot about 1 month ago
- Status changed from Not Started to Pending Review
PR ready for review: FJM-Seedbury — PHP 8.3: Error al consultar información del abogado (getLawyerInfo) → status: Pending Review
Updated by Repo Bot about 1 month ago
- Status changed from Pending Review to Test Internally
Merged into Development via PR #32 → status: Test Internally
Updated by Francisco Medina 11 days ago
- Status changed from Test Internally to Closed
Merged into Development via SUMAC-SC_Clerk PR #32. Closing.