-
-
Notifications
You must be signed in to change notification settings - Fork 142
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
With a twig error, blocks profiler KO Notice: unserialize(): Error at offset #652
Comments
Can you provide a PR with a bugfix @cbastienbaron ? |
Same issue here, I have no clue of the actual problem and how to solve it |
I guess it's related with #556 |
Is this still relevant? If so, what is blocking it? Is there anything you can do to help move it forward? This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
Environment
Sonata packages
Symfony packages
PHP version
Subject
When there is a twig error, an error occured when the profiler is retrieving data from blocks.
Steps to reproduce
generate a random twig error, undefined variable for example {{ noExist }}
Expected results
Get information about Sonata blocks from the page in the profiler.
Actual results
http://awesome.app/app_dev.php/_profiler/d6e0ef
is in error (500)when i comment https://github.com/sonata-project/SonataBlockBundle/blob/3.x/src/Profiler/DataCollector/BlockDataCollector.php#L53
profiler is ok
I guess it's link to php serialization https://wiki.php.net/rfc/custom_object_serialization
Someone has a clue ? tips / tricks ?
Thanks,
Sébastien
The text was updated successfully, but these errors were encountered: