diff --git a/core/Migrations/Version32000Date20250731062008.php b/core/Migrations/Version32000Date20250731062008.php index f7838603e7d..46c6d1ebdfe 100644 --- a/core/Migrations/Version32000Date20250731062008.php +++ b/core/Migrations/Version32000Date20250731062008.php @@ -60,7 +60,7 @@ class Version32000Date20250731062008 extends SimpleMigrationStep { $duplicateCount = 0; try { - while ($category = $result->fetchAssociative()) { + while ($category = $result->fetch() !== false) { $key = $category['uid'] . '|' . $category['type'] . '|' . $category['category']; $categoryId = (int)$category['id'];