Issue Bug Closed

#108202Configure Installation-Wide Options not working

Riccardo De Contardi 11/19/25, 16:23 updated 12/02/25, 11:48

Description

On latest main, if I try to access to

Install tool > Settings > Configure Installation-Wide Options

I get an error:

(1/1) ArgumentCountError
Too few arguments to function TYPO3\CMS\Fluid\ViewHelpers\Format\CropViewHelper::__construct(), 0 passed in /var/www/html/typo3/sysext/core/Classes/Utility/GeneralUtility.php on line 2814 and exactly 2 expected

My thanks to Guido Schmechel and Benjamin Franzke who found the culprit:

typo3/sysext/install/Resources/Private/Partials/Settings/LocalConfiguration/SubSection.fluid.html
Line 41:

{item.value -> f:format.crop(maxCharacters: 40, respectWordBoundaries:0, respectHtml:0)}

Reason: The viewhelper uses symfony DI while symfony DI is not available in this install tool context.
Caused by this change: https://review.typo3.org/c/Packages/TYPO3.CMS/+/91670/41/typo3/sysext/fluid/Classes/ViewHelpers/Format/CropViewHelper.php#46

Reviews 1