Do not use igbinary for cache, as it is causing excpetions with the doctrine proxies

This commit is contained in:
Jan Böhmer 2023-04-17 00:55:41 +02:00
parent 7baad04e39
commit 1a21a3ed42

View file

@ -244,6 +244,13 @@ services:
tags: tags:
- {name: serializer.normalizer, priority: -9000} - {name: serializer.normalizer, priority: -9000}
# Disable igbinary serialization for cache even when igbinary is available, as it causes issues with the doctrine
# proxy objects (see https://github.com/igbinary/igbinary/issues/377 and https://github.com/igbinary/igbinary/issues/273)
cache.default_marshaller:
class: Symfony\Component\Cache\Marshaller\DefaultMarshaller
arguments:
$useIgbinarySerialize: false
#################################################################################################################### ####################################################################################################################
# Miscellaneous # Miscellaneous