Issue Bug Closed

#91364Extbase/CachingFramework - Serialization on 'Closure' is not allowed

Carsten Hülsmann 05/12/20, 11:12 updated 08/27/26, 19:52

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