=========================================== 🔄 FORZAR AUTO-DISCOVERY OCURRENCIA #1138 =========================================== 📋 Ocurrencia ID: 1138 📋 External ID: AGT-001220 📋 DNI Sereno: 48883953 📊 ESTADO ANTES: ------------------------------------------- Ocurrencias
Internal Server Error

TypeError

force_sync_1138.php:35

json_decode(): Argument #1 ($json) must be of type string, array given

LARAVEL 12.38.1
PHP 8.4.18
UNHANDLED
CODE 0
500
GET
https://ocurrencias.valcoza.net.pe

Exception trace

force_sync_1138.php
force_sync_1138.php:35
30echo "📋 DNI Sereno: {$ocurrenciaModel->dni_sereno}\n\n";3132// Mostrar estado ANTES33echo "📊 ESTADO ANTES:\n";34echo "-------------------------------------------\n";35$mulUrlRemoto = json_decode($ocurrenciaModel->mul_url_remoto, true) ?? [];36echo "📸 URLs en mul_url_remoto: " . count($mulUrlRemoto) . "\n";37foreach ($mulUrlRemoto as $url) {38    $tipo = strpos($url, '/fotos/') !== false ? '📸' : (strpos($url, '/videos/') !== false ? '🎥' : '🎵');39    echo "   {$tipo} {$url}\n";40}41echo "\n";4243// Ejecutar sync44echo "🔄 EJECUTANDO AUTO-DISCOVERY...\n";45echo "-------------------------------------------\n";4647
force_sync_1138.php
force_sync_1138.php:35
30echo "📋 DNI Sereno: {$ocurrenciaModel->dni_sereno}\n\n";3132// Mostrar estado ANTES33echo "📊 ESTADO ANTES:\n";34echo "-------------------------------------------\n";35$mulUrlRemoto = json_decode($ocurrenciaModel->mul_url_remoto, true) ?? [];36echo "📸 URLs en mul_url_remoto: " . count($mulUrlRemoto) . "\n";37foreach ($mulUrlRemoto as $url) {38    $tipo = strpos($url, '/fotos/') !== false ? '📸' : (strpos($url, '/videos/') !== false ? '🎥' : '🎵');39    echo "   {$tipo} {$url}\n";40}41echo "\n";4243// Ejecutar sync44echo "🔄 EJECUTANDO AUTO-DISCOVERY...\n";45echo "-------------------------------------------\n";4647

Queries

mysql
select * from `ocurrencias` where `id` = 1138 limit 1
3.66ms
mysql
select * from `ocurrencias` where `ocurrencias`.`id` = 1138 and `ocurrencias`.`deleted_at` is null limit 1
1.28ms

Headers

host
ocurrencias.valcoza.net.pe
user-agent
Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)
accept
*/*
accept-language
en-us,en;q=0.5
accept-charset
ISO-8859-1,utf-8;q=0.7,*;q=0.7
x-https
1
accept-encoding
gzip, br, zstd, deflate

Body

// No request body

Routing

// No routing context

Routing parameters

// No routing parameters