Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix caching #652

Open
zonky2 opened this issue Sep 25, 2024 · 1 comment
Open

Fix caching #652

zonky2 opened this issue Sep 25, 2024 · 1 comment
Assignees
Labels
Milestone

Comments

@zonky2
Copy link
Contributor

zonky2 commented Sep 25, 2024

Currently caching doesn't works - see error

PHP Warning: Failed to save key "c86023c00f02b24d09af39d643969cd4" of type ContaoCommunityAlliance\DcGeneral\DcGeneral: Serialization of 'Closure' is not allowed in /project/vendor/symfony/cache/CacheItem.php on line 161

@zonky2 zonky2 added the bug label Sep 25, 2024
@zonky2 zonky2 added this to the 2.3.24 milestone Sep 25, 2024
@discordier
Copy link
Member

Note to self:

The DcGeneral Factory must be reverted to use an ArrayCache for instances of DcGeneral but must use the configured stored cache to cache the instance of the Definition container instead (which should be serializable).

@zonky2 zonky2 modified the milestones: 2.3.24, 2.3.25 Oct 14, 2024
@zonky2 zonky2 modified the milestones: 2.3.25, 2.3.26 Dec 5, 2024
@zonky2 zonky2 modified the milestones: 2.3.26, 2.3.27 Dec 24, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants