Issue Bug Closed

#91651FormViewhelper throws Exception on Serialization of Object

Benjamin Butschell 06/16/20, 10:23 updated 06/20/24, 08:43

Description

The Form Viewhelper throws an Exception when trying to serialize an object. This exception only occurs in PHP 7.4.

Serialization of 'TYPO3\CMS\Extbase\Reflection\MethodReflection' is not allowed

Exception thrown in file
/app/public/typo3/sysext/fluid/Classes/ViewHelpers/FormViewHelper.php in line 266.

In Line 266 the arguments of the request are being serialized. In my case, the arguments contain 3 objects and an action name. Without the objects the serialization works.

Reviews 0

No change resolves or names this issue in its commit message, and no comment links one.