Issue Bug Closed

#103040Cache an extbase queryResult leads to "Serialization of 'Closure' is not allowed"

Bill Dagou 02/04/24, 16:40 updated 12/13/24, 17:58

Description

$this->cache->set('test', $this->repository->findAll());

will get the Serialization of 'Closure' is not allowed exception.

After some debugging, I found it was caused by the $getService property in /typo3temp/var/cache/code/di/DependencyInjectionContainer_XXXXXXXXXX.php, which was a auto-generated file.

BTW, This bug may relate to Bug #95899.

Reviews 0

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