Issue Bug Closed

#105589TypeError on saving site settings in editor

Lina Wolf 11/13/24, 12:58 updated 12/02/25, 14:33

Description

TypeError
TYPO3\CMS\Core\Settings\Type\IntType::transformValue(): Return value must be of type int, null returned

in /var/www/html/vendor/typo3/cms-core/Classes/Settings/Type/IntType.php line 50
at TYPO3\CMS\Core\Settings\Type\IntType->transformValue(‘NaN’, object(TYPO3\CMS\Core\Settings\SettingDefinition))
in /var/www/html/vendor/typo3/cms-core/Classes/Site/SiteSettingsService.php line 96

Reviews 4

Files 2

History 59

  1. Lina Wolf commented <span data-processor="relativetime" data-value="2024-11-13T12:59:00+00:00" > 11/13/24, 12:59 </span>

    For some reason NAN seems to be passed: TYPO3\CMS\Core\Settings\Type\IntType->transformValue(‘NaN’, object(TYPO3\CMS\Core\Settings\SettingDefinition))

  2. Lina Wolf commented and changed attached Bug105589.patch attached settings.definitions.yaml <span data-processor="relativetime" data-value="2024-11-13T13:14:42+00:00" > 11/13/24, 13:14 </span>

    This solves it for me. The attached settings definition caused this, found at https://codeberg.org/sjbr/static-info-tables/commit/34d515f4f6

  3. Oliver Bartsch commented and changed status Under Review Resolved done 0 % 100 % <span data-processor="relativetime" data-value="2024-11-21T14:45:11+00:00" > 11/21/24, 14:45 </span>

    Applied in changeset commit:3d09cf3ade7a09c745c05849f8efdab49ac02fc0.