{"ts":"2026-06-19T10:56:58+00:00","level":"error","event":"php_error","request_id":"4dfd43b52363108c00160074e3c5cf0a","method":"CLI","path":"/scripts/reset_death_threshold_test.php","ip":"10.3.63.197","ua":"Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)","severity":8,"message":"Undefined variable: argv","file":"/var/www/capsulize-testament/backend-php7/scripts/reset_death_threshold_test.php","line":32}
{"ts":"2026-06-19T10:56:58+00:00","level":"error","event":"request","request_id":"4dfd43b52363108c00160074e3c5cf0a","method":"CLI","path":"/scripts/reset_death_threshold_test.php","query":"","status":500,"duration_ms":1,"ip":"10.3.63.197","ua":"Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)","fatal":{"type":1,"message":"Uncaught TypeError: in_array() expects parameter 2 to be array, null given in /var/www/capsulize-testament/backend-php7/scripts/reset_death_threshold_test.php:32\nStack trace:\n#0 /var/www/capsulize-testament/backend-php7/scripts/reset_death_threshold_test.php(32): in_array()\n#1 {main}\n  thrown","file":"/var/www/capsulize-testament/backend-php7/scripts/reset_death_threshold_test.php","line":32}}
{"ts":"2026-06-19T10:57:27+00:00","level":"error","event":"php_error","request_id":"d15b88f4c8ffd1682aa9f5d2e806abba","method":"CLI","path":"/scripts/regenerate_invoice.php","ip":"10.3.63.197","ua":"Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)","severity":2,"message":"Use of undefined constant STDERR - assumed 'STDERR' (this will throw an Error in a future version of PHP)","file":"/var/www/capsulize-testament/backend-php7/scripts/regenerate_invoice.php","line":13}
{"ts":"2026-06-19T10:57:27+00:00","level":"error","event":"request","request_id":"d15b88f4c8ffd1682aa9f5d2e806abba","method":"CLI","path":"/scripts/regenerate_invoice.php","query":"","status":500,"duration_ms":0,"ip":"10.3.63.197","ua":"Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)","fatal":{"type":1,"message":"Uncaught TypeError: fwrite() expects parameter 1 to be resource, string given in /var/www/capsulize-testament/backend-php7/scripts/regenerate_invoice.php:13\nStack trace:\n#0 /var/www/capsulize-testament/backend-php7/scripts/regenerate_invoice.php(13): fwrite()\n#1 /var/www/capsulize-testament/backend-php7/scripts/regenerate_invoice.php(41): usage()\n#2 {main}\n  thrown","file":"/var/www/capsulize-testament/backend-php7/scripts/regenerate_invoice.php","line":13}}
{"ts":"2026-06-19T10:57:28+00:00","level":"info","event":"request","request_id":"4aaefa65fc41653dec65b863fcfcd8d5","method":"CLI","path":"/scripts/resend_recipient_unlock_email.php","query":"","status":200,"duration_ms":0,"ip":"10.3.63.197","ua":"Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)"}
{"ts":"2026-06-19T10:57:46+00:00","level":"info","event":"request","request_id":"89f449c8ed60ae0f3c9e590a9c56e702","method":"CLI","path":"/scripts/unlock_scheduled_capsules.php","query":"","status":200,"duration_ms":108,"ip":"10.3.63.197","ua":"Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)"}
{"ts":"2026-06-19T10:57:54+00:00","level":"info","event":"request","request_id":"60e76168c3f4298fe7c315d29f5344db","method":"CLI","path":"/scripts/remind_unpaid_capsules.php","query":"","status":200,"duration_ms":71,"ip":"10.3.63.197","ua":"Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)"}
{"ts":"2026-06-19T10:58:31+00:00","level":"info","event":"capsule_purged_unpaid_hard_delete","request_id":"b7f1bb527e6842ac1d3300d6c88da17d","method":"CLI","path":"/scripts/purge_unpaid_capsules.php","ip":"10.3.63.197","ua":"Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)","capsule_id":"4af4e29c-4092-45cb-8af5-3e2d82606162","user_id":"30f09088-e5f3-4b5b-961d-5b4e208bb164","created_at":"2026-05-18 14:33:37","assets_count":0,"assets":[],"s3_deletes":[]}
{"ts":"2026-06-19T10:58:31+00:00","level":"info","event":"request","request_id":"b7f1bb527e6842ac1d3300d6c88da17d","method":"CLI","path":"/scripts/purge_unpaid_capsules.php","query":"","status":200,"duration_ms":168,"ip":"10.3.63.197","ua":"Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)"}
{"ts":"2026-06-19T12:46:06+00:00","level":"warn","event":"request","request_id":"d895492ae6e1b3e84788e6f4cac75ceb","method":"GET","path":"/capsulize-testament/backend-php7/public/","query":"","status":404,"duration_ms":1,"ip":"146.70.128.227","ua":"Mozilla/5.0 (Macintosh; Intel Mac OS X 11_1) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/87.0.4280.88 Safari/537.36"}
{"ts":"2026-06-19T12:46:17+00:00","level":"error","event":"php_error","request_id":"30bb160ee3861ef87689cdb55a2adc91","method":"CLI","path":"/scripts/regenerate_invoice.php","ip":"45.134.212.93","ua":"Mozilla/5.0 (Macintosh; Intel Mac OS X 11_1) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/87.0.4280.88 Safari/537.36","severity":2,"message":"Use of undefined constant STDERR - assumed 'STDERR' (this will throw an Error in a future version of PHP)","file":"/var/www/capsulize-testament/backend-php7/scripts/regenerate_invoice.php","line":13}
{"ts":"2026-06-19T12:46:17+00:00","level":"error","event":"request","request_id":"30bb160ee3861ef87689cdb55a2adc91","method":"CLI","path":"/scripts/regenerate_invoice.php","query":"","status":500,"duration_ms":1,"ip":"45.134.212.93","ua":"Mozilla/5.0 (Macintosh; Intel Mac OS X 11_1) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/87.0.4280.88 Safari/537.36","fatal":{"type":1,"message":"Uncaught TypeError: fwrite() expects parameter 1 to be resource, string given in /var/www/capsulize-testament/backend-php7/scripts/regenerate_invoice.php:13\nStack trace:\n#0 /var/www/capsulize-testament/backend-php7/scripts/regenerate_invoice.php(13): fwrite()\n#1 /var/www/capsulize-testament/backend-php7/scripts/regenerate_invoice.php(41): usage()\n#2 {main}\n  thrown","file":"/var/www/capsulize-testament/backend-php7/scripts/regenerate_invoice.php","line":13}}
{"ts":"2026-06-19T12:46:17+00:00","level":"info","event":"request","request_id":"d2267142bd12c1841c6d2e2028fb5040","method":"CLI","path":"/scripts/purge_unpaid_capsules.php","query":"","status":200,"duration_ms":70,"ip":"178.249.211.67","ua":"Mozilla/5.0 (Macintosh; Intel Mac OS X 11_1) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/87.0.4280.88 Safari/537.36"}
{"ts":"2026-06-19T12:46:17+00:00","level":"error","event":"php_error","request_id":"b3eb631d1e00fbe417e286deba23e2ea","method":"CLI","path":"/scripts/reset_death_threshold_test.php","ip":"185.195.233.141","ua":"Mozilla/5.0 (Macintosh; Intel Mac OS X 11_1) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/87.0.4280.88 Safari/537.36","severity":8,"message":"Undefined variable: argv","file":"/var/www/capsulize-testament/backend-php7/scripts/reset_death_threshold_test.php","line":32}
{"ts":"2026-06-19T12:46:17+00:00","level":"error","event":"request","request_id":"b3eb631d1e00fbe417e286deba23e2ea","method":"CLI","path":"/scripts/reset_death_threshold_test.php","query":"","status":500,"duration_ms":0,"ip":"185.195.233.141","ua":"Mozilla/5.0 (Macintosh; Intel Mac OS X 11_1) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/87.0.4280.88 Safari/537.36","fatal":{"type":1,"message":"Uncaught TypeError: in_array() expects parameter 2 to be array, null given in /var/www/capsulize-testament/backend-php7/scripts/reset_death_threshold_test.php:32\nStack trace:\n#0 /var/www/capsulize-testament/backend-php7/scripts/reset_death_threshold_test.php(32): in_array()\n#1 {main}\n  thrown","file":"/var/www/capsulize-testament/backend-php7/scripts/reset_death_threshold_test.php","line":32}}
{"ts":"2026-06-19T12:46:17+00:00","level":"info","event":"request","request_id":"e6b903651d903363324b832f31281afb","method":"CLI","path":"/scripts/remind_unpaid_capsules.php","query":"","status":200,"duration_ms":79,"ip":"178.249.211.67","ua":"Mozilla/5.0 (Macintosh; Intel Mac OS X 11_1) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/87.0.4280.88 Safari/537.36"}
{"ts":"2026-06-19T12:46:17+00:00","level":"info","event":"request","request_id":"8ea8678df4bff44de679ed2e24be58fc","method":"CLI","path":"/scripts/resend_recipient_unlock_email.php","query":"","status":200,"duration_ms":0,"ip":"171.25.193.46","ua":"Mozilla/5.0 (Macintosh; Intel Mac OS X 11_1) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/87.0.4280.88 Safari/537.36"}
