TYPO3-Headless / headless

TYPO3 Headless JSON API providing content for PWA application (e.g. javaScript apps like nuxt-typo3)
https://t3headless.io
GNU General Public License v2.0
160 stars 61 forks source link

Headless 4.4.0 is incompatible with TYPO3 12.4.21 #784

Closed thomashohn closed 1 month ago

thomashohn commented 1 month ago

Describe the bug Updated to TYPO3 12.4.21 and headless creashes

To Reproduce Steps to reproduce the behavior: Load site

Expected behavior Headless should work

Screenshots Fatal error: Declaration of FriendsOfTYPO3\Headless\ViewHelpers\LoginFormViewHelper::renderHiddenIdentityField(?object $object, ?string $name): string must be compatible with TYPO3\CMS\Fluid\ViewHelpers\Form\AbstractFormViewHelper::renderHiddenIdentityField(mixed $object, ?string $name): string in /Volumes/dev/repos/systime_internetbook_bundle_v12/vendor/friendsoftypo3/headless/Classes/ViewHelpers/LoginFormViewHelper.php on line 211

TYPO3 version and TYPO3 Headless version 4.4.0 and TYPO3 12.4.21

Additional context Add any other information related to the problem here.

thomashohn commented 1 month ago

Close via identical PR

skranzusch commented 1 month ago

The exact same error also occures in FriendsOfTYPO3\HeadlessPowermail\ViewHelpers\FormViewHelper::renderHiddenIdentityField