#91364Extbase/CachingFramework - Serialization on 'Closure' is not allowed
Description
Hi,
I recently updated an Instance from 9.5 to 10.4.1.
Since then I receive the Error (see attached screen), in our showProduct action.
This seems to be related to the Domain Model Object (cause if this is not part of the $items array the serialization works).
I already tried to handle this via a json_encode but with this I’ll loose all relations (and especially this makes it required to cache the product object in cache).
I also tried to store the whole view in the cache which leads to the exact same error.
Important steps that happened:
- Updated whole Controller to use Symfony DI
- Updated Extension Config (registerPlugin/Module)
Any suggestion or hint would help.
Reviews 3
Related issues 4
- Bug #91196Exception for FileUpload field in multi-step forms
- Bug #91387Relax constraints on serializing objects
- Bug #91664TYPO3 9.5 "Cannot unserialize TYPO3\CMS\Core\Locking\FileLockStrategy" during cache reading
- Bug #95899Try to cache an extbase queryResult leads to "Serialization of 'Closure' is not allowed"