#90565PageRenderer, Assetcollector - Serialization of Closure is not allowed
Description
When using the AssetCollector for media files (FILE objects), the PageRenderer can no longer be serialized (“Serialization of Closure is not allowed”).
To reproduce:
- Page with images to be rendered
- … with a COA_INT (or USER_INT) object
- open admin panel (this is just because the admin panel uses the asset collector)
Regression caused by https://review.typo3.org/c/Packages/TYPO3.CMS/+/63433 which adds the asset collector to the pageRenderer