Skip to content

The use of IconRegistry within ext_localconf.php is deprecated #50

@websi

Description

@websi

The usage of the Icon Registry should be migrated: https://docs.typo3.org/c/typo3/cms-core/main/en-us/Changelog/13.3/Deprecation-104778-InstantiationOfIconRegistryInExtLocalconf.html

{"time":"Wed, 21 Jan 2026 13:10:59 +0100","severity":"notice","message":"Core: Error handler (BE): TYPO3 Deprecation Notice: Instantiating \\TYPO3\\CMS\\Core\\Imaging\\IconRegistry in ext_localconf.php should be replaced by either Configuration\/Icons.php or by listening to \\TYPO3\\CMS\\Core\\Core\\Event\\BootCompletedEvent in \/var\/www\/html\/vendor\/typo3\/cms-core\/Classes\/ServiceProvider.php line 383","component":"TYPO3.CMS.deprecations","source":"typo3","typo3_request_id":"5e20850aaa60f","context":[],"command_line":"vendor\/bin\/typo3 cache:flush --no-interaction"}

$iconRegistry = \TYPO3\CMS\Core\Utility\GeneralUtility::makeInstance(\TYPO3\CMS\Core\Imaging\IconRegistry::class);
$iconRegistry->registerIcon(
'Friendlycaptcha-icon',
\TYPO3\CMS\Core\Imaging\IconProvider\SvgIconProvider::class,
['source' => 'EXT:friendlycaptcha_official/Resources/Public/Icons/Captcha-icon.svg']
);

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions