From 6c55b75616a4b82c53a41168959f101031718ff9 Mon Sep 17 00:00:00 2001 From: Derky Date: Sun, 28 Sep 2025 13:44:50 +0200 Subject: [PATCH] [ticket/17557] Add error suppression to avatars in storage_track migration PHPBB-17557 --- phpBB/phpbb/db/migration/data/v400/storage_track.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/phpBB/phpbb/db/migration/data/v400/storage_track.php b/phpBB/phpbb/db/migration/data/v400/storage_track.php index 7d2b4dec20..35ebda1239 100644 --- a/phpBB/phpbb/db/migration/data/v400/storage_track.php +++ b/phpBB/phpbb/db/migration/data/v400/storage_track.php @@ -98,7 +98,7 @@ class storage_track extends container_aware_migration $filename = $this->config['avatar_salt'] . '_' . ($avatar_group ? 'g' : '') . $filename . '.' . $ext; $files[] = [ 'file_path' => $filename, - 'filesize' => filesize($this->phpbb_root_path . $this->config['storage\\avatar\\config\\path'] . '/' . $filename), + 'filesize' => @filesize($this->phpbb_root_path . $this->config['storage\\avatar\\config\\path'] . '/' . $filename), ]; if (count($files) >= self::BATCH_SIZE)