Closed cbastienbaron closed 4 years ago
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 https://github.com/sonata-project/SonataBlockBundle/issues/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