We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Version: PHP 8.0 TRACY 2.8
When using \Tracy\Dumper::toHtml($array) in snippet you cannot open 2nd level in array. There is an error in console Uncaught TypeError: dest is null
\Tracy\Dumper::toHtml($array)
Uncaught TypeError: dest is null
<div n:snippet="show_data"> {if $show_data} {\Tracy\Dumper::toHtml(['test' => ['x' => ['y' => ['z' => 'test']]]])|noescape} {/if} </div>
After redraw a snippet it render this:
If you click on arrow to expand 'x' key, there is an error in console log Uncaught TypeError: dest is null at this code:
If the same code is used out of the snippet, it works:
If using much bigger array with more depth even first level cannot be opend. Same error.
Thank you!
The text was updated successfully, but these errors were encountered:
As workaround you can turn off JS for dumping:
Tracy\Dumper::toHtml($var, [Tracy\Dumper::LAZY => false])
Sorry, something went wrong.
c85dacb
dumper.js: initializes lazy dumps on click [Closes #482]
8f09435
dbf409f
Thank you, workaround works.
8f280d3
No branches or pull requests
Version:
PHP 8.0
TRACY 2.8
Bug Description
When using
\Tracy\Dumper::toHtml($array)
in snippet you cannot open 2nd level in array. There is an error in consoleUncaught TypeError: dest is null
Steps To Reproduce
After redraw a snippet it render this:
If you click on arrow to expand 'x' key, there is an error in console log
Uncaught TypeError: dest is null
at this code:If the same code is used out of the snippet, it works:
If using much bigger array with more depth even first level cannot be opend. Same error.
Thank you!
The text was updated successfully, but these errors were encountered: