-
Notifications
You must be signed in to change notification settings - Fork 178
"Serialization of 'Closure' is not allowed" error when trying to login in CMS #3278
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
Comments
I'm not able to reproduce this, just yet. What CT are you using, exactly? I'm trying with: dummies:
name: Dummies
singular_name: Dummy
fields:
title:
type: text
slug:
type: slug
uses: title
collectie:
type: collection
fields:
set:
label: My set
type: set
fields:
name:
type: text
label: My name
multiselect:
label: My turtle
type: select
values: [ A-tuin, Donatello, Rafael, Leonardo, Michelangelo, Koopa, Squirtle ]
multiple: true
icon_many: "fa:viruses"
icon_one: "fa:virus" I've tried both MySQL and SQLite and both with and without Fixtures added to the newly created DB. Do you have more details on how to reproduce this? |
I've been trying to reproduce, but no dice yet. I'mma leave this open until more info is available. |
I think this occurs if you update a project that used an older version before, but thats just a guess. |
@bobdenotter when I just tested your update to the 5.2 beta branch and wanted to click on the dashboard I get this error too. I performed a checkout to your branch. Ran composer install. The composer install ran fine with no issues. |
I can confirm that changing the value of I am unsure whether or not to create a new issue for this, as I did not install a new project I just switched branches albeit an internal one. The only noteworthy thing is that I switched branches from Bolt 5.1.10 to the internal 5.2 beta branch (perhaps upgrading to the latest maintenance release will not cause this issue). |
This just happened to me as well, yesterday the issue didn't occur but today it did. Setting the value |
Can confirm this now happens to me following update to tagged release 5.1.12 - not the beta branch. Turning off caching for the content_array also allows my dashboard to load. Not sure whether this is related, but trying to manually refresh the Symfony cache through the cli also produces these warnings:
So it seems like there might be something strange afoot with serialization. |
It seems like the issue is solved for me on version 5.2 |
This error appears after creating a new MySQL db for a project, which has a contenttype including a
collectection
with aset
.Details
Reproduction
Bug summary
content_array
setting inconfig.yaml
. When set to0
, the error is solved.Steps to reproduce
bin/console bolt:setup
contenttype
which hascollection' with a
set`The text was updated successfully, but these errors were encountered: