Fatal error: During inheritance of Iterator: Uncaught TYPO3\CMS\Core\Error\Exception: PHP Runtime Deprecation Notice: Return type of TYPO3\CMS\Core\Compatibility\LoadedExtensionsArray::current() should either be compatible with Iterator::current(): mixed, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /www/typo3shared/typo3_src-9.5.31/typo3/sysext/core/Classes/Compatibility/LoadedExtensionsArray.php line 142 in /www/typo3shared/typo3_src-9.5.31/typo3/sysext/core/Classes/Error/ErrorHandler.php:128
Stack trace:
#0 /www/typo3shared/typo3_src-9.5.31/typo3/sysext/core/Classes/Compatibility/LoadedExtensionsArray.php(22): TYPO3\CMS\Core\Error\ErrorHandler->handleError()
#1 /www/typo3shared/typo3_src-9.5.31/vendor/composer/ClassLoader.php(480): include('...')
#2 /www/typo3shared/typo3_src-9.5.31/vendor/composer/ClassLoader.php(346): Composer\Autoload\includeFile()
#3 /www/typo3shared/typo3_src-9.5.31/vendor/typo3/class-alias-loader/src/ClassAliasLoader.php(135): Composer\Autoload\ClassLoader->loadClass()
#4 /www/typo3shared/typo3_src-9.5.31/vendor/typo3/class-alias-loader/src/ClassAliasLoader.php(123): TYPO3\ClassAliasLoader\ClassAliasLoader->loadClass()
#5 /www/typo3shared/typo3_src-9.5.31/typo3/sysext/core/Classes/Package/PackageManager.php(309): TYPO3\ClassAliasLoader\ClassAliasLoader->loadClassWithAlias()
#6 /www/typo3shared/typo3_src-9.5.31/typo3/sysext/core/Classes/Package/PackageManager.php(150): TYPO3\CMS\Core\Package\PackageManager->initializeCompatibilityLoadedExtArray()
#7 /www/typo3shared/typo3_src-9.5.31/typo3/sysext/core/Classes/Core/Bootstrap.php(503): TYPO3\CMS\Core\Package\PackageManager->initialize()
#8 /www/typo3shared/typo3_src-9.5.31/typo3/sysext/core/Classes/Core/Bootstrap.php(112): TYPO3\CMS\Core\Core\Bootstrap::createPackageManager()
#9 /www/typo3shared/typo3_src-9.5.31/index.php(24): TYPO3\CMS\Core\Core\Bootstrap::init()
#10 /www/typo3shared/typo3_src-9.5.31/index.php(25): {closure}()
#11 {main} in /www/typo3shared/typo3_src-9.5.31/typo3/sysext/core/Classes/Compatibility/LoadedExtensionsArray.php on line 22