=========================================== 🔍 VERIFICAR mul_url_remoto ACTUAL =========================================== 📊 Estado actual en BD: -------------------------------------------
count(): Argument #1 ($value) must be of type Countable|array, null given
check_bd_1138.php1516$mulUrlRemoto = json_decode($ocurrencia->mul_url_remoto, true);1718echo "📊 Estado actual en BD:\n";19echo "-------------------------------------------\n";20echo "mul_url_remoto tiene " . count($mulUrlRemoto) . " archivo(s):\n\n";2122foreach ($mulUrlRemoto as $url) {23 $tipo = strpos($url, '/fotos/') !== false ? '📸' : (strpos($url, '/videos/') !== false ? '🎥' : '🎵');24 echo "{$tipo} {$url}\n";25 26 // Verificar físicamente27 if (str_starts_with($url, '/storage/')) {28 $relativePath = str_replace('/storage/', '', $url);29 $fullPath = storage_path('app/public/' . $relativePath);30 31 if (file_exists($fullPath)) {32select * from `ocurrencias` where `id` = 1138 limit 1