diff --git a/src/Bundle/ChillMainBundle/migrations/Version20250404123326.php b/src/Bundle/ChillMainBundle/migrations/Version20250404123326.php index 9eee4c74b..84330385e 100644 --- a/src/Bundle/ChillMainBundle/migrations/Version20250404123326.php +++ b/src/Bundle/ChillMainBundle/migrations/Version20250404123326.php @@ -31,7 +31,7 @@ final class Version20250404123326 extends AbstractMigration $result = $this->connection->executeQuery('SELECT id, options FROM chill_main_saved_export'); foreach ($result->iterateAssociative() as $row) { - $options = json_decode($row['options'], true, 512, JSON_THROW_ON_ERROR); + $options = json_decode((string) $row['options'], true, 512, JSON_THROW_ON_ERROR); $this->addSql( 'UPDATE chill_main_saved_export SET options = :new_options WHERE id = :id', ['id' => $row['id'], 'new_options' => SavedExportOptionsMigrator::migrate($options)],