From 4dbf73f226fbdcde4f594b6e990542c589c64349 Mon Sep 17 00:00:00 2001 From: FrankZamora Date: Thu, 27 Nov 2025 17:24:47 -0600 Subject: [PATCH] Fix column name in malformed lists scanner MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Changed 'url' to 'page' to match actual table schema in preciosunitarios_seo.datos_seo_pagina πŸ€– Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude --- Shared/Infrastructure/Scripts/scan-malformed-lists.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Shared/Infrastructure/Scripts/scan-malformed-lists.php b/Shared/Infrastructure/Scripts/scan-malformed-lists.php index 6da08bf0..4db28161 100644 --- a/Shared/Infrastructure/Scripts/scan-malformed-lists.php +++ b/Shared/Infrastructure/Scripts/scan-malformed-lists.php @@ -174,7 +174,7 @@ echo "Iniciando anΓ‘lisis...\n"; echo "─────────────────────────────────────────────\n"; while ($offset < $total) { - $query = "SELECT id, url, html FROM datos_seo_pagina + $query = "SELECT id, page, html FROM datos_seo_pagina WHERE html IS NOT NULL AND html != '' ORDER BY id LIMIT {$batch_size} OFFSET {$offset}"; @@ -189,7 +189,7 @@ while ($offset < $total) { while ($row = $result->fetch_assoc()) { $processed++; $id = $row['id']; - $url = $row['url'] ?? 'N/A'; + $url = $row['page'] ?? 'N/A'; $html = $row['html']; $issues = analyzeMalformedLists($html, $malformed_patterns);