[20-Jan-2026 21:21:01 America/Bogota] Query failed: SQLSTATE[01000]: Warning: 1265 Data truncated for column 'status' at row 1 SQL: INSERT INTO conversations (user_id,message_id,direction,message_type,content,media_url,status,created_at) VALUES (:user_id, :message_id, :direction, :message_type, :content, :media_url, :status, :created_at) Params: {"user_id":26,"message_id":"ABGGFlA5Fpa","direction":"incoming","message_type":"text","content":"this is a text message","media_url":null,"status":"received","created_at":"2026-01-20 21:21:01"}
[20-Jan-2026 21:22:55 America/Bogota] Query failed: SQLSTATE[01000]: Warning: 1265 Data truncated for column 'status' at row 1 SQL: INSERT INTO conversations (user_id,message_id,direction,message_type,content,media_url,status,created_at) VALUES (:user_id, :message_id, :direction, :message_type, :content, :media_url, :status, :created_at) Params: {"user_id":26,"message_id":"ABGGFlA5Fpa","direction":"incoming","message_type":"text","content":"this is a text message","media_url":null,"status":"received","created_at":"2026-01-20 21:22:55"}
[20-Jan-2026 22:31:05 America/Bogota] Query failed: SQLSTATE[42S22]: Column not found: 1054 Unknown column 'updated_at' in 'SET' SQL: UPDATE message_templates SET status = 'approved', updated_at = NOW() WHERE id IN (5) Params: []
[20-Jan-2026 22:59:20 America/Bogota] PHP Fatal error:  Uncaught Error: Call to undefined function getWhatsAppConfigFromDB() in C:\laragon\www\whatsapp\services\WhatsAppService.php:18
Stack trace:
#0 C:\laragon\www\whatsapp\scripts\send_template_test.php(18): WhatsAppService->__construct()
#1 {main}
  thrown in C:\laragon\www\whatsapp\services\WhatsAppService.php on line 18
