Actions
Bug #105146
closedTYPO3\CMS\Fluid\ViewHelpers\Form\AbstractFormViewHelper::renderHiddenIdentityField(): Argument #1 ($object) must be of type ?object, array given
Status:
Closed
Priority:
Should have
Assignee:
-
Category:
Fluid
Target version:
-
Start date:
2024-09-26
Due date:
% Done:
100%
Estimated time:
TYPO3 Version:
12
PHP Version:
Tags:
Complexity:
Is Regression:
Yes
Sprint Focus:
Description
Hello,
Typo3 12.4.20 Fluid
In FormViewHelper the argument 'object' can be type 'mixed' but if you use an array you get
(1/1) TypeError
TYPO3\CMS\Fluid\ViewHelpers\Form\AbstractFormViewHelper::renderHiddenIdentityField(): Argument #1 ($object) must be of type ?object, array given, called in ***/vendor/typo3/cms-fluid/Classes/ViewHelpers/FormViewHelper.php on line 180
AbstractFormViewHelper the function requires object renderHiddenIdentityField(?object $object, ?string $name)
Ty
Actions