Deprecation: #94252 - Deprecated GeneralUtility::compileSelectedGetVarsFromArray

See Issue #94252


In our effort to reduce usages of GeneralUtility::_GP(), the GeneralUtility method compileSelectedGetVarsFromArray is deprecated, since it internally calls GeneralUtility::_GP() instead of accessing the PSR-7 Request. The method was furthermore only used once in the core since it’s internal logic can easily be implemented on a case by case basis.


Calling the method will log a deprecation warning and the method will be dropped with TYPO3 v12.

Affected Installations

All TYPO3 installations calling this method in custom code. The extension scanner will find all usages as strong match.


All usages of the method in custom extension code have to be replaced with a custom implementation, preferably using the PSR-7 Request.

See: EditDocumentController->compileStoreData() for an example on how such migration could look like.