Index: web/typo3/sysext/core/Classes/Utility/GeneralUtility.php IDEA additional info: Subsystem: com.intellij.openapi.diff.impl.patch.CharsetEP <+>UTF-8 =================================================================== diff --git a/Classes/Utility/GeneralUtility.php b/Classes/Utility/GeneralUtility.php --- a/Classes/Utility/GeneralUtility.php +++ b/Classes/Utility/GeneralUtility.php (date 1660293432340) @@ -2313,7 +2313,12 @@ } else { $mode = $GLOBALS['TYPO3_CONF_VARS']['BE']['versionNumberInFilename']; } - if ($doNothing || !file_exists($path)) { + $fileExists = false; + try { + $fileExists = file_exists($path); + } catch (\TYPO3\CMS\Core\Error\Exception $e) { + } + if ($doNothing || !$fileExists) { // File not found, return filename unaltered $fullName = $file; } else {