[20-Jan-2026 23:53:41 America/Bogota] [webhook] __construct start
[20-Jan-2026 23:53:42 America/Bogota] [webhook] __construct end
[20-Jan-2026 23:53:42 America/Bogota] [webhook] handleRequest start, method=GET
[20-Jan-2026 23:53:47 America/Bogota] [webhook] __construct start
[20-Jan-2026 23:53:47 America/Bogota] [webhook] __construct end
[20-Jan-2026 23:53:47 America/Bogota] [webhook] handleRequest start, method=GET
[20-Jan-2026 23:53:55 America/Bogota] [webhook] __construct start
[20-Jan-2026 23:53:55 America/Bogota] [webhook] __construct end
[20-Jan-2026 23:53:55 America/Bogota] [webhook] handleRequest start, method=GET
[20-Jan-2026 23:54:02 America/Bogota] [webhook] __construct start
[20-Jan-2026 23:54:03 America/Bogota] [webhook] __construct end
[20-Jan-2026 23:54:03 America/Bogota] [webhook] handleRequest start, method=GET
[2026-01-21 02:30:13] [INFO] Advisor requested for 573010000123
[2026-01-21 02:31:08] [INFO] Advisor requested for 573010000123
[2026-01-21 02:31:42] [INFO] Advisor requested for 573010000123
[2026-01-21 02:31:44] [INFO] Advisor released hold for 573010000123
[2026-01-21 02:31:49] [INFO] Bot paused for 4 hours for 573010000123
[2026-01-21 15:12:23] [INFO] Cleared advisor_requested for user 140 after outgoing message
[2026-01-21 15:12:27] [INFO] Cleared advisor_requested for user 140 after outgoing message
[2026-01-21 15:13:50] [INFO] Cleared advisor_requested for user 140 after outgoing message
[2026-01-21 15:13:53] [INFO] Cleared advisor_requested for user 140 after outgoing message
[2026-01-21 15:13:54] [INFO] Bot paused for 5 minutes for 573010000001
[2026-01-21 15:15:06] [INFO] Cleared advisor_requested for user 141 after outgoing message
[2026-01-21 15:16:53] [INFO] Cleared advisor_requested for user 142 after outgoing message
[2026-01-21 15:16:56] [INFO] Cleared advisor_requested for user 142 after outgoing message
[2026-01-21 15:16:57] [INFO] Bot paused for 5 minutes for 573010000003
[2026-01-21 21:55:46] [INFO] Cleared advisor_requested for user 135 after outgoing message
[2026-01-21 21:55:46] [INFO] Operator 2 attending conversation for 573168950803
[2026-01-21 21:56:00] [INFO] Cleared advisor_requested for user 135 after outgoing message
[2026-01-21 21:56:00] [INFO] Operator 2 attending conversation for 573168950803
[2026-01-21 21:59:34] [WARN] Failed to send survey template: Error de WhatsApp API: (#131009) Parameter value is not valid
[2026-01-21 21:59:34] [INFO] Operator 2 finished attending for 573168950803, survey=encuesta_satisfaccin
[2026-01-21 21:59:38] [WARN] Failed to send survey template: Error de WhatsApp API: (#131009) Parameter value is not valid
[2026-01-21 21:59:39] [INFO] Operator 2 finished attending for 573168950803, survey=encuesta_satisfaccin
[2026-01-21 22:00:23] [INFO] Cleared advisor_requested for user 135 after outgoing message
[2026-01-21 22:00:23] [INFO] Operator 2 attending conversation for 573168950803
[2026-01-21 22:03:38] [INFO] Cleared advisor_requested for user 163 after outgoing message
[2026-01-21 22:03:38] [INFO] Operator 1 attending conversation for 573000000999
[2026-01-21 22:04:01] [INFO] Cleared advisor_requested for user 164 after outgoing message
[2026-01-21 22:04:02] [INFO] Operator 1 attending conversation for 573000000999
[2026-01-21 22:05:30] [WARN] Failed to send survey template: Error de WhatsApp API: (#131009) Parameter value is not valid
[2026-01-21 22:05:31] [INFO] Operator 2 finished attending for 573168950803, survey=encuesta_satisfaccin
[2026-01-21 22:06:42] [INFO] Cleared advisor_requested for user 135 after outgoing message
[2026-01-21 22:06:43] [INFO] Operator 2 attending conversation for 573168950803
[2026-01-21 22:07:15] [INFO] Cleared advisor_requested for user 135 after outgoing message
[2026-01-21 22:56:59] [INFO] Survey response saved {"id":"1","phone":"573111111111","parsed":{"\u00c2\u00bfFue f\u00c3\u00a1cil interactuar con el chat autom\u00c3\u00a1tico?":"No","\u00c2\u00bfEl asesor humano resolvi\u00c3\u00b3 tu solicitud?":"No","Calificaci\u00c3\u00b3n":"4","Comentario":"bien"}}
[2026-01-21 22:57:43] [INFO] Survey response saved {"id":"2","phone":"573111111111","parsed":{"\u00c2\u00bfFue f\u00c3\u00a1cil interactuar con el chat autom\u00c3\u00a1tico?":"No","\u00c2\u00bfEl asesor humano resolvi\u00c3\u00b3 tu solicitud?":"No","Calificaci\u00c3\u00b3n":"4","Comentario":"bien"}}
[2026-01-21 22:58:27] [INFO] Survey response saved {"id":"3","phone":"573111111111","parsed":{"\u00c2\u00bfFue f\u00c3\u00a1cil interactuar con el chat autom\u00c3\u00a1tico?":"No","\u00c2\u00bfEl asesor humano resolvi\u00c3\u00b3 tu solicitud?":"No","Calificaci\u00c3\u00b3n":"4","Comentario":"bien"}}
[2026-01-21 22:58:27] [INFO] Survey response saved {"id":"4","phone":"573111111111","parsed":{"\u00bfFue f\u00e1cil interactuar con el chat autom\u00e1tico?":"S\u00ed","\u00bfEl asesor humano resolvi\u00f3 tu solicitud?":"No","Calificaci\u00f3n":"5","Comentario":"excelente servicio"}}
[2026-01-21 23:00:56] [INFO] Survey response saved {"id":"5","phone":"573111111111","parsed":{"\u00c2\u00bfFue f\u00c3\u00a1cil interactuar con el chat autom\u00c3\u00a1tico?":"No","\u00c2\u00bfEl asesor humano resolvi\u00c3\u00b3 tu solicitud?":"No","Calificaci\u00c3\u00b3n":"4","Comentario":"bien"}}
[2026-01-21 23:00:56] [INFO] Survey response saved {"id":"6","phone":"573111111111","parsed":{"\u00bfFue f\u00e1cil interactuar con el chat autom\u00e1tico?":"S\u00ed","\u00bfEl asesor humano resolvi\u00f3 tu solicitud?":"No","Calificaci\u00f3n":"5","Comentario":"excelente servicio"}}
[2026-01-21 23:11:49] [INFO] Survey response saved {"id":"7","phone":"573111111111","parsed":{"\u00c2\u00bfFue f\u00c3\u00a1cil interactuar con el chat autom\u00c3\u00a1tico?":"No","\u00c2\u00bfEl asesor humano resolvi\u00c3\u00b3 tu solicitud?":"No","Calificaci\u00c3\u00b3n":"4","Comentario":"bien"}}
[2026-01-21 23:11:49] [INFO] Survey response saved {"id":"8","phone":"573111111111","parsed":{"\u00bfFue f\u00e1cil interactuar con el chat autom\u00e1tico?":"S\u00ed","\u00bfEl asesor humano resolvi\u00f3 tu solicitud?":"No","Calificaci\u00f3n":"5","Comentario":"excelente servicio"}}
[2026-01-21 23:14:51] [INFO] Survey response saved {"id":"9","phone":"573111111111","parsed":{"\u00c2\u00bfFue f\u00c3\u00a1cil interactuar con el chat autom\u00c3\u00a1tico?":"No","\u00c2\u00bfEl asesor humano resolvi\u00c3\u00b3 tu solicitud?":"No","Calificaci\u00c3\u00b3n":"4","Comentario":"bien"}}
[2026-01-21 23:14:51] [INFO] Survey response saved {"id":"10","phone":"573111111111","parsed":{"\u00bfFue f\u00e1cil interactuar con el chat autom\u00e1tico?":"S\u00ed","\u00bfEl asesor humano resolvi\u00f3 tu solicitud?":"No","Calificaci\u00f3n":"5","Comentario":"excelente servicio"}}
[2026-01-21 23:49:55] [INFO] delete_template.php start {"raw_input":{"id":"1"},"query":{"debug":"true"}}
[2026-01-21 23:49:55] [INFO] delete_template.php parsed ids {"ids":[1]}
[2026-01-24 02:11:00] [INFO] Bot paused for 3 minutes for 573022548060
[2026-01-24 02:14:23] [INFO] Bot paused for 3 minutes for 573022548060
[2026-01-24 02:18:27] [INFO] Bot paused for 3 minutes for 573022548060
[2026-01-24 02:18:38] [INFO] Bot paused for 3 minutes for 573022548060
[2026-01-25 22:24:15] [INFO] Bot paused for 3 minutes for 573022548060
[2026-01-25 22:40:53] [INFO] Advisor solicited for 573022548060 until 2026-01-25 22:43:51
[2026-01-25 22:45:57] [INFO] Bot paused for 3 minutes for 573194724531
[2026-01-25 22:46:00] [INFO] Advisor solicited for 573194724531 until 2026-01-25 22:48:58
[2026-01-25 22:48:41] [INFO] Bot paused for 3 minutes for 573194724531
[2026-01-25 22:48:44] [INFO] Advisor solicited for 573194724531 until 2026-01-25 22:51:42
[2026-01-27 00:01:19] [INFO] Cleared advisor_requested for user 3180 after outgoing message by operator
[2026-01-27 14:14:27] [INFO] Cleared advisor_requested for user 3250 after outgoing message by operator
[2026-01-27 14:41:33] [INFO] Cleared advisor_requested for user 3250 after outgoing message by operator
[2026-01-27 23:37:33] [INFO] Cleared advisor_requested for user 3277 after outgoing message by operator
[2026-01-27 23:42:21] [INFO] Cleared advisor_requested for user 3277 after outgoing message by operator
[2026-01-29 09:02:07] [INFO] Cleared advisor_requested for user 3250 after outgoing message by operator
[2026-01-29 09:05:30] [INFO] Cleared advisor_requested for user 3250 after outgoing message by operator
[2026-02-02 21:27:38] [INFO] Configuración de WhatsApp actualizada {"configured_fields":{"token":true,"phone_id":true,"webhook_token":true},"user":"debug_user"}
[2026-02-02 21:46:53] [DEBUG] Page access {"uri":"\/api\/delete_template.php?debug=true","ip":"140.82.112.5","user_agent":"Mozilla\/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit\/537.36 (KHTML, like Gecko) Chrome\/144.0."}
[2026-02-02 21:46:53] [INFO] delete_template.php start {"raw_input":{"id":14},"query":{"debug":"true"}}
[2026-02-02 21:46:53] [INFO] delete_template.php parsed ids {"ids":[14]}
[2026-02-02 21:46:53] [DEBUG] Class loaded {"class":"Database","file":"\/var\/www\/html\/classes\/Database.php"}
[2026-02-02 21:46:53] [ERROR] Class not found {"class":"Pdo\\Mysql"}
[2026-02-02 21:46:58] [DEBUG] Page access {"uri":"\/api\/delete_template.php?debug=true","ip":"140.82.112.5","user_agent":"Mozilla\/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit\/537.36 (KHTML, like Gecko) Chrome\/144.0."}
[2026-02-02 21:46:58] [INFO] delete_template.php start {"raw_input":{"id":10},"query":{"debug":"true"}}
[2026-02-02 21:46:58] [INFO] delete_template.php parsed ids {"ids":[10]}
[2026-02-02 21:46:58] [DEBUG] Class loaded {"class":"Database","file":"\/var\/www\/html\/classes\/Database.php"}
[2026-02-02 21:46:58] [ERROR] Class not found {"class":"Pdo\\Mysql"}
[2026-02-02 21:47:01] [INFO] Plantillas sincronizadas desde Facebook: 0 nuevas, 0 actualizadas, 3 sin cambios
[2026-02-03 11:07:32] [INFO] Configuración de WhatsApp actualizada {"configured_fields":{"token":true,"phone_id":true,"webhook_token":true},"user":"debug_user"}
[2026-02-03 11:07:41] [INFO] Plantillas sincronizadas desde Facebook: 6 nuevas, 1 actualizadas, 0 sin cambios
[2026-02-03 11:21:31] [INFO] Mensaje programado eliminado: ID=1
[2026-02-03 12:42:05] [INFO] Plantillas sincronizadas desde Facebook: 0 nuevas, 7 actualizadas, 0 sin cambios
[2026-02-03 14:22:57] [INFO] Mensaje programado creado: ID=2, Usuario=3277, Fecha=2026-02-03 14:23
[2026-02-03 14:29:08] [INFO] Mensaje programado creado: ID=3, Usuario=3277, Fecha=2026-02-03 14:30
[2026-02-03 14:30:22] [INFO] Mensaje programado eliminado: ID=3
[2026-02-03 14:35:06] [INFO] Mensaje programado creado: ID=4, Usuario=3277, Fecha=2026-02-03 14:36
[2026-02-03 14:38:15] [INFO] Plantillas sincronizadas desde Facebook: 0 nuevas, 7 actualizadas, 0 sin cambios
[2026-02-03 14:39:05] [DEBUG] Page access {"uri":"\/api\/delete_template.php?debug=true","ip":"140.82.113.6","user_agent":"Mozilla\/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit\/537.36 (KHTML, like Gecko) Chrome\/144.0."}
[2026-02-03 14:39:05] [INFO] delete_template.php start {"raw_input":{"id":16},"query":{"debug":"true"}}
[2026-02-03 14:39:05] [INFO] delete_template.php parsed ids {"ids":[16]}
[2026-02-03 14:39:05] [DEBUG] Class loaded {"class":"Database","file":"\/var\/www\/html\/classes\/Database.php"}
[2026-02-03 14:39:05] [ERROR] Class not found {"class":"Pdo\\Mysql"}
[2026-02-03 14:39:09] [DEBUG] Page access {"uri":"\/api\/delete_template.php?debug=true","ip":"140.82.113.6","user_agent":"Mozilla\/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit\/537.36 (KHTML, like Gecko) Chrome\/144.0."}
[2026-02-03 14:39:09] [INFO] delete_template.php start {"raw_input":{"id":13},"query":{"debug":"true"}}
[2026-02-03 14:39:09] [INFO] delete_template.php parsed ids {"ids":[13]}
[2026-02-03 14:39:09] [DEBUG] Class loaded {"class":"Database","file":"\/var\/www\/html\/classes\/Database.php"}
[2026-02-03 14:39:09] [ERROR] Class not found {"class":"Pdo\\Mysql"}
[2026-02-03 14:39:12] [DEBUG] Page access {"uri":"\/api\/delete_template.php?debug=true","ip":"140.82.113.6","user_agent":"Mozilla\/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit\/537.36 (KHTML, like Gecko) Chrome\/144.0."}
[2026-02-03 14:39:12] [INFO] delete_template.php start {"raw_input":{"id":12},"query":{"debug":"true"}}
[2026-02-03 14:39:12] [INFO] delete_template.php parsed ids {"ids":[12]}
[2026-02-03 14:39:12] [DEBUG] Class loaded {"class":"Database","file":"\/var\/www\/html\/classes\/Database.php"}
[2026-02-03 14:39:12] [ERROR] Class not found {"class":"Pdo\\Mysql"}
[2026-02-03 14:39:16] [DEBUG] Page access {"uri":"\/api\/delete_template.php?debug=true","ip":"140.82.113.6","user_agent":"Mozilla\/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit\/537.36 (KHTML, like Gecko) Chrome\/144.0."}
[2026-02-03 14:39:16] [INFO] delete_template.php start {"raw_input":{"id":17},"query":{"debug":"true"}}
[2026-02-03 14:39:16] [INFO] delete_template.php parsed ids {"ids":[17]}
[2026-02-03 14:39:16] [DEBUG] Class loaded {"class":"Database","file":"\/var\/www\/html\/classes\/Database.php"}
[2026-02-03 14:39:16] [ERROR] Class not found {"class":"Pdo\\Mysql"}
[2026-02-03 14:39:18] [DEBUG] Page access {"uri":"\/api\/delete_template.php?debug=true","ip":"140.82.113.6","user_agent":"Mozilla\/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit\/537.36 (KHTML, like Gecko) Chrome\/144.0."}
[2026-02-03 14:39:18] [INFO] delete_template.php start {"raw_input":{"id":10},"query":{"debug":"true"}}
[2026-02-03 14:39:18] [INFO] delete_template.php parsed ids {"ids":[10]}
[2026-02-03 14:39:18] [DEBUG] Class loaded {"class":"Database","file":"\/var\/www\/html\/classes\/Database.php"}
[2026-02-03 14:39:18] [ERROR] Class not found {"class":"Pdo\\Mysql"}
[2026-02-03 14:39:21] [DEBUG] Page access {"uri":"\/api\/delete_template.php?debug=true","ip":"140.82.113.6","user_agent":"Mozilla\/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit\/537.36 (KHTML, like Gecko) Chrome\/144.0."}
[2026-02-03 14:39:21] [INFO] delete_template.php start {"raw_input":{"id":18},"query":{"debug":"true"}}
[2026-02-03 14:39:21] [INFO] delete_template.php parsed ids {"ids":[18]}
[2026-02-03 14:39:21] [DEBUG] Class loaded {"class":"Database","file":"\/var\/www\/html\/classes\/Database.php"}
[2026-02-03 14:39:21] [ERROR] Class not found {"class":"Pdo\\Mysql"}
[2026-02-03 14:39:39] [DEBUG] Page access {"uri":"\/api\/delete_template.php?debug=true","ip":"140.82.113.6","user_agent":"Mozilla\/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit\/537.36 (KHTML, like Gecko) Chrome\/144.0."}
[2026-02-03 14:39:39] [INFO] delete_template.php start {"raw_input":{"id":14},"query":{"debug":"true"}}
[2026-02-03 14:39:39] [INFO] delete_template.php parsed ids {"ids":[14]}
[2026-02-03 14:39:39] [DEBUG] Class loaded {"class":"Database","file":"\/var\/www\/html\/classes\/Database.php"}
[2026-02-03 14:39:39] [ERROR] Class not found {"class":"Pdo\\Mysql"}
[2026-02-03 14:39:42] [DEBUG] Page access {"uri":"\/api\/delete_template.php?debug=true","ip":"140.82.113.6","user_agent":"Mozilla\/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit\/537.36 (KHTML, like Gecko) Chrome\/144.0."}
[2026-02-03 14:39:42] [INFO] delete_template.php start {"raw_input":{"id":15},"query":{"debug":"true"}}
[2026-02-03 14:39:42] [INFO] delete_template.php parsed ids {"ids":[15]}
[2026-02-03 14:39:42] [DEBUG] Class loaded {"class":"Database","file":"\/var\/www\/html\/classes\/Database.php"}
[2026-02-03 14:39:42] [ERROR] Class not found {"class":"Pdo\\Mysql"}
[2026-02-03 14:39:43] [INFO] Plantillas sincronizadas desde Facebook: 7 nuevas, 0 actualizadas, 0 sin cambios
[2026-02-03 14:40:15] [INFO] Mensaje programado creado: ID=5, Usuario=3277, Fecha=2026-02-04 09:00
[2026-02-03 14:51:39] [INFO] Plantillas sincronizadas desde Facebook: 0 nuevas, 7 actualizadas, 0 sin cambios
[2026-02-03 14:51:48] [DEBUG] Page access {"uri":"\/api\/delete_template.php?debug=true","ip":"140.82.113.6","user_agent":"Mozilla\/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit\/537.36 (KHTML, like Gecko) Chrome\/144.0."}
[2026-02-03 14:51:48] [INFO] delete_template.php start {"raw_input":{"id":22},"query":{"debug":"true"}}
[2026-02-03 14:51:48] [INFO] delete_template.php parsed ids {"ids":[22]}
[2026-02-03 14:51:48] [DEBUG] Class loaded {"class":"Database","file":"\/var\/www\/html\/classes\/Database.php"}
[2026-02-03 14:51:48] [ERROR] Class not found {"class":"Pdo\\Mysql"}
[2026-02-03 14:51:56] [DEBUG] Page access {"uri":"\/api\/delete_template.php?debug=true","ip":"140.82.113.6","user_agent":"Mozilla\/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit\/537.36 (KHTML, like Gecko) Chrome\/144.0."}
[2026-02-03 14:51:56] [INFO] delete_template.php start {"raw_input":{"id":19},"query":{"debug":"true"}}
[2026-02-03 14:51:56] [INFO] delete_template.php parsed ids {"ids":[19]}
[2026-02-03 14:51:56] [DEBUG] Class loaded {"class":"Database","file":"\/var\/www\/html\/classes\/Database.php"}
[2026-02-03 14:51:56] [ERROR] Class not found {"class":"Pdo\\Mysql"}
[2026-02-03 14:51:59] [DEBUG] Page access {"uri":"\/api\/delete_template.php?debug=true","ip":"140.82.113.6","user_agent":"Mozilla\/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit\/537.36 (KHTML, like Gecko) Chrome\/144.0."}
[2026-02-03 14:51:59] [INFO] delete_template.php start {"raw_input":{"id":23},"query":{"debug":"true"}}
[2026-02-03 14:51:59] [INFO] delete_template.php parsed ids {"ids":[23]}
[2026-02-03 14:51:59] [DEBUG] Class loaded {"class":"Database","file":"\/var\/www\/html\/classes\/Database.php"}
[2026-02-03 14:51:59] [ERROR] Class not found {"class":"Pdo\\Mysql"}
[2026-02-03 14:52:02] [DEBUG] Page access {"uri":"\/api\/delete_template.php?debug=true","ip":"140.82.113.6","user_agent":"Mozilla\/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit\/537.36 (KHTML, like Gecko) Chrome\/144.0."}
[2026-02-03 14:52:02] [INFO] delete_template.php start {"raw_input":{"id":24},"query":{"debug":"true"}}
[2026-02-03 14:52:02] [INFO] delete_template.php parsed ids {"ids":[24]}
[2026-02-03 14:52:02] [DEBUG] Class loaded {"class":"Database","file":"\/var\/www\/html\/classes\/Database.php"}
[2026-02-03 14:52:02] [ERROR] Class not found {"class":"Pdo\\Mysql"}
[2026-02-03 14:52:06] [DEBUG] Page access {"uri":"\/api\/delete_template.php?debug=true","ip":"140.82.113.6","user_agent":"Mozilla\/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit\/537.36 (KHTML, like Gecko) Chrome\/144.0."}
[2026-02-03 14:52:06] [INFO] delete_template.php start {"raw_input":{"id":25},"query":{"debug":"true"}}
[2026-02-03 14:52:06] [INFO] delete_template.php parsed ids {"ids":[25]}
[2026-02-03 14:52:06] [DEBUG] Class loaded {"class":"Database","file":"\/var\/www\/html\/classes\/Database.php"}
[2026-02-03 14:52:06] [ERROR] Class not found {"class":"Pdo\\Mysql"}
[2026-02-03 14:52:09] [DEBUG] Page access {"uri":"\/api\/delete_template.php?debug=true","ip":"140.82.113.6","user_agent":"Mozilla\/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit\/537.36 (KHTML, like Gecko) Chrome\/144.0."}
[2026-02-03 14:52:09] [INFO] delete_template.php start {"raw_input":{"id":20},"query":{"debug":"true"}}
[2026-02-03 14:52:09] [INFO] delete_template.php parsed ids {"ids":[20]}
[2026-02-03 14:52:09] [DEBUG] Class loaded {"class":"Database","file":"\/var\/www\/html\/classes\/Database.php"}
[2026-02-03 14:52:09] [ERROR] Class not found {"class":"Pdo\\Mysql"}
[2026-02-03 14:52:11] [DEBUG] Page access {"uri":"\/api\/delete_template.php?debug=true","ip":"140.82.113.6","user_agent":"Mozilla\/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit\/537.36 (KHTML, like Gecko) Chrome\/144.0."}
[2026-02-03 14:52:11] [INFO] delete_template.php start {"raw_input":{"id":21},"query":{"debug":"true"}}
[2026-02-03 14:52:11] [INFO] delete_template.php parsed ids {"ids":[21]}
[2026-02-03 14:52:11] [DEBUG] Class loaded {"class":"Database","file":"\/var\/www\/html\/classes\/Database.php"}
[2026-02-03 14:52:11] [ERROR] Class not found {"class":"Pdo\\Mysql"}
[2026-02-03 14:52:15] [INFO] Plantillas sincronizadas desde Facebook: 7 nuevas, 0 actualizadas, 0 sin cambios
[2026-02-03 14:59:06] [INFO] Plantillas sincronizadas desde Facebook: 0 nuevas, 7 actualizadas, 0 sin cambios
[2026-02-03 15:09:36] [INFO] Plantillas sincronizadas desde Facebook: 0 nuevas, 7 actualizadas, 0 sin cambios
[2026-02-03 15:09:55] [INFO] Plantillas sincronizadas desde Facebook: 0 nuevas, 7 actualizadas, 0 sin cambios
[2026-02-03 15:10:09] [DEBUG] Page access {"uri":"\/api\/delete_template.php?debug=true","ip":"140.82.113.6","user_agent":"Mozilla\/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit\/537.36 (KHTML, like Gecko) Chrome\/144.0."}
[2026-02-03 15:10:09] [INFO] delete_template.php start {"raw_input":{"id":29},"query":{"debug":"true"}}
[2026-02-03 15:10:09] [INFO] delete_template.php parsed ids {"ids":[29]}
[2026-02-03 15:10:09] [DEBUG] Class loaded {"class":"Database","file":"\/var\/www\/html\/classes\/Database.php"}
[2026-02-03 15:10:09] [ERROR] Class not found {"class":"Pdo\\Mysql"}
[2026-02-03 15:10:12] [DEBUG] Page access {"uri":"\/api\/delete_template.php?debug=true","ip":"140.82.113.6","user_agent":"Mozilla\/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit\/537.36 (KHTML, like Gecko) Chrome\/144.0."}
[2026-02-03 15:10:12] [INFO] delete_template.php start {"raw_input":{"id":26},"query":{"debug":"true"}}
[2026-02-03 15:10:12] [INFO] delete_template.php parsed ids {"ids":[26]}
[2026-02-03 15:10:12] [DEBUG] Class loaded {"class":"Database","file":"\/var\/www\/html\/classes\/Database.php"}
[2026-02-03 15:10:12] [ERROR] Class not found {"class":"Pdo\\Mysql"}
[2026-02-03 15:10:16] [DEBUG] Page access {"uri":"\/api\/delete_template.php?debug=true","ip":"140.82.113.6","user_agent":"Mozilla\/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit\/537.36 (KHTML, like Gecko) Chrome\/144.0."}
[2026-02-03 15:10:16] [INFO] delete_template.php start {"raw_input":{"id":30},"query":{"debug":"true"}}
[2026-02-03 15:10:16] [INFO] delete_template.php parsed ids {"ids":[30]}
[2026-02-03 15:10:16] [DEBUG] Class loaded {"class":"Database","file":"\/var\/www\/html\/classes\/Database.php"}
[2026-02-03 15:10:16] [ERROR] Class not found {"class":"Pdo\\Mysql"}
[2026-02-03 15:10:20] [DEBUG] Page access {"uri":"\/api\/delete_template.php?debug=true","ip":"140.82.113.6","user_agent":"Mozilla\/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit\/537.36 (KHTML, like Gecko) Chrome\/144.0."}
[2026-02-03 15:10:20] [INFO] delete_template.php start {"raw_input":{"id":31},"query":{"debug":"true"}}
[2026-02-03 15:10:20] [INFO] delete_template.php parsed ids {"ids":[31]}
[2026-02-03 15:10:20] [DEBUG] Class loaded {"class":"Database","file":"\/var\/www\/html\/classes\/Database.php"}
[2026-02-03 15:10:20] [ERROR] Class not found {"class":"Pdo\\Mysql"}
[2026-02-03 15:10:23] [DEBUG] Page access {"uri":"\/api\/delete_template.php?debug=true","ip":"140.82.113.6","user_agent":"Mozilla\/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit\/537.36 (KHTML, like Gecko) Chrome\/144.0."}
[2026-02-03 15:10:23] [INFO] delete_template.php start {"raw_input":{"id":32},"query":{"debug":"true"}}
[2026-02-03 15:10:23] [INFO] delete_template.php parsed ids {"ids":[32]}
[2026-02-03 15:10:23] [DEBUG] Class loaded {"class":"Database","file":"\/var\/www\/html\/classes\/Database.php"}
[2026-02-03 15:10:23] [ERROR] Class not found {"class":"Pdo\\Mysql"}
[2026-02-03 15:10:27] [DEBUG] Page access {"uri":"\/api\/delete_template.php?debug=true","ip":"140.82.113.6","user_agent":"Mozilla\/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit\/537.36 (KHTML, like Gecko) Chrome\/144.0."}
[2026-02-03 15:10:27] [INFO] delete_template.php start {"raw_input":{"id":27},"query":{"debug":"true"}}
[2026-02-03 15:10:27] [INFO] delete_template.php parsed ids {"ids":[27]}
[2026-02-03 15:10:27] [DEBUG] Class loaded {"class":"Database","file":"\/var\/www\/html\/classes\/Database.php"}
[2026-02-03 15:10:27] [ERROR] Class not found {"class":"Pdo\\Mysql"}
[2026-02-03 15:10:31] [DEBUG] Page access {"uri":"\/api\/delete_template.php?debug=true","ip":"140.82.113.6","user_agent":"Mozilla\/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit\/537.36 (KHTML, like Gecko) Chrome\/144.0."}
[2026-02-03 15:10:31] [INFO] delete_template.php start {"raw_input":{"id":28},"query":{"debug":"true"}}
[2026-02-03 15:10:31] [INFO] delete_template.php parsed ids {"ids":[28]}
[2026-02-03 15:10:31] [DEBUG] Class loaded {"class":"Database","file":"\/var\/www\/html\/classes\/Database.php"}
[2026-02-03 15:10:31] [ERROR] Class not found {"class":"Pdo\\Mysql"}
[2026-02-03 15:10:33] [INFO] Plantillas sincronizadas desde Facebook: 7 nuevas, 0 actualizadas, 0 sin cambios
[2026-02-03 15:27:49] [INFO] Plantillas sincronizadas desde Facebook: 0 nuevas, 7 actualizadas, 0 sin cambios
[2026-02-03 15:27:51] [INFO] Plantillas sincronizadas desde Facebook: 0 nuevas, 7 actualizadas, 0 sin cambios
[2026-02-03 15:29:55] [DEBUG] Page access {"uri":"\/api\/delete_template.php?debug=true","ip":"140.82.113.6","user_agent":"Mozilla\/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit\/537.36 (KHTML, like Gecko) Chrome\/144.0."}
[2026-02-03 15:29:55] [INFO] delete_template.php start {"raw_input":{"id":33},"query":{"debug":"true"}}
[2026-02-03 15:29:55] [INFO] delete_template.php parsed ids {"ids":[33]}
[2026-02-03 15:29:55] [DEBUG] Class loaded {"class":"Database","file":"\/var\/www\/html\/classes\/Database.php"}
[2026-02-03 15:29:55] [ERROR] Class not found {"class":"Pdo\\Mysql"}
[2026-02-03 15:29:59] [INFO] Plantillas sincronizadas desde Facebook: 1 nuevas, 6 actualizadas, 0 sin cambios
[2026-02-03 15:34:25] [INFO] Plantillas sincronizadas desde Facebook: 0 nuevas, 7 actualizadas, 0 sin cambios
[2026-02-03 16:19:48] [INFO] Mensaje programado creado: ID=7, Usuario=3277, Fecha=2026-02-03 16:20
[2026-02-03 20:47:36] [INFO] Mensaje programado creado: ID=8, Usuario=3250, Fecha=2026-02-03 20:48
[2026-02-03 20:54:33] [INFO] Mensaje programado creado: ID=9, Usuario=3250, Fecha=2026-02-03 20:55
[2026-02-06 10:23:52] [INFO] Cleared advisor_requested for user 3250 after outgoing message by operator
[2026-03-10 15:42:57] [INFO] Configuración de WhatsApp actualizada {"configured_fields":{"token":true,"phone_id":true,"webhook_token":true},"user":"debug_user"}
[2026-03-10 16:23:28] [INFO] Configuración de WhatsApp actualizada {"configured_fields":{"token":true,"phone_id":true,"webhook_token":true},"user":"debug_user"}
[2026-03-10 16:25:44] [INFO] Configuración de WhatsApp actualizada {"configured_fields":{"token":true,"phone_id":true,"webhook_token":true},"user":"debug_user"}
[2026-03-10 16:25:53] [INFO] Configuración de WhatsApp actualizada {"configured_fields":{"token":true,"phone_id":true,"webhook_token":true},"user":"debug_user"}
[2026-03-10 18:13:49] [INFO] Configuración de WhatsApp actualizada {"configured_fields":{"token":true,"phone_id":true,"webhook_token":true},"user":"debug_user"}
[2026-03-10 18:14:09] [INFO] Plantillas sincronizadas desde Facebook: 0 nuevas, 0 actualizadas, 0 sin cambios
[2026-03-10 18:16:17] [INFO] Plantillas sincronizadas desde Facebook: 0 nuevas, 0 actualizadas, 0 sin cambios
[2026-03-10 18:17:09] [INFO] Plantillas sincronizadas desde Facebook: 0 nuevas, 0 actualizadas, 0 sin cambios
[2026-03-10 18:23:17] [INFO] Plantillas sincronizadas desde Facebook: 10 nuevas, 1 actualizadas, 0 sin cambios
