Bug #91651

FormViewhelper throws Exception on Serialization of Object

Added by Benjamin Butschell 17 days ago.

Status:
New
Priority:
Should have
Assignee:
-
Category:
Extbase
Target version:
-
Start date:
2020-06-16
Due date:
% Done:

0%

TYPO3 Version:
8
PHP Version:
7.4
Tags:
Complexity:
Is Regression:
Sprint Focus:

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.

Also available in: Atom PDF