- Issue created by @johnv
- π³π±Netherlands johnv
Adding some core issues.
This is a list of Drupal core issues with LogicException β
This is a list of Drupal core issues with DependencySerializationTrait β
This is a list of contrib classes implementing DependencySerializationTrait - π³πΏNew Zealand quietone
@johnv, thanks for organizing the work on this problem!
Moving "[meta]" to the begining of the title per Special issue titles β .
- π¬π§United Kingdom alexpott πͺπΊπ
@johnv I have tried the steps to reproduce and I can not make it happen. I think this is an important bug to fix but we need to understand the root cause. Ie what is causing the LocaleLookup to be serialized. Just you make your instructions to reproduce even clearer. Here are some questions I have:
- Are you starting from Standard?
- Do you have other contrib installed?
- What is the contrib field module you are using? I tried Address and it worked perfectly.
- π³π±Netherlands johnv
@alexpott, please see my response in #2987548-43: LogicException: The database connection is not serializable. β with a test case using only the office_hours contrib module, hitting an AJAX button.
- Status changed to Closed: duplicate
14 days ago 9:57am 23 June 2025 - π¬π§United Kingdom alexpott πͺπΊπ
I think we might have finally fixed a large number of these with the commit of π LogicException: The database connection is not serializable. Postponed: needs info - contrib and custom code won't need to be updated once a site is on 10.5 or 11.2 (once they have bug fix releases) will be fixed. Going to close this issue as a duplicate.
@johnv thanks for all the effort over the years tracking this one.