
{
    "Fecha": "2025-08-19 10:03:52",
    "TypeException": "Exception",
    "Message": "SQLSTATE[07002]: [Microsoft][ODBC Driver 17 for SQL Server]COUNT field incorrect or syntax error",
    "Line": 81,
    "Code": "07002",
    "Trace": "#0 \/var\/www\/html\/intouch\/v4\/framework\/src\/Dao\/ExecuteDao.php(81): PDOStatement->execute()\n#1 \/var\/www\/html\/intouch\/v4\/framework\/src\/Dao\/BasicDao.php(413): Intouch\\Framework\\Dao\\ExecuteDao->ExecuteStatementForObjects()\n#2 \/var\/www\/html\/intouch\/v4\/framework\/src\/BLL\/Service\/GenericSvc.php(84): Intouch\\Framework\\Dao\\BasicDao->GetBy()\n#3 \/var\/www\/html\/clinica.resolved.cl\/public_html\/Application\/BLL\/BusinessObjects\/Agenda\/AgendaPacienteBO.php(59): Intouch\\Framework\\BLL\\Service\\GenericSvc->GetBy()\n#4 \/var\/www\/html\/clinica.resolved.cl\/public_html\/Application\/Controllers\/Api\/Agenda\/PacienteAgenda\/CalendarController.php(33): Application\\BLL\\BusinessObjects\\Agenda\\AgendaPacienteBO->TraerAgendaPaciente()\n#5 [internal function]: Application\\Controllers\\Api\\Agenda\\PacienteAgenda\\CalendarController->Eventos()\n#6 \/var\/www\/html\/intouch\/v4\/framework\/src\/Route\/BaseDispatcher.php(555): ReflectionMethod->invokeArgs()\n#7 \/var\/www\/html\/intouch\/v4\/framework\/src\/Route\/BaseDispatcher.php(125): Intouch\\Framework\\Route\\BaseDispatcher->InvokeWithArgs()\n#8 \/var\/www\/html\/clinica.resolved.cl\/public_html\/public\/index.php(114): Intouch\\Framework\\Route\\BaseDispatcher->DispatchRequest()\n#9 {main}",
    "ServerIP": "10.0.31.11",
    "FatalType": 1,
    "DebugMessage": "",
    "Usuario": {
        "IdUsuario": 6,
        "LoginName": "CFuentes"
    },
    "RequestUri": "\/api\/agenda\/pacienteagenda\/calendar\/eventos?start=2025-08-19T00%3A00%3A00-04%3A00&end=2025-08-20T00%3A00%3A00-04%3A00",
    "UserAgent": "Mozilla\/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit\/537.36 (KHTML, like Gecko) Chrome\/138.0.0.0 Safari\/537.36"
}
{
    "Fecha": "2025-08-19 10:32:55",
    "TypeException": "Exception",
    "Message": "SQLSTATE[07002]: [Microsoft][ODBC Driver 17 for SQL Server]COUNT field incorrect or syntax error",
    "Line": 81,
    "Code": "07002",
    "Trace": "#0 \/var\/www\/html\/intouch\/v4\/framework\/src\/Dao\/ExecuteDao.php(81): PDOStatement->execute()\n#1 \/var\/www\/html\/intouch\/v4\/framework\/src\/Dao\/BasicDao.php(413): Intouch\\Framework\\Dao\\ExecuteDao->ExecuteStatementForObjects()\n#2 \/var\/www\/html\/intouch\/v4\/framework\/src\/BLL\/Service\/GenericSvc.php(84): Intouch\\Framework\\Dao\\BasicDao->GetBy()\n#3 \/var\/www\/html\/clinica.resolved.cl\/public_html\/Application\/BLL\/BusinessObjects\/Agenda\/AgendaPacienteBO.php(59): Intouch\\Framework\\BLL\\Service\\GenericSvc->GetBy()\n#4 \/var\/www\/html\/clinica.resolved.cl\/public_html\/Application\/Controllers\/Api\/Agenda\/PacienteAgenda\/CalendarController.php(33): Application\\BLL\\BusinessObjects\\Agenda\\AgendaPacienteBO->TraerAgendaPaciente()\n#5 [internal function]: Application\\Controllers\\Api\\Agenda\\PacienteAgenda\\CalendarController->Eventos()\n#6 \/var\/www\/html\/intouch\/v4\/framework\/src\/Route\/BaseDispatcher.php(555): ReflectionMethod->invokeArgs()\n#7 \/var\/www\/html\/intouch\/v4\/framework\/src\/Route\/BaseDispatcher.php(125): Intouch\\Framework\\Route\\BaseDispatcher->InvokeWithArgs()\n#8 \/var\/www\/html\/clinica.resolved.cl\/public_html\/public\/index.php(114): Intouch\\Framework\\Route\\BaseDispatcher->DispatchRequest()\n#9 {main}",
    "ServerIP": "10.0.11.215",
    "FatalType": 1,
    "DebugMessage": "",
    "Usuario": {
        "IdUsuario": 6,
        "LoginName": "CFuentes"
    },
    "RequestUri": "\/api\/agenda\/pacienteagenda\/calendar\/eventos?start=2025-08-19T00%3A00%3A00-04%3A00&end=2025-08-20T00%3A00%3A00-04%3A00",
    "UserAgent": "Mozilla\/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit\/537.36 (KHTML, like Gecko) Chrome\/138.0.0.0 Safari\/537.36"
}
{
    "Fecha": "2025-08-19 13:58:41",
    "TypeException": "Exception",
    "Message": "SQLSTATE[23000]: [Microsoft][ODBC Driver 17 for SQL Server][SQL Server]The UPDATE statement conflicted with the FOREIGN KEY constraint \"FK__Cita__IdTipoEsta__00DF2177\". The conflict occurred in database \"Clinica\", table \"Clinica.TipoEstadoCita\", column 'IdTipoEstadoCita'.",
    "Line": 163,
    "Code": "23000",
    "Trace": "#0 \/var\/www\/html\/intouch\/v4\/framework\/src\/Dao\/GenericDao.php(163): PDOStatement->execute()\n#1 \/var\/www\/html\/intouch\/v4\/framework\/src\/BLL\/Service\/GenericSvc.php(114): Intouch\\Framework\\Dao\\GenericDao->Update()\n#2 \/var\/www\/html\/clinica.resolved.cl\/public_html\/Application\/BLL\/BusinessObjects\/Agenda\/AgendaPacienteBO.php(479): Intouch\\Framework\\BLL\\Service\\GenericSvc->Update()\n#3 \/var\/www\/html\/clinica.resolved.cl\/public_html\/Application\/Controllers\/Api\/Mantenedores\/Clinica\/PacienteController.php(239): Application\\BLL\\BusinessObjects\\Agenda\\AgendaPacienteBO->UpdateCancelarCitaPaciente()\n#4 [internal function]: Application\\Controllers\\Api\\Mantenedores\\Clinica\\PacienteController->CancelarCita()\n#5 \/var\/www\/html\/intouch\/v4\/framework\/src\/Route\/BaseDispatcher.php(555): ReflectionMethod->invokeArgs()\n#6 \/var\/www\/html\/intouch\/v4\/framework\/src\/Route\/BaseDispatcher.php(125): Intouch\\Framework\\Route\\BaseDispatcher->InvokeWithArgs()\n#7 \/var\/www\/html\/clinica.resolved.cl\/public_html\/public\/index.php(114): Intouch\\Framework\\Route\\BaseDispatcher->DispatchRequest()\n#8 {main}",
    "ServerIP": "10.0.31.11",
    "FatalType": 1,
    "DebugMessage": "",
    "Usuario": {
        "IdUsuario": 3,
        "LoginName": "felipe"
    },
    "RequestUri": "\/api\/mantenedores\/clinica\/paciente\/CancelarCita",
    "UserAgent": "Mozilla\/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit\/537.36 (KHTML, like Gecko) Chrome\/138.0.0.0 Safari\/537.36"
}
{
    "Fecha": "2025-08-19 16:50:03",
    "TypeException": "Exception",
    "Message": "SQLSTATE[07002]: [Microsoft][ODBC Driver 17 for SQL Server]COUNT field incorrect or syntax error",
    "Line": 401,
    "Code": "07002",
    "Trace": "#0 \/var\/www\/html\/intouch\/v4\/framework\/src\/Dao\/GenericDao.php(401): PDOStatement->execute()\n#1 \/var\/www\/html\/intouch\/v4\/framework\/src\/BLL\/Service\/GenericSvc.php(129): Intouch\\Framework\\Dao\\GenericDao->DeleteBy()\n#2 \/var\/www\/html\/clinica.resolved.cl\/public_html\/Application\/BLL\/BusinessObjects\/Ficha\/FichaBO.php(254): Intouch\\Framework\\BLL\\Service\\GenericSvc->DeleteBy()\n#3 \/var\/www\/html\/clinica.resolved.cl\/public_html\/Application\/Controllers\/Api\/Mantenedores\/Ficha\/FichaController.php(69): Application\\BLL\\BusinessObjects\\Ficha\\FichaBO->GuardarMedicamentosExamenesImagenes()\n#4 [internal function]: Application\\Controllers\\Api\\Mantenedores\\Ficha\\FichaController->GuardarMedicamentosExamenesImagenes()\n#5 \/var\/www\/html\/intouch\/v4\/framework\/src\/Route\/BaseDispatcher.php(555): ReflectionMethod->invokeArgs()\n#6 \/var\/www\/html\/intouch\/v4\/framework\/src\/Route\/BaseDispatcher.php(125): Intouch\\Framework\\Route\\BaseDispatcher->InvokeWithArgs()\n#7 \/var\/www\/html\/clinica.resolved.cl\/public_html\/public\/index.php(114): Intouch\\Framework\\Route\\BaseDispatcher->DispatchRequest()\n#8 {main}",
    "ServerIP": "10.0.31.11",
    "FatalType": 1,
    "DebugMessage": "",
    "Usuario": {
        "IdUsuario": 6,
        "LoginName": "CFuentes"
    },
    "RequestUri": "\/api\/mantenedores\/ficha\/ficha\/GuardarMedicamentosExamenesImagenes",
    "UserAgent": "Mozilla\/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit\/537.36 (KHTML, like Gecko) Chrome\/138.0.0.0 Safari\/537.36"
}
{
    "Fecha": "2025-08-19 16:50:13",
    "TypeException": "Throwable",
    "Message": "Call to a member function rollback() on null",
    "Line": 40,
    "Code": 0,
    "Trace": "#0 \/var\/www\/html\/intouch\/v4\/framework\/src\/BLL\/Service\/GenericSvc.php(57): Intouch\\Framework\\Dao\\ExecuteDao::RollbackTransaction()\n#1 \/var\/www\/html\/clinica.resolved.cl\/public_html\/Application\/BLL\/BusinessObjects\/Ficha\/FichaBO.php(141): Intouch\\Framework\\BLL\\Service\\GenericSvc::UndoMultipleOperations()\n#2 \/var\/www\/html\/clinica.resolved.cl\/public_html\/Application\/Controllers\/Api\/Mantenedores\/Ficha\/FichaController.php(50): Application\\BLL\\BusinessObjects\\Ficha\\FichaBO->GuardarEvolucionFicha()\n#3 [internal function]: Application\\Controllers\\Api\\Mantenedores\\Ficha\\FichaController->GuardarEvolucionFicha()\n#4 \/var\/www\/html\/intouch\/v4\/framework\/src\/Route\/BaseDispatcher.php(555): ReflectionMethod->invokeArgs()\n#5 \/var\/www\/html\/intouch\/v4\/framework\/src\/Route\/BaseDispatcher.php(125): Intouch\\Framework\\Route\\BaseDispatcher->InvokeWithArgs()\n#6 \/var\/www\/html\/clinica.resolved.cl\/public_html\/public\/index.php(114): Intouch\\Framework\\Route\\BaseDispatcher->DispatchRequest()\n#7 {main}",
    "ServerIP": "10.0.11.215",
    "FatalType": 1,
    "DebugMessage": "",
    "Usuario": {
        "IdUsuario": 6,
        "LoginName": "CFuentes"
    },
    "RequestUri": "\/api\/mantenedores\/ficha\/ficha\/GuardarEvolucionFicha",
    "UserAgent": "Mozilla\/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit\/537.36 (KHTML, like Gecko) Chrome\/138.0.0.0 Safari\/537.36"
}
{
    "Fecha": "2025-08-19 18:05:42",
    "TypeException": "Exception",
    "Message": "SQLSTATE[23000]: [Microsoft][ODBC Driver 17 for SQL Server][SQL Server]The UPDATE statement conflicted with the FOREIGN KEY constraint \"FK__Cita__IdTipoEsta__00DF2177\". The conflict occurred in database \"Clinica\", table \"Clinica.TipoEstadoCita\", column 'IdTipoEstadoCita'.",
    "Line": 163,
    "Code": "23000",
    "Trace": "#0 \/var\/www\/html\/intouch\/v4\/framework\/src\/Dao\/GenericDao.php(163): PDOStatement->execute()\n#1 \/var\/www\/html\/intouch\/v4\/framework\/src\/BLL\/Service\/GenericSvc.php(114): Intouch\\Framework\\Dao\\GenericDao->Update()\n#2 \/var\/www\/html\/clinica.resolved.cl\/public_html\/Application\/BLL\/BusinessObjects\/Agenda\/AgendaPacienteBO.php(479): Intouch\\Framework\\BLL\\Service\\GenericSvc->Update()\n#3 \/var\/www\/html\/clinica.resolved.cl\/public_html\/Application\/Controllers\/Api\/Mantenedores\/Clinica\/PacienteController.php(239): Application\\BLL\\BusinessObjects\\Agenda\\AgendaPacienteBO->UpdateCancelarCitaPaciente()\n#4 [internal function]: Application\\Controllers\\Api\\Mantenedores\\Clinica\\PacienteController->CancelarCita()\n#5 \/var\/www\/html\/intouch\/v4\/framework\/src\/Route\/BaseDispatcher.php(555): ReflectionMethod->invokeArgs()\n#6 \/var\/www\/html\/intouch\/v4\/framework\/src\/Route\/BaseDispatcher.php(125): Intouch\\Framework\\Route\\BaseDispatcher->InvokeWithArgs()\n#7 \/var\/www\/html\/clinica.resolved.cl\/public_html\/public\/index.php(114): Intouch\\Framework\\Route\\BaseDispatcher->DispatchRequest()\n#8 {main}",
    "ServerIP": "10.0.11.215",
    "FatalType": 1,
    "DebugMessage": "",
    "Usuario": {
        "IdUsuario": 6,
        "LoginName": "CFuentes"
    },
    "RequestUri": "\/api\/mantenedores\/clinica\/paciente\/CancelarCita",
    "UserAgent": "Mozilla\/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit\/537.36 (KHTML, like Gecko) Chrome\/139.0.0.0 Safari\/537.36"
}
{
    "Fecha": "2025-08-19 18:05:54",
    "TypeException": "Exception",
    "Message": "SQLSTATE[23000]: [Microsoft][ODBC Driver 17 for SQL Server][SQL Server]The UPDATE statement conflicted with the FOREIGN KEY constraint \"FK__Cita__IdTipoEsta__00DF2177\". The conflict occurred in database \"Clinica\", table \"Clinica.TipoEstadoCita\", column 'IdTipoEstadoCita'.",
    "Line": 163,
    "Code": "23000",
    "Trace": "#0 \/var\/www\/html\/intouch\/v4\/framework\/src\/Dao\/GenericDao.php(163): PDOStatement->execute()\n#1 \/var\/www\/html\/intouch\/v4\/framework\/src\/BLL\/Service\/GenericSvc.php(114): Intouch\\Framework\\Dao\\GenericDao->Update()\n#2 \/var\/www\/html\/clinica.resolved.cl\/public_html\/Application\/BLL\/BusinessObjects\/Agenda\/AgendaPacienteBO.php(479): Intouch\\Framework\\BLL\\Service\\GenericSvc->Update()\n#3 \/var\/www\/html\/clinica.resolved.cl\/public_html\/Application\/Controllers\/Api\/Mantenedores\/Clinica\/PacienteController.php(239): Application\\BLL\\BusinessObjects\\Agenda\\AgendaPacienteBO->UpdateCancelarCitaPaciente()\n#4 [internal function]: Application\\Controllers\\Api\\Mantenedores\\Clinica\\PacienteController->CancelarCita()\n#5 \/var\/www\/html\/intouch\/v4\/framework\/src\/Route\/BaseDispatcher.php(555): ReflectionMethod->invokeArgs()\n#6 \/var\/www\/html\/intouch\/v4\/framework\/src\/Route\/BaseDispatcher.php(125): Intouch\\Framework\\Route\\BaseDispatcher->InvokeWithArgs()\n#7 \/var\/www\/html\/clinica.resolved.cl\/public_html\/public\/index.php(114): Intouch\\Framework\\Route\\BaseDispatcher->DispatchRequest()\n#8 {main}",
    "ServerIP": "10.0.11.215",
    "FatalType": 1,
    "DebugMessage": "",
    "Usuario": {
        "IdUsuario": 6,
        "LoginName": "CFuentes"
    },
    "RequestUri": "\/api\/mantenedores\/clinica\/paciente\/CancelarCita",
    "UserAgent": "Mozilla\/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit\/537.36 (KHTML, like Gecko) Chrome\/139.0.0.0 Safari\/537.36"
}