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

Handle out of memory on serialization better #821

Open
othercorey opened this issue Mar 16, 2021 · 2 comments
Open

Handle out of memory on serialization better #821

othercorey opened this issue Mar 16, 2021 · 2 comments

Comments

@othercorey
Copy link
Member

Whenever there is a type that can't be serialized, ToolbarService throws a confusing out of memory fatal error.

Most users don't know what ToolbarService is trying to do which makes it hard to debug.

image

@othercorey othercorey added this to the 4.x milestone Mar 16, 2021
@tbelknapsgs
Copy link

It is extremely confusing! In fact, the DebugKit itself needs some debugging work: any time it gets data it doesn't understand it seems to dump with an error. For example: I incorrectly formatted my Entity class's $_virtual array (I thought it was supposed to look like the $_accessible array) and I got error messages from DebugKit about an Entity formatting issue but it took forever to figure out that it was DebugKit, not CakePHP proper, choking on my error.

Copy link

This issue is stale because it has been open for 120 days with no activity. Remove the stale label or comment or this will be closed in 15 days

@github-actions github-actions bot added the stale label Aug 10, 2024
@othercorey othercorey added pinned and removed stale labels Aug 10, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants