-
Notifications
You must be signed in to change notification settings - Fork 451
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
Serialization of 'Closure' is not allowed #11226
Comments
Without additional context I'm not sure how we could begin to solve and/or close this issue. |
Agreed. I have been reading code hoping to find an object serialized into a session that contains a lambda fn. No luck so far. |
@JohntheFish any chance you might find a correlation between the time of these errors and emails being sent or cron jobs running? |
That is the line of investigation I am currently following. With the previous issues you noted in mind I am also asking site editors about updating language trees and scanning for translations. Session is the top suspect because the php log notes session_write_close(), with cache as a runner up suspect. |
I supposed you already noticed but the siteTree only gets a value in the Page object if getSiteTreeObject() is called. That method can be called directly but is also called by the public getSite() method. So maybe, look for block templates, especially those overriding the block's controller and using any of these 2 methods on a Page object? And since Doctrine proxies are full of Closures maybe regenerate your DB entities? That's all I can think of at the moment... |
Affected Version of Concrete CMS
8.5.x
Description
In an 8.5.12 site, Php error log is showing occasional bursts of
How to reproduce
I wish I knew...
Additional Context
This may coincide with busy times. So could be load related. Or it could be that random events are more likely when the site is busy.
The text was updated successfully, but these errors were encountered: